aboutsummaryrefslogtreecommitdiffstats
path: root/ci/daily.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-19 13:37:31 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-20 07:03:17 +0200
commit69f0b2665b397e5128bf7a83541d3567c4834af3 (patch)
tree825d9ee65a383713911b07a45c08ec1202e257f4 /ci/daily.yaml
parent80c6eb6f6eb1fae6f345f54d7265ba218b049c69 (diff)
Publish Functest daily and gate jobs
As opposed to the Releng ones, they are designed to be easily executed by endusers as well. They can be considered as a first step towards a full Functest CI/CD toolchain deployed via docker-compose. All components testcases are enabled here. They hugely leverage on templates to load the right yamls per branch and multijobs to run testcases in parallel. Many steps are proposed allowing running part of the chain. Executors have to be increased to allow running them (it was tested vs 10 and more). At first, all docker images are downloaded to avoid different versions between testcases. They will be improved in a second change to ensure that only one node is selected and to take all Functest env vars into account. Change-Id: I99c7b8ee5d0ddbb00102b3147739b5e8b5c65c23 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'ci/daily.yaml')
-rw-r--r--ci/daily.yaml59
1 files changed, 59 insertions, 0 deletions
diff --git a/ci/daily.yaml b/ci/daily.yaml
new file mode 100644
index 000000000..8c1dd6830
--- /dev/null
+++ b/ci/daily.yaml
@@ -0,0 +1,59 @@
+---
+- job-template:
+ name: '{repo}-{container}-{tag}-pull'
+ builders:
+ - shell: docker pull {repo}/{container}:{tag}
+
+- project:
+ name: '{repo}-{container}-{tag}-pull'
+ container:
+ - functest-healthcheck
+ - functest-smoke
+ - functest-components
+ - functest-vnf
+ - functest-features
+ jobs:
+ - '{repo}-{container}-{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-components-{tag}-pull'
+ - name: '{repo}-functest-vnf-{tag}-pull'
+ - name: '{repo}-functest-features-{tag}-pull'
+
+- project:
+ name: '{repo}-functest-{tag}-pull'
+ jobs:
+ - '{repo}-functest-{tag}-pull'
+
+- job-template:
+ name: '{repo}-functest-{tag}-daily'
+ project-type: multijob
+ builders:
+ - multijob:
+ name: pull containers
+ projects:
+ - name: '{repo}-functest-{tag}-pull'
+ - multijob:
+ name: basics tests
+ projects:
+ - name: '{repo}-functest-healthcheck-{tag}-run'
+ - multijob:
+ name: advanced tests
+ projects:
+ - name: '{repo}-functest-smoke-{tag}-run'
+ - name: '{repo}-functest-components-{tag}-run'
+ - name: '{repo}-functest-vnf-{tag}-run'
+ - name: '{repo}-functest-features-{tag}-run'
+
+- project:
+ name: '{repo}-functest-{tag}-daily'
+ jobs:
+ - '{repo}-functest-{tag}-daily'