Rewrite labels and add workaround for xenial

- Change trusty label to xenial in all jobs
- Install default python on xenial nodpool images

Change-Id: Ie09dc53847144c237b3e9440c1b15f22a5c10899
This commit is contained in:
Victor Ryzhenkin 2017-06-06 20:45:43 +04:00 committed by Kirill Zaitsev
parent 3f55e10de6
commit dfbe61bea1
5 changed files with 12 additions and 8 deletions

View File

@ -33,7 +33,7 @@
disabled: false
concurrent: false
#In Jenkins v1.642.1 jobs triggered by zuul cannot be run on master
node: trusty-devstack-cz5608 || trusty-devstack-cz5680
node: trusty-devstack-cz5608 || xenial-devstack-cz5680
builders:
- shell: |

View File

@ -1,6 +1,6 @@
- job-template:
name: 'hook-{name}-rtfd'
node: trusty-devstack-cz5608 || trusty-devstack-cz5680
node: trusty-devstack-cz5608 || xenial-devstack-cz5680
builders:
- shell: 'curl -X POST https://readthedocs.org/build/{name} >/dev/null'
- shell: 'curl -X POST https://readthedocs.org/build/{name} >/dev/null'

View File

@ -5,7 +5,7 @@
description: '{name} {pkg-service} {distro} gate job'
disabled: false
concurrent: true
node: trusty-devstack-cz5608 || trusty-devstack-cz5680
node: trusty-devstack-cz5608 || xenial-devstack-cz5680
parameters:
- bool:
@ -51,7 +51,7 @@
description: '{name} {distro} heartbeat job'
disabled: false
concurrent: true
node: trusty-devstack-cz5608 || trusty-devstack-cz5680
node: trusty-devstack-cz5608 || xenial-devstack-cz5680
triggers:
- timed: "H */3 * * *"
@ -99,7 +99,7 @@
description: '{name} {distro} coverage job'
disabled: false
concurrent: true
node: trusty-devstack-cz5608 || trusty-devstack-cz5680
node: trusty-devstack-cz5608 || xenial-devstack-cz5680
triggers:
- timed: "H */3 * * *"

View File

@ -16,8 +16,8 @@ labels:
min-ready: 6
providers:
- name: cilab-1
- name: trusty-devstack-cz5680
image: trusty-devstack-cz5680
- name: xenial-devstack-cz5680
image: xenial-devstack-cz5680
min-ready: 6
providers:
- name: cilab-2

View File

@ -36,6 +36,10 @@ if [ -f /usr/bin/yum ]; then
sudo yum -y install wget
fi
# Xenial by default have only python3 command
sudo apt-get update
sudo apt-get install python -y
#wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
wget https://git.openstack.org/cgit/openstack-infra/system-config/plain/install_puppet.sh