diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2020-10-01 20:38:47 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-10-13 14:47:24 +0000 |
commit | 2db30aa5a938494a710a89cab5943675c1143918 (patch) | |
tree | d3ca1be1cde343527e94dd57401215ef9ef4a69e /docker/vpp/vpp-ubuntu18/files/pc_push | |
parent | f491fbd3929c2fd6b0910214796d5c0f5056ea82 (diff) |
Clean up vpp jenkins scripts & docker dir
- Remove docker/vpp Dockerfile definitions and
colateral files for image now being build by
https://gerrit.fd.io/r/c/ci-management/+/28022
- Remove opensuse support which has been elided
from the vpp build in
https://gerrit.fd.io/r/c/vpp/+/28999
- Remove unused scripts.
- Output script name marker for all jjb scripts
following LFIT practices.
- Remove old/unused output from scripts.
- Add logic to use vpp-ext-deps download cache
in the executor images to speed up build jobs.
- Add copyright notifcations to modified files
without an existing copyright.
- Make all vpp/docs jobs use '-{stream}-{os}-{executor}'
suffix in their names.
- Consolidate executor logging into
setup_executor_env.sh and call it first for all jobs.
Change-Id: I4ffb67ed476659f0127ca8c84f20a305d06149bf
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'docker/vpp/vpp-ubuntu18/files/pc_push')
-rw-r--r-- | docker/vpp/vpp-ubuntu18/files/pc_push | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/docker/vpp/vpp-ubuntu18/files/pc_push b/docker/vpp/vpp-ubuntu18/files/pc_push deleted file mode 100644 index 3fdc8d373..000000000 --- a/docker/vpp/vpp-ubuntu18/files/pc_push +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -# REPO is an Environment variable - -set -x - -echo "STARTING PACKAGECLOUD PUSH" - -sleep 10 - -if [ -f /usr/bin/zypper ]; then - FACTER_OS="openSUSE" -else - FACTER_OS=$(/usr/bin/facter operatingsystem) -fi - -if [ -f ~/.packagecloud ]; then - case "$FACTER_OS" in - Ubuntu) - FACTER_LSBNAME=$(/usr/bin/facter lsbdistcodename) - DEBS=$(find . -type f -iname '*.deb') - package_cloud push "${REPO}/${STREAM}/ubuntu/${FACTER_LSBNAME}/main/" ${DEBS} - ;; - CentOS) - FACTER_OSMAJREL=$(/usr/bin/facter operatingsystemmajrelease) - FACTER_ARCH=$(/usr/bin/facter architecture) - RPMS=$(find . -type f -iregex '.*/.*\.\(s\)?rpm') - package_cloud push "${REPO}/${STREAM}/el/${FACTER_OSMAJREL}/os/${FACTER_ARCH}/" ${RPMS} - ;; - openSUSE) - # Use /etc/os-release on openSUSE to get $VERSION - . /etc/os-release - RPMS=$(find . -type f -iregex '.*/.*\.\(s\)?rpm' | grep -v 'vpp-ext-deps') - VPP_EXT_RPMS=$(find . -type f -iregex '.*/.*\.\(s\)?rpm' | grep 'vpp-ext-deps') - package_cloud push "${REPO}/${STREAM}/opensuse/${VERSION}/" ${RPMS} - # This file may have already been uploaded. Don't error out if it exists. - package_cloud push "${REPO}/${STREAM}/opensuse/${VERSION}/" ${VPP_EXT_RPMS} --skip-errors - ;; - esac -fi |