aboutsummaryrefslogtreecommitdiffstats
path: root/ci/daily.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-11-13 22:35:37 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-11-13 23:01:53 +0100
commit617fb2c1a061b53bd85f54ee8f3e4944d54dc9db (patch)
treeb0445f9065b071b3b4c2e584cf24d9adc4e8ae03 /ci/daily.yaml
parent66b16cde6176ec1d05ca7399a819e1efb7b5f242 (diff)
Add anchors in ci yaml files
It eases foctorizing between releng (1 multijob only) and functest jjbs. Change-Id: I72deb86d155a1da7e0d8bf0f76992e7b6dd6cfad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5a846fceeeb61b8586ab28f1d48322434cdb67a4)
Diffstat (limited to 'ci/daily.yaml')
-rw-r--r--ci/daily.yaml24
1 files changed, 14 insertions, 10 deletions
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'