Skip to content

Commit

Permalink
Conforms with jjb 5.x+
Browse files Browse the repository at this point in the history
It also updates to last jjb release and py12

Change-Id: I7c2185c171d79d97c9f818bbb0db61e6ed6eeac8
Signed-off-by: Cédric Ollivier <[email protected]>
  • Loading branch information
collivier committed Sep 6, 2024
1 parent 09b5660 commit 20f09e5
Show file tree
Hide file tree
Showing 9 changed files with 98 additions and 73 deletions.
19 changes: 10 additions & 9 deletions jjb/functest/functest-kubernetes-pi.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
- functest-kubernetes-pi-containers: &functest-kubernetes-pi-containers
- _functest-kubernetes-pi-containers: &functest-kubernetes-pi-containers
name: 'functest-kubernetes-pi-containers'
repo: '{repo}'
port: '{port}'
container: '{container}'
tag: '{tag}'

- functest-kubernetes-pi-params: &functest-kubernetes-pi-params
- _functest-kubernetes-pi-params: &functest-kubernetes-pi-params
name: 'functest-kubernetes-pi-params'
tag:
- latest:
Expand Down Expand Up @@ -40,7 +40,7 @@
- arm64-v1.26:
node: v1.26

- functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-healthcheck-params
- _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'
Expand Down Expand Up @@ -77,7 +77,7 @@
- arm64-v1.26:
node: v1.26

- functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-smoke-params
- _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'
Expand Down Expand Up @@ -114,7 +114,7 @@
- arm64-v1.26:
node: v1.26

- functest-kubernetes-pi-ollivier-functest-kubernetes-security-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-security-params
- _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'
Expand Down Expand Up @@ -151,7 +151,7 @@
- arm64-v1.26:
node: v1.26

- functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-params
- _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'
Expand Down Expand Up @@ -188,7 +188,7 @@
- arm64-v1.26:
node: v1.26

- functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params: &functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-params
- _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'
Expand Down Expand Up @@ -225,7 +225,7 @@
- arm64-v1.26:
node: v1.26

- functest-kubernetes-pi-jobs: &functest-kubernetes-pi-jobs
- _functest-kubernetes-pi-jobs: &functest-kubernetes-pi-jobs
name: 'functest-kubernetes-pi-jobs'
current-parameters: true

Expand All @@ -249,7 +249,7 @@
name: DEPLOY_SCENARIO
default: k8-nosdn-nofeature-noha

- functest-kubernetes-pi-run-containers: &functest-kubernetes-pi-run-containers
- _functest-kubernetes-pi-run-containers: &functest-kubernetes-pi-run-containers
name: 'functest-kubernetes-pi-run-containers'
<<: *functest-kubernetes-pi-containers
privileged: '{privileged}'
Expand Down Expand Up @@ -853,6 +853,7 @@
<<: *functest-kubernetes-pi-jobs
- multijob:
name: ollivier/functest-kubernetes-cnf:{tag}
execution-type: SEQUENTIALLY
projects:
- name: 'functest-kubernetes-pi-ollivier-functest-kubernetes-cnf-{tag}-k8s_vims-run'
<<: *functest-kubernetes-pi-jobs
Expand Down
36 changes: 20 additions & 16 deletions jjb/functest/functest-kubernetes.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
- functest-kubernetes-containers: &functest-kubernetes-containers
- _functest-kubernetes-containers: &functest-kubernetes-containers
name: 'functest-kubernetes-containers'
repo: '{repo}'
port: '{port}'
container: '{container}'
tag: '{tag}'

- functest-kubernetes-params: &functest-kubernetes-params
- _functest-kubernetes-params: &functest-kubernetes-params
name: 'functest-kubernetes-params'
tag:
- latest:
Expand Down Expand Up @@ -40,7 +40,7 @@
node: v1.26
dependency: 3.16

- functest-kubernetes-opnfv-functest-kubernetes-healthcheck-params: &functest-kubernetes-opnfv-functest-kubernetes-healthcheck-params
- _functest-kubernetes-opnfv-functest-kubernetes-healthcheck-params: &functest-kubernetes-opnfv-functest-kubernetes-healthcheck-params
name: 'functest-kubernetes-opnfv-functest-kubernetes-healthcheck-params'
repo: 'opnfv'
container: 'functest-kubernetes-healthcheck'
Expand Down Expand Up @@ -77,7 +77,7 @@
node: v1.26
dependency: 3.16

- functest-kubernetes-opnfv-functest-kubernetes-smoke-params: &functest-kubernetes-opnfv-functest-kubernetes-smoke-params
- _functest-kubernetes-opnfv-functest-kubernetes-smoke-params: &functest-kubernetes-opnfv-functest-kubernetes-smoke-params
name: 'functest-kubernetes-opnfv-functest-kubernetes-smoke-params'
repo: 'opnfv'
container: 'functest-kubernetes-smoke'
Expand Down Expand Up @@ -114,7 +114,7 @@
node: v1.26
dependency: 3.16

- functest-kubernetes-opnfv-functest-kubernetes-security-params: &functest-kubernetes-opnfv-functest-kubernetes-security-params
- _functest-kubernetes-opnfv-functest-kubernetes-security-params: &functest-kubernetes-opnfv-functest-kubernetes-security-params
name: 'functest-kubernetes-opnfv-functest-kubernetes-security-params'
repo: 'opnfv'
container: 'functest-kubernetes-security'
Expand Down Expand Up @@ -151,7 +151,7 @@
node: v1.26
dependency: 3.16

- functest-kubernetes-opnfv-functest-kubernetes-benchmarking-params: &functest-kubernetes-opnfv-functest-kubernetes-benchmarking-params
- _functest-kubernetes-opnfv-functest-kubernetes-benchmarking-params: &functest-kubernetes-opnfv-functest-kubernetes-benchmarking-params
name: 'functest-kubernetes-opnfv-functest-kubernetes-benchmarking-params'
repo: 'opnfv'
container: 'functest-kubernetes-benchmarking'
Expand Down Expand Up @@ -188,7 +188,7 @@
node: v1.26
dependency: 3.16

- functest-kubernetes-opnfv-functest-kubernetes-cnf-params: &functest-kubernetes-opnfv-functest-kubernetes-cnf-params
- _functest-kubernetes-opnfv-functest-kubernetes-cnf-params: &functest-kubernetes-opnfv-functest-kubernetes-cnf-params
name: 'functest-kubernetes-opnfv-functest-kubernetes-cnf-params'
repo: 'opnfv'
container: 'functest-kubernetes-cnf'
Expand Down Expand Up @@ -225,7 +225,7 @@
node: v1.26
dependency: 3.16

- functest-kubernetes-jobs: &functest-kubernetes-jobs
- _functest-kubernetes-jobs: &functest-kubernetes-jobs
name: 'functest-kubernetes-jobs'
current-parameters: true

Expand All @@ -249,7 +249,7 @@
name: DEPLOY_SCENARIO
default: k8-nosdn-nofeature-noha

- functest-kubernetes-run-containers: &functest-kubernetes-run-containers
- _functest-kubernetes-run-containers: &functest-kubernetes-run-containers
name: 'functest-kubernetes-run-containers'
<<: *functest-kubernetes-containers
privileged: '{privileged}'
Expand Down Expand Up @@ -853,6 +853,7 @@
<<: *functest-kubernetes-jobs
- multijob:
name: opnfv/functest-kubernetes-cnf:{tag}
execution-type: SEQUENTIALLY
projects:
- name: 'functest-kubernetes-opnfv-functest-kubernetes-cnf-{tag}-k8s_vims-run'
<<: *functest-kubernetes-jobs
Expand Down Expand Up @@ -888,9 +889,9 @@
- last-success
- last-failure
- last-duration
regex: ^functest-kubernetes-[a-z0-9.-]+-daily$
regex: ^functest-kubernetes-[a-z0-9.]+-daily$

- functest-kubernetes-build-containers: &functest-kubernetes-build-containers
- _functest-kubernetes-build-containers: &functest-kubernetes-build-containers
name: 'functest-kubernetes-build-containers'
<<: *functest-kubernetes-containers
ref_arg: '{ref_arg}'
Expand Down Expand Up @@ -935,7 +936,7 @@
branches:
- '{ref}'

- functest-kubernetes-dep: &functest-kubernetes-dep
- _functest-kubernetes-dep: &functest-kubernetes-dep
name: 'functest-kubernetes-containers'
repo: '{repo}'
container: '{container}'
Expand All @@ -951,7 +952,7 @@
- functest-kubernetes-pull-containers:
<<: *functest-kubernetes-dep

- functest-kubernetes-dep-params: &functest-kubernetes-dep-params
- _functest-kubernetes-dep-params: &functest-kubernetes-dep-params
name: 'functest-kubernetes-dep-params'
repo: '_'
container: 'alpine'
Expand Down Expand Up @@ -1004,6 +1005,8 @@
DEBIAN_FRONTEND=noninteractive apt-get \
-o DPkg::Lock::Timeout=300 install \
libxml2-dev libxslt-dev libffi-dev libjpeg-dev \
python3.12 python3.12-dev python3.12-distutils \
python3.11 python3.11-dev python3.11-distutils \
python3.10 python3.10-dev python3.10-distutils \
python3.9 python3.9-dev python3.9-distutils \
python3.8 python3.8-dev python3.8-distutils \
Expand Down Expand Up @@ -1327,6 +1330,7 @@
<<: *functest-kubernetes-jobs
- multijob:
name: opnfv/functest-kubernetes-cnf:{tag}
execution-type: SEQUENTIALLY
projects:
- name: 'functest-kubernetes-opnfv-functest-kubernetes-cnf-{tag}-k8s_vims-run'
<<: *functest-kubernetes-jobs
Expand Down Expand Up @@ -1357,7 +1361,7 @@
- last-success
- last-failure
- last-duration
regex: ^functest-kubernetes-[a-z0-9.-]+-review$
regex: ^functest-kubernetes-[a-z0-9.]+-review$

- view:
name: functest-kubernetes-tox
Expand All @@ -1369,7 +1373,7 @@
- last-success
- last-failure
- last-duration
regex: ^functest-kubernetes-[a-z0-9.-]+-tox$
regex: ^functest-kubernetes-[a-z0-9.]+-tox$

- builder:
name: functest-kubernetes-push-containers
Expand Down Expand Up @@ -2159,7 +2163,7 @@
- last-success
- last-failure
- last-duration
regex: ^functest-kubernetes-[a-z0-9.-]+-docker$
regex: ^functest-kubernetes-[a-z0-9.]+-docker$

- view:
name: functest-kubernetes-trivy
Expand Down
20 changes: 10 additions & 10 deletions jjb/functest/functest-pi.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
- functest-pi-containers: &functest-pi-containers
- _functest-pi-containers: &functest-pi-containers
name: 'functest-pi-containers'
repo: '{repo}'
port: '{port}'
container: '{container}'
tag: '{tag}'

- functest-pi-params: &functest-pi-params
- _functest-pi-params: &functest-pi-params
name: 'functest-pi-params'
tag:
- latest:
Expand Down Expand Up @@ -55,7 +55,7 @@
node: lf-virtual6
DASHBOARD_URL: http://172.30.13.91

- functest-pi-ollivier-functest-healthcheck-params: &functest-pi-ollivier-functest-healthcheck-params
- _functest-pi-ollivier-functest-healthcheck-params: &functest-pi-ollivier-functest-healthcheck-params
name: 'functest-pi-ollivier-functest-healthcheck-params'
repo: 'ollivier'
container: 'functest-healthcheck'
Expand Down Expand Up @@ -107,7 +107,7 @@
node: lf-virtual6
DASHBOARD_URL: http://172.30.13.91

- functest-pi-ollivier-functest-smoke-params: &functest-pi-ollivier-functest-smoke-params
- _functest-pi-ollivier-functest-smoke-params: &functest-pi-ollivier-functest-smoke-params
name: 'functest-pi-ollivier-functest-smoke-params'
repo: 'ollivier'
container: 'functest-smoke'
Expand Down Expand Up @@ -159,7 +159,7 @@
node: lf-virtual6
DASHBOARD_URL: http://172.30.13.91

- functest-pi-ollivier-functest-smoke-cntt-params: &functest-pi-ollivier-functest-smoke-cntt-params
- _functest-pi-ollivier-functest-smoke-cntt-params: &functest-pi-ollivier-functest-smoke-cntt-params
name: 'functest-pi-ollivier-functest-smoke-cntt-params'
repo: 'ollivier'
container: 'functest-smoke-cntt'
Expand Down Expand Up @@ -211,7 +211,7 @@
node: lf-virtual6
DASHBOARD_URL: http://172.30.13.91

- functest-pi-ollivier-functest-benchmarking-params: &functest-pi-ollivier-functest-benchmarking-params
- _functest-pi-ollivier-functest-benchmarking-params: &functest-pi-ollivier-functest-benchmarking-params
name: 'functest-pi-ollivier-functest-benchmarking-params'
repo: 'ollivier'
container: 'functest-benchmarking'
Expand Down Expand Up @@ -263,7 +263,7 @@
node: lf-virtual6
DASHBOARD_URL: http://172.30.13.91

- functest-pi-ollivier-functest-benchmarking-cntt-params: &functest-pi-ollivier-functest-benchmarking-cntt-params
- _functest-pi-ollivier-functest-benchmarking-cntt-params: &functest-pi-ollivier-functest-benchmarking-cntt-params
name: 'functest-pi-ollivier-functest-benchmarking-cntt-params'
repo: 'ollivier'
container: 'functest-benchmarking-cntt'
Expand Down Expand Up @@ -315,7 +315,7 @@
node: lf-virtual6
DASHBOARD_URL: http://172.30.13.91

- functest-pi-ollivier-functest-vnf-params: &functest-pi-ollivier-functest-vnf-params
- _functest-pi-ollivier-functest-vnf-params: &functest-pi-ollivier-functest-vnf-params
name: 'functest-pi-ollivier-functest-vnf-params'
repo: 'ollivier'
container: 'functest-vnf'
Expand Down Expand Up @@ -367,7 +367,7 @@
node: lf-virtual6
DASHBOARD_URL: http://172.30.13.91

- functest-pi-jobs: &functest-pi-jobs
- _functest-pi-jobs: &functest-pi-jobs
name: 'functest-pi-jobs'
current-parameters: true

Expand Down Expand Up @@ -405,7 +405,7 @@
name: IMAGE_PROPERTIES
default: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi

- functest-pi-run-containers: &functest-pi-run-containers
- _functest-pi-run-containers: &functest-pi-run-containers
name: 'functest-pi-run-containers'
<<: *functest-pi-containers
privileged: '{privileged}'
Expand Down
Loading

0 comments on commit 20f09e5

Please sign in to comment.