diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-11-13 22:35:37 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-11-13 22:58:50 +0100 |
commit | 899f9438b7bbd7e1d6b7f17a2176e56ef0b14ea2 (patch) | |
tree | 6539333fb577dd8a8e0312705c852a3fe420c8fa /ci/daily.yaml | |
parent | 45acb27769e6c93eee3a33a95249911850b7fe6c (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 891e997c96fc468494cef126e8b99cc0523c6acf)
Diffstat (limited to 'ci/daily.yaml')
-rw-r--r-- | ci/daily.yaml | 24 |
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' |