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:17 +0100
commit5a846fceeeb61b8586ab28f1d48322434cdb67a4 (patch)
tree3afdc6d2289b1c9947f98824001b10b504d4e7f8 /ci/daily.yaml
parent07a5762fd3e929a50c49785f2e583dba20a0ba4a (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>
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'