From 617fb2c1a061b53bd85f54ee8f3e4944d54dc9db Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 13 Nov 2018 22:35:37 +0100 Subject: Add anchors in ci yaml files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It eases foctorizing between releng (1 multijob only) and functest jjbs. Change-Id: I72deb86d155a1da7e0d8bf0f76992e7b6dd6cfad Signed-off-by: Cédric Ollivier (cherry picked from commit 5a846fceeeb61b8586ab28f1d48322434cdb67a4) --- ci/daily.yaml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'ci/daily.yaml') diff --git a/ci/daily.yaml b/ci/daily.yaml index 89b404f77..29db83d4a 100644 --- a/ci/daily.yaml +++ b/ci/daily.yaml @@ -5,7 +5,7 @@ - shell: docker pull {repo}/functest-{container}:{tag} - project: - name: '{repo}-functest-{container}-{tag}-pull' + name: repo-functest-container-tag-pull container: - healthcheck - smoke @@ -16,22 +16,26 @@ jobs: - '{repo}-functest-{container}-{tag}-pull' +- functest-pulljobs: &functest-pulljobs + name: 'functest-pulljobs' + projects: + - name: '{repo}-functest-healthcheck-{tag}-pull' + - name: '{repo}-functest-smoke-{tag}-pull' + - name: '{repo}-functest-benchmarking-{tag}-pull' + - name: '{repo}-functest-components-{tag}-pull' + - name: '{repo}-functest-vnf-{tag}-pull' + - name: '{repo}-functest-features-{tag}-pull' + - job-template: name: '{repo}-functest-{tag}-pull' project-type: multijob builders: - multijob: name: pull all containers - projects: - - name: '{repo}-functest-healthcheck-{tag}-pull' - - name: '{repo}-functest-smoke-{tag}-pull' - - name: '{repo}-functest-benchmarking-{tag}-pull' - - name: '{repo}-functest-components-{tag}-pull' - - name: '{repo}-functest-vnf-{tag}-pull' - - name: '{repo}-functest-features-{tag}-pull' + <<: *functest-pulljobs - project: - name: '{repo}-functest-{tag}-pull' + name: repo-functest-tag-pull jobs: - '{repo}-functest-{tag}-pull' @@ -57,6 +61,6 @@ - name: '{repo}-functest-features-{tag}-run' - project: - name: '{repo}-functest-{tag}-daily' + name: repo-functest-tag-daily jobs: - '{repo}-functest-{tag}-daily' -- cgit 1.2.3-korg