From 2bb7c834a8d14d7cd96d6840b55f84e4345f26df Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 6 Dec 2016 19:49:00 +0100 Subject: [PATCH] Switch to Xenial: training-labs Change jobs so that newton and newer runs on xenial, older branches on trusty. Change-Id: Ib67251fcc25f342e10cb5dd56ada8ae65792abbb --- jenkins/jobs/projects.yaml | 8 ++++++++ jenkins/jobs/training-labs.yaml | 12 ++++++------ zuul/layout.yaml | 9 ++++++--- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 5e02b81ffc..bb032aa1f7 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -15044,6 +15044,14 @@ jobs: - python-jobs + - 'training-labs-scripts-{node}': + node: + - ubuntu-trusty + - ubuntu-xenial + - 'gate-training-labs-scripts-{node}': + node: + - ubuntu-trusty + - ubuntu-xenial - project: name: transparency-policy diff --git a/jenkins/jobs/training-labs.yaml b/jenkins/jobs/training-labs.yaml index e301273cc0..cbb5b925c7 100644 --- a/jenkins/jobs/training-labs.yaml +++ b/jenkins/jobs/training-labs.yaml @@ -1,6 +1,6 @@ -- job: - name: 'training-labs-scripts' - node: ubuntu-trusty +- job-template: + name: 'training-labs-scripts-{node}' + node: '{node}' builders: - gerrit-git-prep @@ -20,9 +20,9 @@ copy-after-failure: false - console-log -- job: - name: 'gate-training-labs-scripts' - node: ubuntu-trusty +- job-template: + name: 'gate-training-labs-scripts-{node}' + node: '{node}' builders: - gerrit-git-prep diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 425f9d590c..cc57c3f9a1 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -17600,11 +17600,14 @@ projects: - name: merge-check - name: python-jobs check: - - gate-training-labs-scripts + - gate-training-labs-scripts-ubuntu-trusty + - gate-training-labs-scripts-ubuntu-xenial gate: - - gate-training-labs-scripts + - gate-training-labs-scripts-ubuntu-trusty + - gate-training-labs-scripts-ubuntu-xenial post: - - training-labs-scripts + - training-labs-scripts-ubuntu-trusty + - training-labs-scripts-ubuntu-xenial - name: openstack/transparency-policy template: