diff options
author | Vanessa Valderrama <vvalderrama@linuxfoundation.org> | 2022-08-30 12:41:25 -0500 |
---|---|---|
committer | Vanessa Valderrama <vvalderrama@linuxfoundation.org> | 2022-08-30 12:41:25 -0500 |
commit | eef86f47b37d69e3f06c1c7d2c3c2e7e3fcddbe7 (patch) | |
tree | 62701295141b5bbc91c3f8dabe11009ee395147a | |
parent | 2179967fa6166e7660d8f2ab42a58cc2bce800d0 (diff) |
Chore: Archive UDPI project
Archiving UDPI project per TSC approval
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: Idaa4fcef90b306571a56b33518876f402baaf103
-rw-r--r-- | jjb/udpi/include-raw-udpi-build.sh | 53 | ||||
-rw-r--r-- | jjb/udpi/include-raw-udpi-checkstyle.sh | 7 | ||||
-rw-r--r-- | jjb/udpi/udpi.yaml | 182 |
3 files changed, 0 insertions, 242 deletions
diff --git a/jjb/udpi/include-raw-udpi-build.sh b/jjb/udpi/include-raw-udpi-build.sh deleted file mode 100644 index 7e9b3c0ca..000000000 --- a/jjb/udpi/include-raw-udpi-build.sh +++ /dev/null @@ -1,53 +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 build-install-package-hyperscan -[ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes build-package - -echo "*******************************************************************" -echo "* UDPI BUILD SUCCESSFULLY COMPLETED" -echo "*******************************************************************" diff --git a/jjb/udpi/include-raw-udpi-checkstyle.sh b/jjb/udpi/include-raw-udpi-checkstyle.sh deleted file mode 100644 index 8f9dd1af3..000000000 --- a/jjb/udpi/include-raw-udpi-checkstyle.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if [ -f scripts/checkstyle.sh ];then - scripts/checkstyle.sh -else - echo "Cannot find cat build-root/scripts/checkstyle.sh - skipping checkstyle" -fi diff --git a/jjb/udpi/udpi.yaml b/jjb/udpi/udpi.yaml deleted file mode 100644 index 916fd9b1f..000000000 --- a/jjb/udpi/udpi.yaml +++ /dev/null @@ -1,182 +0,0 @@ ---- -######################################################################### -# -# Copyright (c) 2019 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: udpi - jobs: - - 'udpi-verify-{stream}-{os}' - - 'udpi-merge-{stream}-{os}' - - project: 'udpi' - os: - - ubuntu1604 - - centos7 - stream: - - master: - branch: 'master' - - '2001': - branch: 'stable/2001' - -- project: - name: udpi-view - views: - - project-view - project-name: udpi - -- job-template: - name: 'udpi-verify-{stream}-{os}' - - project-type: freestyle - node: 'builder-{os}-prod-x86_64' - concurrent: true - - properties: - - lf-infra-properties: - build-days-to-keep: "{build-days-to-keep}" - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - os-parameter: - os: '{os}' - - 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-checkstyle: - name: '{project}' - branch: '{branch}' - - gerrit-trigger-patch-submitted: - name: '{project}' - branch: '{branch}' - - builders: - - config-file-provider: - files: - - file-id: '.packagecloud' - target: '/root/.packagecloud' - - config-file-provider: - files: - - file-id: 'packagecloud_api' - target: '/root/packagecloud_api' - - shell: - !include-raw-escape: include-raw-udpi-checkstyle.sh - - shell: - !include-raw-escape: - - include-raw-udpi-build.sh - - publishers: - - fdio-infra-publish - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - -- job-template: - name: 'udpi-merge-{stream}-{os}' - - project-type: freestyle - node: 'builder-{os}-prod-x86_64' - - properties: - - lf-infra-properties: - build-days-to-keep: "{build-days-to-keep}" - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - os-parameter: - os: '{os}' - - stream-parameter: - stream: '{stream}' - - 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/.packagecloud' - - config-file-provider: - files: - - file-id: 'packagecloud_api' - target: '/root/packagecloud_api' - - shell: - !include-raw-escape: include-raw-udpi-checkstyle.sh - - shell: - !include-raw-escape: - - include-raw-udpi-build.sh - - shell: - !include-raw-escape: - - ../scripts/packagecloud_push.sh - - publishers: - - fdio-infra-publish - - naginator: - rerun-unstable-builds: false - max-failed-builds: 1 - fixed-delay: 90 - -- project: - name: udpi-info - project-name: udpi - jobs: - - gerrit-info-yaml-verify - build-node: centos7-builder-2c-2g - project: udpi - branch: master - -- project: - name: udpi-sonar - project: udpi - project-name: udpi - mvn-settings: udpi-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 |