---
-- 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'
port:
tag:
- latest:
- branch: master
- slave: lf-virtual9
- dashboard_url: http://172.30.13.94
+ slave: lf-pod4-2
+ DASHBOARD_URL: http://172.30.12.85
+ - xena:
+ slave: laas-xena
+ DASHBOARD_URL: http://10.200.120.76
+ - wallaby:
+ slave: lf-virtual6
+ DASHBOARD_URL: http://172.30.13.91
- leguer:
- branch: stable/leguer
slave: lf-virtual9
- dashboard_url: http://172.30.13.94
+ DASHBOARD_URL: http://172.30.13.94
- kali:
- branch: stable/kali
slave: lf-pod4-3
- dashboard_url: http://172.30.12.88
+ DASHBOARD_URL: http://172.30.12.88
- jerma:
- branch: stable/jerma
slave: lf-pod4
- dashboard_url: http://172.30.12.83
- - iruya:
- branch: stable/iruya
- slave: lf-virtual4
- dashboard_url: http://172.30.13.89
- - hunter:
- branch: stable/hunter
- slave: lf-virtual6
- dashboard_url: http://172.30.13.91
+ DASHBOARD_URL: http://172.30.12.83
- arm-latest:
- branch: master
- slave: lf-virtual9
- dashboard_url: http://172.30.13.94
+ slave: lf-pod4-2
+ DASHBOARD_URL: http://172.30.12.85
+ - xena-latest:
+ slave: laas-xena
+ DASHBOARD_URL: http://10.200.120.76
+ - arm-wallaby:
+ slave: lf-virtual6
+ DASHBOARD_URL: http://172.30.13.91
- arm-leguer:
- branch: stable/leguer
slave: lf-virtual9
- dashboard_url: http://172.30.13.94
+ DASHBOARD_URL: http://172.30.13.94
- arm-kali:
- branch: stable/kali
slave: lf-pod4-3
- dashboard_url: http://172.30.12.88
+ DASHBOARD_URL: http://172.30.12.88
- arm-jerma:
- branch: stable/jerma
slave: lf-pod4
- dashboard_url: http://172.30.12.83
- - arm-iruya:
- branch: stable/iruya
- slave: lf-virtual4
- dashboard_url: http://172.30.13.89
- - arm-hunter:
- branch: stable/hunter
- slave: lf-virtual6
- dashboard_url: http://172.30.13.91
+ DASHBOARD_URL: http://172.30.12.83
- arm64-latest:
- branch: master
- slave: lf-virtual9
- dashboard_url: http://172.30.13.94
+ slave: lf-pod4-2
+ DASHBOARD_URL: http://172.30.12.85
+ - arm64-xena:
+ slave: laas-xena
+ DASHBOARD_URL: http://10.200.120.76
+ - arm64-wallaby:
+ slave: lf-virtual6
+ DASHBOARD_URL: http://172.30.13.91
- arm64-leguer:
- branch: stable/leguer
slave: lf-virtual9
- dashboard_url: http://172.30.13.94
+ DASHBOARD_URL: http://172.30.13.94
- arm64-kali:
- branch: stable/kali
slave: lf-pod4-3
- dashboard_url: http://172.30.12.88
+ DASHBOARD_URL: http://172.30.12.88
- arm64-jerma:
- branch: stable/jerma
slave: lf-pod4
- dashboard_url: http://172.30.12.83
- - arm64-iruya:
- branch: stable/iruya
- slave: lf-virtual4
- dashboard_url: http://172.30.13.89
- - arm64-hunter:
- branch: stable/hunter
- slave: lf-virtual6
- dashboard_url: http://172.30.13.91
+ DASHBOARD_URL: http://172.30.12.83
+
+- functest-pi-jobs: &functest-pi-jobs
+ name: 'functest-pi-jobs'
+ current-parameters: true
- parameter:
name: functest-pi-slave
- random-string:
name: build_tag
-- parameter:
- name: functest-pi-branch
- parameters:
- - string:
- name: branch
- default: '{branch}'
-
-- parameter:
- name: functest-pi-DEBUG
- parameters:
- - string:
- name: DEBUG
- default: 'true'
- parameter:
name: functest-pi-EXTERNAL_NETWORK
parameters:
- string:
name: EXTERNAL_NETWORK
default: public
+
- parameter:
name: functest-pi-VOLUME_DEVICE_NAME
parameters:
- string:
name: VOLUME_DEVICE_NAME
default: sdb
+
- parameter:
name: functest-pi-IMAGE_PROPERTIES
parameters:
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
test: '{test}'
- dashboard_url: '{dashboard_url}'
privileged: '{privileged}'
+ volumes: '{volumes}'
+ env: '{env}'
network: '{network}'
+ DASHBOARD_URL: '{DASHBOARD_URL}'
- builder:
name: functest-pi-pull-containers
builders:
- shell: |
set +x
- [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
+ volumes=;
+ if [ "{volumes}" != "None" ]; then
+ for i in $(echo {volumes} | tr -d '[]' |sed "s/, / /g" ); \
+ do volumes="-v $i $volumes"; done
+ fi
+ env=;
+ if [ "{env}" != "None" ]; then
+ for i in $(eval echo {env} | tr -d '[]' |sed "s/, / /g" ); \
+ do env="-e $i $env"; done
+ fi
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/results || true
if [ "{repo}" = "_" ]; then
image={container}:{tag}
elif [ "{port}" = "None" ]; then
else
image={repo}:{port}/{container}:{tag}
fi
- volumes=""
- case "{tag}" in
- arm-hunter)
- volumes="-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" ;;
- arm64-hunter)
- volumes="-v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static" ;;
- esac
sudo docker run --rm \
--privileged={privileged} \
--network={network} \
+ $volumes \
+ $env \
-e S3_ENDPOINT_URL=https://storage.googleapis.com \
-e S3_DST_URL=s3://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
-e HTTP_DST_URL=http://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
+ -v /home/opnfv/functest/.boto:/root/.boto \
-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=$slave \
-e BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
- -e DEBUG=$DEBUG \
- -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
- -e DASHBOARD_URL={dashboard_url} \
- -e VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME \
- -e IMAGE_PROPERTIES=$IMAGE_PROPERTIES \
- -v /home/opnfv/functest/.boto:/root/.boto \
- -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
- -v /home/opnfv/functest/images:/home/opnfv/functest/images \
- $volumes $image run_tests -t {test} -r -p
+ -e DASHBOARD_URL={DASHBOARD_URL} \
+ $image run_tests -t {test} -p -r
- builder:
name: functest-pi-remove-images
- 'functest-pi-{repo}-{container}-{tag}-rmi'
- job-template:
- name: 'functest-pi-{repo}-{container}-{tag}-{test}-run'
+ name: 'functest-pi-ollivier-functest-healthcheck-{tag}-{test}-run'
parameters:
- functest-pi-slave:
slave: '{slave}'
- functest-pi-build_tag:
build_tag: ''
- - functest-pi-DEBUG:
- DEBUG: 'true'
- functest-pi-EXTERNAL_NETWORK:
EXTERNAL_NETWORK: public
- functest-pi-VOLUME_DEVICE_NAME:
- project:
name: 'functest-pi-ollivier-functest-healthcheck'
<<: *functest-pi-params
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
+ env:
+ - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
+ - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
+ - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
container: 'functest-healthcheck'
test:
- connection_check
privileged: 'false'
network: bridge
jobs:
- - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
+ - 'functest-pi-ollivier-functest-healthcheck-{tag}-{test}-run'
+
+- job-template:
+ name: 'functest-pi-ollivier-functest-smoke-{tag}-{test}-run'
+ parameters:
+ - functest-pi-slave:
+ slave: '{slave}'
+ - functest-pi-build_tag:
+ build_tag: ''
+ - functest-pi-EXTERNAL_NETWORK:
+ EXTERNAL_NETWORK: public
+ - functest-pi-VOLUME_DEVICE_NAME:
+ VOLUME_DEVICE_NAME: sdb
+ - functest-pi-IMAGE_PROPERTIES:
+ IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
+ builders:
+ - functest-pi-run-containers:
+ <<: *functest-pi-run-containers
- project:
name: 'functest-pi-ollivier-functest-smoke'
<<: *functest-pi-params
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
+ env:
+ - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
+ - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
+ - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
container: 'functest-smoke'
test:
- tempest_neutron
- tempest_barbican
- tempest_octavia
- tempest_cyborg
+ privileged: 'false'
+ network: bridge
exclude:
- tag: latest
test: refstack_defcore
test: networking-sfc
- tag: latest
test: patrole
+ - tag: xena
+ test: refstack_defcore
+ - tag: xena
+ test: networking-bgpvpn
+ - tag: xena
+ test: networking-sfc
+ - tag: xena
+ test: patrole
+ - tag: wallaby
+ test: refstack_defcore
+ - tag: wallaby
+ test: networking-bgpvpn
+ - tag: wallaby
+ test: networking-sfc
+ - tag: wallaby
+ test: patrole
- tag: leguer
test: refstack_defcore
- tag: leguer
test: patrole_reader
- tag: jerma
test: tempest_cyborg
- - tag: iruya
- test: refstack_defcore
- - tag: iruya
- test: patrole_admin
- - tag: iruya
- test: patrole_member
- - tag: iruya
- test: patrole_reader
- - tag: iruya
- test: tempest_cyborg
- - tag: hunter
- test: refstack_compute
- - tag: hunter
- test: refstack_object
- - tag: hunter
- test: refstack_platform
- - tag: hunter
- test: tempest_octavia
- - tag: hunter
- test: tempest_telemetry
- - tag: hunter
- test: patrole_admin
- - tag: hunter
- test: patrole_member
- - tag: hunter
- test: patrole_reader
- - tag: hunter
- test: tempest_cyborg
- tag: arm-latest
test: refstack_defcore
- tag: arm-latest
test: networking-sfc
- tag: arm-latest
test: patrole
+ - tag: arm-xena
+ test: refstack_defcore
+ - tag: arm-xena
+ test: networking-bgpvpn
+ - tag: arm-xena
+ test: networking-sfc
+ - tag: arm-xena
+ test: patrole
+ - tag: arm-wallaby
+ test: refstack_defcore
+ - tag: arm-wallaby
+ test: networking-bgpvpn
+ - tag: arm-wallaby
+ test: networking-sfc
+ - tag: arm-wallaby
+ test: patrole
- tag: arm-leguer
test: refstack_defcore
- tag: arm-leguer
test: patrole_reader
- tag: arm-jerma
test: tempest_cyborg
- - tag: arm-iruya
- test: refstack_defcore
- - tag: arm-iruya
- test: patrole_admin
- - tag: arm-iruya
- test: patrole_member
- - tag: arm-iruya
- test: patrole_reader
- - tag: arm-iruya
- test: tempest_cyborg
- - tag: arm-hunter
- test: refstack_compute
- - tag: arm-hunter
- test: refstack_object
- - tag: arm-hunter
- test: refstack_platform
- - tag: arm-hunter
- test: tempest_octavia
- - tag: arm-hunter
- test: tempest_telemetry
- - tag: arm-hunter
- test: patrole_admin
- - tag: arm-hunter
- test: patrole_member
- - tag: arm-hunter
- test: patrole_reader
- - tag: arm-hunter
- test: tempest_cyborg
- tag: arm64-latest
test: refstack_defcore
- tag: arm64-latest
test: networking-sfc
- tag: arm64-latest
test: patrole
+ - tag: arm64-xena
+ test: refstack_defcore
+ - tag: arm64-xena
+ test: networking-bgpvpn
+ - tag: arm64-xena
+ test: networking-sfc
+ - tag: arm64-xena
+ test: patrole
+ - tag: arm64-wallaby
+ test: refstack_defcore
+ - tag: arm64-wallaby
+ test: networking-bgpvpn
+ - tag: arm64-wallaby
+ test: networking-sfc
+ - tag: arm64-wallaby
+ test: patrole
- tag: arm64-leguer
test: refstack_defcore
- tag: arm64-leguer
test: patrole_reader
- tag: arm64-jerma
test: tempest_cyborg
- - tag: arm64-iruya
- test: refstack_defcore
- - tag: arm64-iruya
- test: patrole_admin
- - tag: arm64-iruya
- test: patrole_member
- - tag: arm64-iruya
- test: patrole_reader
- - tag: arm64-iruya
- test: tempest_cyborg
- - tag: arm64-hunter
- test: refstack_compute
- - tag: arm64-hunter
- test: refstack_object
- - tag: arm64-hunter
- test: refstack_platform
- - tag: arm64-hunter
- test: tempest_octavia
- - tag: arm64-hunter
- test: tempest_telemetry
- - tag: arm64-hunter
- test: patrole_admin
- - tag: arm64-hunter
- test: patrole_member
- - tag: arm64-hunter
- test: patrole_reader
- - tag: arm64-hunter
- test: tempest_cyborg
- privileged: 'false'
- network: bridge
jobs:
- - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
+ - 'functest-pi-ollivier-functest-smoke-{tag}-{test}-run'
+
+- job-template:
+ name: 'functest-pi-ollivier-functest-smoke-cntt-{tag}-{test}-run'
+ parameters:
+ - functest-pi-slave:
+ slave: '{slave}'
+ - functest-pi-build_tag:
+ build_tag: ''
+ - functest-pi-EXTERNAL_NETWORK:
+ EXTERNAL_NETWORK: public
+ - functest-pi-VOLUME_DEVICE_NAME:
+ VOLUME_DEVICE_NAME: sdb
+ - functest-pi-IMAGE_PROPERTIES:
+ IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
+ builders:
+ - functest-pi-run-containers:
+ <<: *functest-pi-run-containers
- project:
name: 'functest-pi-ollivier-functest-smoke-cntt'
<<: *functest-pi-params
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
+ env:
+ - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
+ - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
+ - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
container: 'functest-smoke-cntt'
test:
- tempest_neutron_cntt
privileged: 'false'
network: bridge
jobs:
- - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
+ - 'functest-pi-ollivier-functest-smoke-cntt-{tag}-{test}-run'
+
+- job-template:
+ name: 'functest-pi-ollivier-functest-benchmarking-{tag}-{test}-run'
+ parameters:
+ - functest-pi-slave:
+ slave: '{slave}'
+ - functest-pi-build_tag:
+ build_tag: ''
+ - functest-pi-EXTERNAL_NETWORK:
+ EXTERNAL_NETWORK: public
+ - functest-pi-VOLUME_DEVICE_NAME:
+ VOLUME_DEVICE_NAME: sdb
+ - functest-pi-IMAGE_PROPERTIES:
+ IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
+ builders:
+ - functest-pi-run-containers:
+ <<: *functest-pi-run-containers
- project:
name: 'functest-pi-ollivier-functest-benchmarking'
<<: *functest-pi-params
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
+ env:
+ - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
+ - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
+ - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
container: 'functest-benchmarking'
test:
- rally_full
privileged: 'false'
network: bridge
jobs:
- - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
+ - 'functest-pi-ollivier-functest-benchmarking-{tag}-{test}-run'
+
+- job-template:
+ name: 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-{test}-run'
+ parameters:
+ - functest-pi-slave:
+ slave: '{slave}'
+ - functest-pi-build_tag:
+ build_tag: ''
+ - functest-pi-EXTERNAL_NETWORK:
+ EXTERNAL_NETWORK: public
+ - functest-pi-VOLUME_DEVICE_NAME:
+ VOLUME_DEVICE_NAME: sdb
+ - functest-pi-IMAGE_PROPERTIES:
+ IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
+ builders:
+ - functest-pi-run-containers:
+ <<: *functest-pi-run-containers
- project:
name: 'functest-pi-ollivier-functest-benchmarking-cntt'
<<: *functest-pi-params
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
+ env:
+ - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
+ - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
+ - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
container: 'functest-benchmarking-cntt'
test:
- rally_full_cntt
privileged: 'false'
network: bridge
jobs:
- - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
+ - 'functest-pi-ollivier-functest-benchmarking-cntt-{tag}-{test}-run'
+
+- job-template:
+ name: 'functest-pi-ollivier-functest-vnf-{tag}-{test}-run'
+ parameters:
+ - functest-pi-slave:
+ slave: '{slave}'
+ - functest-pi-build_tag:
+ build_tag: ''
+ - functest-pi-EXTERNAL_NETWORK:
+ EXTERNAL_NETWORK: public
+ - functest-pi-VOLUME_DEVICE_NAME:
+ VOLUME_DEVICE_NAME: sdb
+ - functest-pi-IMAGE_PROPERTIES:
+ IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
+ builders:
+ - functest-pi-run-containers:
+ <<: *functest-pi-run-containers
- project:
name: 'functest-pi-ollivier-functest-vnf'
<<: *functest-pi-params
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
+ env:
+ - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
+ - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
+ - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
container: 'functest-vnf'
test:
- cloudify
privileged: 'false'
network: bridge
jobs:
- - 'functest-pi-{repo}-{container}-{tag}-{test}-run'
-
+ - 'functest-pi-ollivier-functest-vnf-{tag}-{test}-run'
- builder:
name: functest-pi-zip
builders:
- shell: |
set +x
- [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
+ volumes=;
+ if [ "{volumes}" != "None" ]; then
+ for i in $(echo {volumes} | tr -d '[]' |sed "s/, / /g" ); \
+ do volumes="-v $i $volumes"; done
+ fi
+ env=;
+ if [ "{env}" != "None" ]; then
+ for i in $(eval echo {env} | tr -d '[]' |sed "s/, / /g" ); \
+ do env="-e $i $env"; done
+ fi
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/results || true
if [ "{repo}" = "_" ]; then
image={container}:{tag}
elif [ "{port}" = "None" ]; then
else
image={repo}:{port}/{container}:{tag}
fi
- volumes=""
- case "{tag}" in
- arm-hunter)
- volumes="-v /usr/bin/qemu-arm-static:/usr/bin/qemu-arm-static" ;;
- arm64-hunter)
- volumes="-v /usr/bin/qemu-aarch64-static:/usr/bin/qemu-aarch64-static" ;;
- esac
sudo docker run --rm \
+ $volumes \
+ $env \
-e S3_ENDPOINT_URL=https://storage.googleapis.com \
-e S3_DST_URL=s3://artifacts.opnfv.org/functest \
-e HTTP_DST_URL=http://artifacts.opnfv.org/functest \
+ -v /home/opnfv/functest/.boto:/root/.boto \
-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 BUILD_TAG=$BUILD_TAG \
-v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
- -e DEBUG=$DEBUG \
- -e EXTERNAL_NETWORK=$EXTERNAL_NETWORK \
- -e VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME \
- -e IMAGE_PROPERTIES=$IMAGE_PROPERTIES \
- -v /home/opnfv/functest/.boto:/root/.boto \
- -v /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file \
- -v /home/opnfv/functest/images:/home/opnfv/functest/images \
- $volumes $image zip_campaign
+ $image zip_campaign
- job-template:
name: 'functest-pi-{tag}-zip'
slave: '{slave}'
- functest-pi-build_tag:
build_tag: ''
- - functest-pi-DEBUG:
- DEBUG: 'true'
- functest-pi-EXTERNAL_NETWORK:
EXTERNAL_NETWORK: public
- functest-pi-VOLUME_DEVICE_NAME:
builders:
- functest-pi-zip:
<<: *functest-pi-containers
+ volumes: '{volumes}'
+ env: '{env}'
- project:
name: 'functest-pi-{tag}-zip'
<<: *functest-pi-params
+ volumes:
+ - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
+ - /home/opnfv/functest/images:/home/opnfv/functest/images
+ env:
+ - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
+ - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
+ - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
container: 'functest-healthcheck'
jobs:
- 'functest-pi-{tag}-zip'
slave: '{slave}'
- functest-pi-build_tag:
build_tag: ''
- - functest-pi-DEBUG:
- DEBUG: 'true'
- functest-pi-EXTERNAL_NETWORK:
EXTERNAL_NETWORK: public
- functest-pi-VOLUME_DEVICE_NAME:
VOLUME_DEVICE_NAME: sdb
- functest-pi-IMAGE_PROPERTIES:
IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
+ # PyYAML and yamllint differ here
+ # see https://github.com/yaml/pyyaml/issues/234
+ # yamllint disable rule:indentation
properties:
- build-blocker:
- use-build-blocker: true
- blocking-level: 'NODE'
blocking-jobs:
- - '^functest(-pi)?(-ovn)?-(arm.*-|amd64-)*[a-z]+-(daily|gate|check)$'
+ - ^functest-(pi-)*{tag}-(daily|docker|review)$
+ # yamllint enable rule:indentation
builders:
- multijob:
name: remove former images
<<: *functest-pi-jobs
- project:
- name: 'functest-pi'
+ name: 'functest-pi-daily'
<<: *functest-pi-params
jobs:
- 'functest-pi-{tag}-daily'
- last-success
- last-failure
- last-duration
- regex: ^functest-pi(-ovn)?-(arm.*-|amd64-)*[a-z]+-daily$
+ regex: ^functest-pi-[a-z-0-9.]+-daily$