0af9b2c178
Between the Icehouse and Juno releases, OpenStack changed its supported Ubuntu LTS platform from Precise to Trusty. In support of continuing testing stable/icehouse and prior branches on Precise while starting to test newer branches on Trusty, a branch-based decision tree was introduced into our Zuul configuration by way of complex parameter functions with an ever growing list of regular expression matches on job names. Now that Icehouse is EOL (in fact, Juno is too) this simply adds unnecessary complexity and an attractive nuisance for cargo-cult copying into new job and job-template definitions which don't even need it. In preparation to remove the associated parameter functions, get rid of multiple labels in all jobs and set them to whatever label Zuul would ultimately select. This change touches a vast number, possibly a majority, of our jobs and so manual jenkins-jobs updates on all Jenkins masters will be needed after this merges, before it's safe to approve the corresponding Zuul configuration cleanup. Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
- job:
|
|
name: gate-openstackid-unittests
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/php-laravel-build.sh
|
|
publishers:
|
|
- console-log
|
|
- coverage-log
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/$LOG_PATH'
|
|
source: './reports/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
|
|
- job-template:
|
|
name: 'openstackid-release-{job-suffix}'
|
|
node: bare-precise
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/version-properties.sh
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
source version.properties
|
|
/usr/local/jenkins/slave_scripts/php-laravel-build.sh
|
|
# Clone to dist
|
|
rm -rf dist
|
|
mkdir dist
|
|
rsync -arv --exclude ".git*" --exclude tarballs --exclude dist . dist
|
|
# Clean/create a tarball directory
|
|
rm -rf tarballs
|
|
mkdir -p tarballs
|
|
# Create an archive tarball.
|
|
tar -czf openstackid-$PROJECT_VER.tar.gz dist/
|
|
cp openstackid-$PROJECT_VER.tar.gz tarballs/openstackid-latest.tar.gz
|
|
mv openstackid-$PROJECT_VER.tar.gz tarballs/
|
|
publishers:
|
|
- console-log
|
|
- coverage-log
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/$LOG_PATH'
|
|
source: './reports/**'
|
|
keep-hierarchy: true
|
|
copy-after-failure: true
|
|
- target: 'tarballs/openstackid/'
|
|
source: 'tarballs/*.tar.gz'
|
|
keep-hierarchy: false
|
|
copy-after-failure: false
|