summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-pi.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-14 15:07:44 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-14 15:07:44 +0100
commit876cd53e23632d587dc1229fa29ade3352ccae7c (patch)
tree0a2ad5a6a23691eee5f9c5c53fb084bd5be8b42e /jjb/functest/functest-pi.yaml
parentf0aa868797052e91262aeef09c6e5c97f263af49 (diff)
Reorder jjb to allow us to only build containers
It's required for the new Functest K8s tags. Change-Id: I5a924077e10bef703a946ea952d04c8fa0981329 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest/functest-pi.yaml')
-rw-r--r--jjb/functest/functest-pi.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/jjb/functest/functest-pi.yaml b/jjb/functest/functest-pi.yaml
index 09fef45f8..cd47047f9 100644
--- a/jjb/functest/functest-pi.yaml
+++ b/jjb/functest/functest-pi.yaml
@@ -1,7 +1,10 @@
---
-- functest-pi-jobs: &functest-pi-jobs
- name: 'functest-pi-jobs'
- current-parameters: true
+- functest-pi-containers: &functest-pi-containers
+ name: 'functest-pi-containers'
+ repo: '{repo}'
+ port: '{port}'
+ container: '{container}'
+ tag: '{tag}'
- functest-pi-params: &functest-pi-params
name: 'functest-pi-params'
@@ -63,6 +66,10 @@
slave: lf-virtual6
DASHBOARD_URL: http://172.30.13.91
+- functest-pi-jobs: &functest-pi-jobs
+ name: 'functest-pi-jobs'
+ current-parameters: true
+
- parameter:
name: functest-pi-slave
parameters:
@@ -95,13 +102,6 @@
name: IMAGE_PROPERTIES
default: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
-- functest-pi-containers: &functest-pi-containers
- name: 'functest-pi-containers'
- repo: '{repo}'
- port: '{port}'
- container: '{container}'
- tag: '{tag}'
-
- functest-pi-run-containers: &functest-pi-run-containers
name: 'functest-pi-run-containers'
<<: *functest-pi-containers
@@ -171,7 +171,6 @@
fi
sudo docker rmi $image || true
-
- job-template:
name: 'functest-pi-{repo}-{container}-{tag}-pull'
parameters:
@@ -517,6 +516,7 @@
builders:
- shell: |
set +x
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/results || true
if [ "{repo}" = "_" ]; then
image={container}:{tag}
elif [ "{port}" = "None" ]; then