summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2021-02-05 10:48:20 -0600
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2021-02-05 10:48:20 -0600
commit03dc8cb339961496e75d7cdf91b08c5196bd21a8 (patch)
treeb41be806143fbf16e6a197f6e3b32b48d824d206 /jjb
parent8e5c6808aca61eb59bcd5a7726facf40cefb9b97 (diff)
Remove JVPP jobs
The JVPP project has been archived. This patch is to remove existing jobs. Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: I6419cae90d3d5eaf49726318ad4c0d96498c71c4
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/jvpp/include-raw-jvpp-build.sh57
-rwxr-xr-xjjb/jvpp/include-raw-jvpp-maven-push.sh44
-rwxr-xr-xjjb/jvpp/include-raw-jvpp-packetcloud-push.sh26
-rw-r--r--jjb/jvpp/jvpp.yaml199
4 files changed, 0 insertions, 326 deletions
diff --git a/jjb/jvpp/include-raw-jvpp-build.sh b/jjb/jvpp/include-raw-jvpp-build.sh
deleted file mode 100755
index 3ccc97e09..000000000
--- a/jjb/jvpp/include-raw-jvpp-build.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/bash
-# basic build script example
-set -xe -o pipefail
-
-OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
-OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
-
-echo OS_ID: ${OS_ID}
-echo OS_VERSION_ID: ${OS_VERSION_ID}
-
-# do nothing but print the current slave hostname
-hostname
-export CCACHE_DIR=/tmp/ccache
-if [[ -d ${CCACHE_DIR} ]];then
- echo ${CCACHE_DIR} exists
- du -sk ${CCACHE_DIR}
-else
- echo ${CCACHE_DIR} does not exist. This must be a new slave.
-fi
-
-echo "cat /etc/bootstrap.sha"
-if [[ -f /etc/bootstrap.sha ]];then
- cat /etc/bootstrap.sha
-else
- echo "Cannot find cat /etc/bootstrap.sha"
-fi
-
-echo "cat /etc/bootstrap-functions.sha"
-if [[ -f /etc/bootstrap-functions.sha ]];then
- cat /etc/bootstrap-functions.sha
-else
- echo "Cannot find cat /etc/bootstrap-functions.sha"
-fi
-
-echo "sha1sum of this script: ${0}"
-sha1sum $0
-
-echo "CC=${CC}"
-
-echo "Building using \"make package\""
-# ensure that we build from scratch
-./clean.sh
-[[ "x${DRYRUN}" == "xTrue" ]] || cd Requirements && make UNATTENDED=yes install-dep && cd ..
-[[ "x${DRYRUN}" == "xTrue" ]] || pwd
-if [[ "${OS_ID}" == "centos" ]]; then
- [[ "x${DRYRUN}" == "xTrue" ]] || /opt/rh/devtoolset-7/enable
- [[ "x${DRYRUN}" == "xTrue" ]] || cmake3 . -DCMAKE_PROGRAM_PATH:PATH="/opt/rh/devtoolset-7/root/bin"
-else
- [[ "x${DRYRUN}" == "xTrue" ]] || cmake .
-fi
-
-[[ "x${DRYRUN}" == "xTrue" ]] || make package
-# This will build deb or rpm JVPP package based on OS. Built packages are located in build-root/packages/
-
-echo "*******************************************************************"
-echo "* JVPP BUILD SUCCESSFULLY COMPLETED"
-echo "*******************************************************************"
diff --git a/jjb/jvpp/include-raw-jvpp-maven-push.sh b/jjb/jvpp/include-raw-jvpp-maven-push.sh
deleted file mode 100755
index 9b0c517ad..000000000
--- a/jjb/jvpp/include-raw-jvpp-maven-push.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-set -xe -o pipefail
-echo "*******************************************************************"
-echo "* STARTING PUSH OF JVPP PACKAGES TO REPOS"
-echo "* NOTHING THAT HAPPENS BELOW THIS POINT IS RELATED TO BUILD FAILURE"
-echo "*******************************************************************"
-
-[[ "$MVN" ]] || MVN="/opt/apache/maven/bin/mvn"
-GROUP_ID="io.fd.${PROJECT}"
-BASEURL="${NEXUSPROXY}/content/repositories/fd.io."
-BASEREPOID='fdio-'
-
-if [[ "${OS}" == "ubuntu1604" ]]; then
- # Find the files
- DEBS=$(find ./build-root/packages/ -type f -iname '*.deb')
-
- for i in ${DEBS}
- do
- push_deb "$i"
- done
-elif [[ "${OS}" == "ubuntu1804" ]]; then
- # Find the files
- JARS=$(find ./java -type f -iname '*.jar')
- DEBS=$(find ./build-root/packages/ -type f -iname '*.deb')
- for i in ${JARS}
- do
- push_jar "$i"
- done
-
- for i in ${DEBS}
- do
- push_deb "$i"
- done
-elif [[ "${OS}" == "centos7" ]]; then
- # Find the files
- RPMS=$(find ./build-root/packages/ -type f -iname '*.rpm')
- SRPMS=$(find ./build-root/packages/ -type f -iname '*.srpm')
- SRCRPMS=$(find ./build-root/packages/ -type f -name '*.src.rpm')
- for i in ${RPMS} ${SRPMS} ${SRCRPMS}
- do
- push_rpm "$i"
- done
-fi
-# vim: ts=4 sw=4 sts=4 et ft=sh :
diff --git a/jjb/jvpp/include-raw-jvpp-packetcloud-push.sh b/jjb/jvpp/include-raw-jvpp-packetcloud-push.sh
deleted file mode 100755
index 2917606cc..000000000
--- a/jjb/jvpp/include-raw-jvpp-packetcloud-push.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-# PCIO_CO is a Jenkins Global Environment variable
-
-set -x
-
-echo "STARTING JVPP PACKAGECLOUD PUSH"
-
-sleep 10
-
-FACTER_OS=$(/usr/bin/facter operatingsystem)
-
-if [ -f ~/.packagecloud ]; then
- case "$FACTER_OS" in
- Ubuntu)
- FACTER_LSBNAME=$(/usr/bin/facter lsbdistcodename)
- DEBS=$(find ./build-root/packages/ -type f -iname '*.deb')
- package_cloud push "${PCIO_CO}/${STREAM}/ubuntu/${FACTER_LSBNAME}/main/" ${DEBS}
- ;;
- CentOS)
- FACTER_OSMAJREL=$(/usr/bin/facter operatingsystemmajrelease)
- FACTER_ARCH=$(/usr/bin/facter architecture)
- RPMS=$(find ./build-root/packages/ -type f -iregex '.*/.*\.\(s\)?rpm')
- package_cloud push "${PCIO_CO}/${STREAM}/el/${FACTER_OSMAJREL}/os/${FACTER_ARCH}/" ${RPMS}
- ;;
- esac
-fi
diff --git a/jjb/jvpp/jvpp.yaml b/jjb/jvpp/jvpp.yaml
deleted file mode 100644
index 034f67f8b..000000000
--- a/jjb/jvpp/jvpp.yaml
+++ /dev/null
@@ -1,199 +0,0 @@
----
-- project:
- name: jvpp
- jobs:
- - 'jvpp-verify-{stream}-{os}'
- - 'jvpp-merge-{stream}-{os}'
- project: 'jvpp'
- os:
- - ubuntu1604:
- repo-os-part: 'ubuntu.xenial.main'
- skip-site: 'false'
- skip-jar-deploy: 'true'
- vpp-job-prefix: ''
- - ubuntu1804:
- repo-os-part: 'ubuntu.bionic.main'
- skip-site: 'false'
- skip-jar-deploy: 'false'
- vpp-job-prefix: 'beta-'
- - centos7:
- repo-os-part: 'centos7'
- skip-site: 'true'
- skip-jar-deploy: 'true'
- vpp-job-prefix: ''
- stream:
- - master:
- branch: 'master'
- repo-stream-part: 'master'
- - '1904':
- branch: 'stable/1904'
- repo-stream-part: 'stable.1904'
-
-- project:
- name: jvpp-view
- views:
- - project-view
- project-name: jvpp
-
-- job-template:
- name: 'jvpp-verify-{stream}-{os}'
-
- project-type: freestyle
- node: '{os}-us'
- concurrent: true
- archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
-
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - os-parameter:
- os: '{os}'
- - repo-name-parameter:
- repo-name: '{repo-stream-part}.{repo-os-part}'
- - stream-parameter:
- stream: '{stream}'
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: 'jenkins-gerrit-credentials'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- wrappers:
- - fdio-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit-trigger-patch-submitted:
- name: '{project}'
- branch: '{branch}'
-
- builders:
- - lf-update-java-alternatives:
- java-version: openjdk11
- - shell:
- !include-raw-escape:
- - ../scripts/setup_jvpp_dev_env.sh
- - include-raw-jvpp-build.sh
-
- publishers:
- - lf-infra-publish
- - naginator:
- rerun-unstable-builds: false
- max-failed-builds: 2
- fixed-delay: 90
- - email-notification:
- email-prefix: '[jvpp]'
-
-- job-template:
- name: 'jvpp-merge-{stream}-{os}'
-
- project-type: freestyle
- node: '{os}-us'
-
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: 100
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - os-parameter:
- os: '{os}'
- - maven-project-parameter:
- maven: 'mvn36'
- - maven-exec:
- maven-version: 'mvn36'
- - stream-parameter:
- stream: '{stream}'
- - repo-name-parameter:
- repo-name: '{repo-stream-part}.{repo-os-part}'
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: 'jenkins-gerrit-credentials'
- refspec: ''
- choosing-strategy: 'default'
-
- wrappers:
- - fdio-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit-trigger-patch-merged:
- name: '{project}'
- branch: '{branch}'
- - reverse:
- jobs: 'vpp-{vpp-job-prefix}merge-{stream}-{os}'
- result: 'success'
-
- builders:
- - lf-update-java-alternatives:
- java-version: openjdk11
- - config-file-provider:
- files:
- - file-id: '.packagecloud'
- target: '/root'
- - config-file-provider:
- files:
- - file-id: 'packagecloud_api'
- target: '/root'
- - maven-target:
- maven-version: 'mvn36'
- goals: '--version'
- settings: 'jvpp-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - shell:
- !include-raw-escape:
- - ../scripts/setup_jvpp_dev_env.sh
- - include-raw-jvpp-build.sh
- - provide-maven-settings:
- settings-file: 'jvpp-settings'
- global-settings-file: 'global-settings'
- - shell:
- !include-raw-escape:
- - ./include-raw-jvpp-packetcloud-push.sh
- - shell:
- !include-raw-escape:
- - ../scripts/maven_push_functions.sh
- - include-raw-jvpp-maven-push.sh
-
- publishers:
- - lf-infra-publish
- - naginator:
- rerun-unstable-builds: false
- max-failed-builds: 1
- fixed-delay: 90
- - email-notification:
- email-prefix: '[jvpp]'
-
-- project:
- name: jvpp-info
- project-name: jvpp
- jobs:
- - gerrit-info-yaml-verify
- build-node: centos7-builder-4c-4g
- project: jvpp
- branch: master