From 1c01372a3ddefe84ea755c17347e4ca760af9c1b Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Thu, 3 Dec 2020 15:38:16 -0600 Subject: Remove Sweetcomb jobs The Sweetcomb project has been archived. This patch is to remove existing jobs. Signed-off-by: Vanessa Rene Valderrama Change-Id: Ic9d5d0d351767481c07ac27c1765160ed635228a --- jjb/sweetcomb/include-raw-sweetcomb-build.sh | 54 ----- jjb/sweetcomb/include-raw-sweetcomb-checkstyle.sh | 7 - jjb/sweetcomb/include-raw-sweetcomb-test.sh | 25 -- jjb/sweetcomb/sweetcomb.yaml | 273 ---------------------- 4 files changed, 359 deletions(-) delete mode 100644 jjb/sweetcomb/include-raw-sweetcomb-build.sh delete mode 100644 jjb/sweetcomb/include-raw-sweetcomb-checkstyle.sh delete mode 100644 jjb/sweetcomb/include-raw-sweetcomb-test.sh delete mode 100644 jjb/sweetcomb/sweetcomb.yaml (limited to 'jjb') diff --git a/jjb/sweetcomb/include-raw-sweetcomb-build.sh b/jjb/sweetcomb/include-raw-sweetcomb-build.sh deleted file mode 100644 index 639d7fd5e..000000000 --- a/jjb/sweetcomb/include-raw-sweetcomb-build.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash -# basic build script example -set -xe -o pipefail - -##container server node detection -grep search /etc/resolv.conf || true - -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 - -function setup { - if ! [ -z ${REPO_NAME} ]; then - echo "INSTALLING VPP-DPKG-DEV from apt/yum repo" - REPO_URL="https://packagecloud.io/fdio/${STREAM}" - echo "REPO_URL: ${REPO_URL}" - # Setup by installing vpp-dev and vpp-lib - if [ "$OS_ID" == "ubuntu" ]; then - if [ -f /etc/apt/sources.list.d/99fd.io.list ];then - echo "Deleting: /etc/apt/sources.list.d/99fd.io.list" - sudo rm /etc/apt/sources.list.d/99fd.io.list - fi - if [ -f /etc/apt/sources.list.d/fdio_master.list ];then - echo "Deleting: /etc/apt/sources.list.d/fdio_master.list" - sudo rm /etc/apt/sources.list.d/fdio_master.list - fi - curl -s https://packagecloud.io/install/repositories/fdio/${STREAM}/script.deb.sh | sudo bash - elif [ "$OS_ID" == "centos" ]; then - if [ -f /etc/yum.repos.d/fdio-master.repo ]; then - echo "Deleting: /etc/yum.repos.d/fdio-master.repo" - sudo rm /etc/yum.repos.d/fdio-master.repo - fi - if [ -f /etc/yum.repos.d/fdio_master.repo ]; then - echo "Deleting: /etc/yum.repos.d/fdio_master.repo" - sudo rm /etc/yum.repos.d/fdio_master.repo - fi - curl -s https://packagecloud.io/install/repositories/fdio/${STREAM}/script.rpm.sh | sudo bash - fi - fi -} - -setup - -echo "Building using \"make build-root/build.sh\"" -[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-dep -[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-dep-extra -[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-vpp -[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes build-package - -echo "*******************************************************************" -echo "* SWEETCOMB BUILD SUCCESSFULLY COMPLETED" -echo "*******************************************************************" diff --git a/jjb/sweetcomb/include-raw-sweetcomb-checkstyle.sh b/jjb/sweetcomb/include-raw-sweetcomb-checkstyle.sh deleted file mode 100644 index 258c9e7e2..000000000 --- a/jjb/sweetcomb/include-raw-sweetcomb-checkstyle.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if [ -f build-root/scripts/checkstyle.sh ];then - build-root/scripts/checkstyle.sh -else - echo "Cannot find cat build-root/scripts/checkstyle.sh - skipping checkstyle" -fi diff --git a/jjb/sweetcomb/include-raw-sweetcomb-test.sh b/jjb/sweetcomb/include-raw-sweetcomb-test.sh deleted file mode 100644 index 3abdf52a2..000000000 --- a/jjb/sweetcomb/include-raw-sweetcomb-test.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -# basic build script example -set -xe -o pipefail - -##container server node detection -grep search /etc/resolv.conf || true - -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 - -echo "Building using \"make build-root/build.sh\"" -[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-test-extra -[ "x${DRYRUN}" == "xTrue" ] || make build-scvpp -[ "x${DRYRUN}" == "xTrue" ] || make build-plugins -[ "x${DRYRUN}" == "xTrue" ] || useradd user -[ "x${DRYRUN}" == "xTrue" ] || bash -c "echo -e \"user\nuser\" | passwd user" -[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes test-plugins - -echo "*******************************************************************" -echo "* SWEETCOMB TEST SUCCESSFULLY COMPLETED" -echo "*******************************************************************" - diff --git a/jjb/sweetcomb/sweetcomb.yaml b/jjb/sweetcomb/sweetcomb.yaml deleted file mode 100644 index 24761b292..000000000 --- a/jjb/sweetcomb/sweetcomb.yaml +++ /dev/null @@ -1,273 +0,0 @@ ---- -######################################################################### -# -# Copyright (c) 2018 Intel and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -######################################################################### - -- project: - name: sweetcomb - jobs: - - 'sweetcomb-verify-{stream}-{os}' - - 'sweetcomb-merge-{stream}-{os}' - # - 'sweetcomb-test-{stream}-ubuntu1604' - - project: 'sweetcomb' - os: - - ubuntu1604: - repo-os-part: 'ubuntu.xenial.main' - - centos7: - repo-os-part: 'centos7' - stream: - - master: - branch: 'master' - repo-stream-part: 'master' - - '2001': - branch: 'stable/2001' - repo-stream-part: 'stable.2001' - - '1908': - branch: 'stable/1908' - repo-stream-part: 'stable.1908' - - '1904': - branch: 'stable/1904' - repo-stream-part: 'stable.1904' - - '1901': - branch: 'stable/1901' - repo-stream-part: 'stable.1901' - - vom: - branch: 'vom' - repo-stream-part: 'vom' - -- project: - name: sweetcomb-view - views: - - project-view - project-name: sweetcomb - -- job-template: - name: 'sweetcomb-verify-{stream}-{os}' - - project-type: freestyle - node: '{os}-us' - concurrent: true - - 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}' - - 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: 120 - - triggers: - - gerrit-trigger-checkstyle: - name: '{project}' - branch: '{branch}' - - gerrit-trigger-patch-submitted: - name: '{project}' - branch: '{branch}' - - builders: - - config-file-provider: - files: - - file-id: '.packagecloud' - target: '/root' - - config-file-provider: - files: - - file-id: 'packagecloud_api' - target: '/root' - - shell: - !include-raw-escape: include-raw-sweetcomb-checkstyle.sh - - shell: - !include-raw-escape: - - include-raw-sweetcomb-build.sh - publishers: - - lf-infra-publish - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - -- job-template: - name: 'sweetcomb-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}' - - 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}' - - builders: - - config-file-provider: - files: - - file-id: '.packagecloud' - target: '/root' - - config-file-provider: - files: - - file-id: 'packagecloud_api' - target: '/root' - - shell: - !include-raw-escape: include-raw-sweetcomb-checkstyle.sh - - shell: - !include-raw-escape: - - include-raw-sweetcomb-build.sh - - shell: - !include-raw-escape: - - ../scripts/packagecloud_push.sh - publishers: - - lf-infra-publish - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - -- job-template: - name: 'sweetcomb-test-{stream}-ubuntu1604' - - project-type: freestyle - node: 'ubuntu1604-us' - concurrent: true - - 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: 'ubuntu1604' - - repo-name-parameter: - repo-name: '{repo-stream-part}.ubuntu.xenial.main' - - stream-parameter: - stream: '{stream}' - - scm: - - gerrit-trigger-scm: - credentials-id: 'jenkins-gerrit-credentials' - refspec: '$GERRIT_REFSPEC' - choosing-strategy: 'gerrit' - - wrappers: - - fdio-infra-wrappers: - build-timeout: 120 - - triggers: - - gerrit-trigger-patch-submitted: - name: '{project}' - branch: '{branch}' - - builders: - - config-file-provider: - files: - - file-id: '.packagecloud' - target: '/root' - - config-file-provider: - files: - - file-id: 'packagecloud_api' - target: '/root' - - shell: - !include-raw-escape: - - include-raw-sweetcomb-build.sh - - include-raw-sweetcomb-test.sh - publishers: - - lf-infra-publish - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - -- project: - name: sweetcomb-info - project-name: sweetcomb - jobs: - - gerrit-info-yaml-verify - build-node: centos7-builder-2c-2g - project: sweetcomb - branch: master - -- project: - name: sweetcomb-sonar - project: sweetcomb - project-name: sweetcomb - mvn-settings: sweetcomb-settings - sonarcloud: true - sonarcloud-project-organization: '{sonarcloud_project_organization}' - sonarcloud-api-token: '{sonarcloud_api_token}' - sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' - branch: master - build-node: centos7-docker-2c-2g - jobs: - - gerrit-maven-sonar -- cgit 1.2.3-korg