summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-kubernetes-pi.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/functest/functest-kubernetes-pi.yaml')
-rw-r--r--jjb/functest/functest-kubernetes-pi.yaml388
1 files changed, 333 insertions, 55 deletions
diff --git a/jjb/functest/functest-kubernetes-pi.yaml b/jjb/functest/functest-kubernetes-pi.yaml
index 3b16f68ea..73d3e0cc6 100644
--- a/jjb/functest/functest-kubernetes-pi.yaml
+++ b/jjb/functest/functest-kubernetes-pi.yaml
@@ -8,7 +8,220 @@
- functest-kubernetes-pi-params: &functest-kubernetes-pi-params
name: 'functest-kubernetes-pi-params'
+ tag:
+ - latest:
+ node: lf-virtual1-9
+ - v1.26:
+ node: lf-virtual1-1
+ - v1.25:
+ node: lf-virtual1-8
+ - v1.24:
+ node: lf-virtual1-7
+ - v1.23:
+ node: lf-virtual1-6
+ - v1.22:
+ node: lf-virtual1-5
+ - arm-latest:
+ node: lf-virtual1-9
+ - arm-v1.26:
+ node: lf-virtual1-1
+ - arm-v1.25:
+ node: lf-virtual1-8
+ - arm-v1.24:
+ node: lf-virtual1-7
+ - arm-v1.23:
+ node: lf-virtual1-6
+ - arm-v1.22:
+ node: lf-virtual1-5
+ - arm64-latest:
+ node: lf-virtual1-9
+ - arm64-v1.26:
+ node: lf-virtual1-1
+ - arm64-v1.25:
+ node: lf-virtual1-8
+ - arm64-v1.24:
+ node: lf-virtual1-7
+ - arm64-v1.23:
+ node: lf-virtual1-6
+ - arm64-v1.22:
+ node: lf-virtual1-5
+
+- functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params'
+ repo: 'ollivier'
+ container: 'functest-kubernetes-healthcheck'
+ port:
+ tag:
+ - latest:
+ node: lf-virtual1-9
+ - v1.26:
+ node: lf-virtual1-1
+ - v1.25:
+ node: lf-virtual1-8
+ - v1.24:
+ node: lf-virtual1-7
+ - v1.23:
+ node: lf-virtual1-6
+ - v1.22:
+ node: lf-virtual1-5
+ - arm-latest:
+ node: lf-virtual1-9
+ - arm-v1.26:
+ node: lf-virtual1-1
+ - arm-v1.25:
+ node: lf-virtual1-8
+ - arm-v1.24:
+ node: lf-virtual1-7
+ - arm-v1.23:
+ node: lf-virtual1-6
+ - arm-v1.22:
+ node: lf-virtual1-5
+ - arm64-latest:
+ node: lf-virtual1-9
+ - arm64-v1.26:
+ node: lf-virtual1-1
+ - arm64-v1.25:
+ node: lf-virtual1-8
+ - arm64-v1.24:
+ node: lf-virtual1-7
+ - arm64-v1.23:
+ node: lf-virtual1-6
+ - arm64-v1.22:
+ node: lf-virtual1-5
+
+- functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params'
+ repo: 'ollivier'
+ container: 'functest-kubernetes-smoke'
+ port:
+ tag:
+ - latest:
+ node: lf-virtual1-9
+ - v1.26:
+ node: lf-virtual1-1
+ - v1.25:
+ node: lf-virtual1-8
+ - v1.24:
+ node: lf-virtual1-7
+ - v1.23:
+ node: lf-virtual1-6
+ - v1.22:
+ node: lf-virtual1-5
+ - arm-latest:
+ node: lf-virtual1-9
+ - arm-v1.26:
+ node: lf-virtual1-1
+ - arm-v1.25:
+ node: lf-virtual1-8
+ - arm-v1.24:
+ node: lf-virtual1-7
+ - arm-v1.23:
+ node: lf-virtual1-6
+ - arm-v1.22:
+ node: lf-virtual1-5
+ - arm64-latest:
+ node: lf-virtual1-9
+ - arm64-v1.26:
+ node: lf-virtual1-1
+ - arm64-v1.25:
+ node: lf-virtual1-8
+ - arm64-v1.24:
+ node: lf-virtual1-7
+ - arm64-v1.23:
+ node: lf-virtual1-6
+ - arm64-v1.22:
+ node: lf-virtual1-5
+
+- functest-kubernetes-pi-ollivier-functest-kubernetes-security-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-security-params
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-params'
+ repo: 'ollivier'
+ container: 'functest-kubernetes-security'
+ port:
+ tag:
+ - latest:
+ node: lf-virtual1-9
+ - v1.26:
+ node: lf-virtual1-1
+ - v1.25:
+ node: lf-virtual1-8
+ - v1.24:
+ node: lf-virtual1-7
+ - v1.23:
+ node: lf-virtual1-6
+ - v1.22:
+ node: lf-virtual1-5
+ - arm-latest:
+ node: lf-virtual1-9
+ - arm-v1.26:
+ node: lf-virtual1-1
+ - arm-v1.25:
+ node: lf-virtual1-8
+ - arm-v1.24:
+ node: lf-virtual1-7
+ - arm-v1.23:
+ node: lf-virtual1-6
+ - arm-v1.22:
+ node: lf-virtual1-5
+ - arm64-latest:
+ node: lf-virtual1-9
+ - arm64-v1.26:
+ node: lf-virtual1-1
+ - arm64-v1.25:
+ node: lf-virtual1-8
+ - arm64-v1.24:
+ node: lf-virtual1-7
+ - arm64-v1.23:
+ node: lf-virtual1-6
+ - arm64-v1.22:
+ node: lf-virtual1-5
+
+- functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params'
repo: 'ollivier'
+ container: 'functest-kubernetes-benchmarking'
+ port:
+ tag:
+ - latest:
+ node: lf-virtual1-9
+ - v1.26:
+ node: lf-virtual1-1
+ - v1.25:
+ node: lf-virtual1-8
+ - v1.24:
+ node: lf-virtual1-7
+ - v1.23:
+ node: lf-virtual1-6
+ - v1.22:
+ node: lf-virtual1-5
+ - arm-latest:
+ node: lf-virtual1-9
+ - arm-v1.26:
+ node: lf-virtual1-1
+ - arm-v1.25:
+ node: lf-virtual1-8
+ - arm-v1.24:
+ node: lf-virtual1-7
+ - arm-v1.23:
+ node: lf-virtual1-6
+ - arm-v1.22:
+ node: lf-virtual1-5
+ - arm64-latest:
+ node: lf-virtual1-9
+ - arm64-v1.26:
+ node: lf-virtual1-1
+ - arm64-v1.25:
+ node: lf-virtual1-8
+ - arm64-v1.24:
+ node: lf-virtual1-7
+ - arm64-v1.23:
+ node: lf-virtual1-6
+ - arm64-v1.22:
+ node: lf-virtual1-5
+
+- functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params'
+ repo: 'ollivier'
+ container: 'functest-kubernetes-cnf'
port:
tag:
- latest:
@@ -75,7 +288,6 @@
- functest-kubernetes-pi-run-containers: &functest-kubernetes-pi-run-containers
name: 'functest-kubernetes-pi-run-containers'
<<: *functest-kubernetes-pi-containers
- test: '{test}'
privileged: '{privileged}'
volumes: '{volumes}'
env: '{env}'
@@ -160,7 +372,7 @@
docker rmi $image || true
- job-template:
- name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-pull'
parameters:
- functest-kubernetes-pi-node:
node: '{node}'
@@ -170,41 +382,72 @@
- project:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-pull'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-healthcheck'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-pull'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-rmi'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-remove-images:
+ <<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-pull'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-smoke'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-rmi'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-rmi'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-pull'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-pull-containers:
+ <<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-pull'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-security'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-pull'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-pull'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-rmi'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-remove-images:
+ <<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-pull'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-benchmarking'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-rmi'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-{tag}-rmi'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-pull'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-pull-containers:
+ <<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-pull'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-cnf'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-pull'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-security-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-pull'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-pull'
- job-template:
- name: 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-rmi'
parameters:
- functest-kubernetes-pi-node:
node: '{node}'
@@ -213,39 +456,70 @@
<<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-rmi'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-healthcheck'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-rmi'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-security-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-{tag}-rmi'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-pull'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-pull-containers:
+ <<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-rmi'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-smoke'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-pull'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-pull'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-rmi'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-remove-images:
+ <<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security-rmi'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-security'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-rmi'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-{tag}-rmi'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-pull'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-pull-containers:
+ <<: *functest-kubernetes-pi-containers
- project:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-rmi'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-benchmarking'
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-pull'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-pull'
+
+- job-template:
+ name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-rmi'
+ parameters:
+ - functest-kubernetes-pi-node:
+ node: '{node}'
+ builders:
+ - functest-kubernetes-pi-remove-images:
+ <<: *functest-kubernetes-pi-containers
- project:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-rmi'
- <<: *functest-kubernetes-pi-params
- container: 'functest-kubernetes-cnf'
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params
jobs:
- - 'functest-kubernetes-pi-{repo}-{container}-{tag}-rmi'
+ - 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-rmi'
- job-template:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-{tag}-{test}-run'
@@ -259,10 +533,11 @@
builders:
- functest-kubernetes-pi-run-containers:
<<: *functest-kubernetes-pi-run-containers
+ test: '{test}'
- project:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck'
- <<: *functest-kubernetes-pi-params
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params
volumes:
- /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
- /home/opnfv/functest-kubernetes/config.{tag}:/home/xtesting/.kube/config
@@ -292,10 +567,11 @@
builders:
- functest-kubernetes-pi-run-containers:
<<: *functest-kubernetes-pi-run-containers
+ test: '{test}'
- project:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-smoke'
- <<: *functest-kubernetes-pi-params
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params
volumes:
- /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
- /home/opnfv/functest-kubernetes/config.{tag}:/home/xtesting/.kube/config
@@ -338,10 +614,11 @@
builders:
- functest-kubernetes-pi-run-containers:
<<: *functest-kubernetes-pi-run-containers
+ test: '{test}'
- project:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-security'
- <<: *functest-kubernetes-pi-params
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-security-params
volumes:
- /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
- /home/opnfv/functest-kubernetes/config.{tag}:/home/xtesting/.kube/config
@@ -372,10 +649,11 @@
builders:
- functest-kubernetes-pi-run-containers:
<<: *functest-kubernetes-pi-run-containers
+ test: '{test}'
- project:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking'
- <<: *functest-kubernetes-pi-params
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params
volumes:
- /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
- /home/opnfv/functest-kubernetes/config.{tag}:/home/xtesting/.kube/config
@@ -405,10 +683,11 @@
builders:
- functest-kubernetes-pi-run-containers:
<<: *functest-kubernetes-pi-run-containers
+ test: '{test}'
- project:
name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf'
- <<: *functest-kubernetes-pi-params
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params
volumes:
- /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
- /home/opnfv/functest-kubernetes/config.{tag}:/home/xtesting/.kube/config
@@ -458,6 +737,8 @@
mkdir -p $WORKSPACE/results
chown {uid}:{gid} $WORKSPACE/results
docker run --rm \
+ --privileged={privileged} \
+ --network={network} \
$volumes \
$env \
$published_ports \
@@ -467,6 +748,7 @@
-v /home/opnfv/functest-kubernetes/.boto:/etc/boto.cfg \
-e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
-e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
+ -e NODE_NAME=$node \
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
$image zip_campaign
@@ -482,16 +764,11 @@
DEPLOY_SCENARIO: k8-nosdn-nofeature-noha
builders:
- functest-kubernetes-pi-zip:
- <<: *functest-kubernetes-pi-containers
- volumes: '{volumes}'
- env: '{env}'
- uid: '{uid}'
- gid: '{gid}'
- published_ports: '{published_ports}'
+ <<: *functest-kubernetes-pi-run-containers
- project:
name: 'functest-kubernetes-pi-{tag}-zip'
- <<: *functest-kubernetes-pi-params
+ <<: *functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params
volumes:
- /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config
- /home/opnfv/functest-kubernetes/config.{tag}:/home/xtesting/.kube/config
@@ -499,6 +776,8 @@
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
published_ports:
container: 'functest-kubernetes-healthcheck'
+ privileged: 'false'
+ network: bridge
uid: 1000
gid: 1000
jobs:
@@ -522,8 +801,7 @@
properties:
- build-blocker:
blocking-jobs:
- - ^functest-kubernetes-(pi-)*.*-(daily|review)$
- - ^functest-kubernetes-(pi-)*{tag}-docker$
+ - ^functest-kubernetes-(pi-)*.*-(daily|docker|review)$
# yamllint enable rule:indentation
builders:
- multijob: