summaryrefslogtreecommitdiffstats
path: root/ci/run.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-20 11:14:17 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-31 11:54:17 +0200
commit7c3a118a8ca1417600971e20e1e0d90690784519 (patch)
tree78da6049ff4d4b23da103543b401c6f8a4884230 /ci/run.yaml
parent4a3c47e4d729c14aaeff29fcfb09799b3441ff13 (diff)
Publish daily and gating jjbs
Change-Id: Ic7fd7bc9adf1672573878d6b74d43fa55e777be3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'ci/run.yaml')
-rw-r--r--ci/run.yaml80
1 files changed, 80 insertions, 0 deletions
diff --git a/ci/run.yaml b/ci/run.yaml
new file mode 100644
index 00000000..4bdd4d3e
--- /dev/null
+++ b/ci/run.yaml
@@ -0,0 +1,80 @@
+---
+- job-template:
+ name: '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'
+ defaults: 'functest-kubernetes-defaults'
+ builders:
+ - shell: |
+ docker run \
+ -e DEPLOY_SCENARIO=k8s \
+ -v \
+ {prefix}/results/$JOB_NAME-$BUILD_ID:/home/opnfv/functest/results \
+ -v {prefix}/config:/root/.kube/config \
+ {repo}/functest-kubernetes-{container}:{tag} run_tests -t {test}
+
+- project:
+ name: '{repo}-functest-kubernetes-healthcheck-{test}-{tag}-run'
+ container: healthcheck
+ test:
+ - k8s_smoke
+ jobs:
+ - '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'
+
+- job-template:
+ name: '{repo}-functest-kubernetes-healthcheck-{tag}-run'
+ project-type: multijob
+ builders:
+ - multijob:
+ name: healthcheck
+ projects:
+ - name: '{repo}-functest-kubernetes-healthcheck-k8s_smoke-{tag}-run'
+
+- project:
+ name: '{repo}-functest-kubernetes-healthcheck-{tag}-run'
+ jobs:
+ - '{repo}-functest-kubernetes-healthcheck-{tag}-run'
+
+- project:
+ name: '{repo}-functest-kubernetes-smoke-{test}-{tag}-run'
+ container: smoke
+ test:
+ - k8s_conformance
+ jobs:
+ - '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'
+
+- job-template:
+ name: '{repo}-functest-kubernetes-smoke-{tag}-run'
+ project-type: multijob
+ builders:
+ - multijob:
+ name: smoke
+ projects:
+ - name: '{repo}-functest-kubernetes-smoke-k8s_conformance-{tag}-run'
+
+- project:
+ name: '{repo}-functest-kubernetes-smoke-{tag}-run'
+ jobs:
+ - '{repo}-functest-kubernetes-smoke-{tag}-run'
+
+- project:
+ name: '{repo}-functest-kubernetes-features-{test}-{tag}-run'
+ container: features
+ test:
+ - stor4nfv_k8s
+ - clover_k8s
+ jobs:
+ - '{repo}-functest-kubernetes-{container}-{test}-{tag}-run'
+
+- job-template:
+ name: '{repo}-functest-kubernetes-features-{tag}-run'
+ project-type: multijob
+ builders:
+ - multijob:
+ name: features
+ projects:
+ - name: '{repo}-functest-kubernetes-features-stor4nfv_k8s-{tag}-run'
+ - name: '{repo}-functest-kubernetes-features-clover_k8s-{tag}-run'
+
+- project:
+ name: '{repo}-functest-kubernetes-features-{tag}-run'
+ jobs:
+ - '{repo}-functest-kubernetes-features-{tag}-run'