builders:
- shell: |2-
echo "---> Node UUID:"
- curl -s http://169.254.169.254/openstack/latest/meta_data.json | python -c 'import sys, json; data = json.load(sys.stdin); print(data["uuid"])'
+ curl -s http://169.254.169.254/openstack/latest/meta_data.json | python -c 'import sys, json; data = json.load(sys.stdin); print(data["uuid"])' || true
- builder:
name: ta-builder-tox
python-decoratortools yum-utils usermode pigz
# We need a specific version of mock (1.4.14) and devtools
# not available in Ubuntu/Debian repos, so fetch them from RHEL mirrors
- wget http://mirror.centos.org/centos/7.6.1810/os/x86_64/Packages/rpmdevtools-8.3-5.el7.noarch.rpm \
+ wget http://vault.centos.org/centos/7.6.1810/os/x86_64/Packages/rpmdevtools-8.3-5.el7.noarch.rpm \
https://kojipkgs.fedoraproject.org/packages/mock/1.4.14/2.el7/noarch/mock-1.4.14-2.el7.noarch.rpm
sudo alien -d *.rpm
sudo dpkg -i *.deb
properties-content: 'ALT_NEXUS_URL=https://nexus3.akraino.org'
- lf-infra-create-netrc:
server-id: rpm.snapshots
+ - inject:
+ properties-content: |
+ ALT_NEXUS_URL=
+ SERVER_ID=
- shell: !include-raw:
# Ensure python-tools are installed in case job template does not
# call the lf-infra-pre-build macro.
- ../shell/ta-rpm-deploy.sh
- shell: !include-raw:
- ../../global-jjb/shell/logs-clear-credentials.sh
- - inject:
- properties-content: 'ALT_NEXUS_URL='
- builder:
name: ta-lf-infra-ship-isos
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
readable-message: true
+ skip-vote:
+ successful: '{gerrit-skip-vote}'
+ failed: '{gerrit-skip-vote}'
+ unstable: '{gerrit-skip-vote}'
+ notbuilt: '{gerrit-skip-vote}'
- trigger:
name: ta-trigger-job-merge