2 - functest-containers: &functest-containers
3 name: 'functest-containers'
6 container: '{container}'
9 - functest-params: &functest-params
10 name: 'functest-params'
17 DASHBOARD_URL: http://172.30.12.83
24 DASHBOARD_URL: http://172.30.13.94
31 DASHBOARD_URL: http://172.30.12.88
38 DASHBOARD_URL: http://172.30.12.85
43 branch: stable/wallaby
45 DASHBOARD_URL: http://172.30.13.91
48 - functest-opnfv-functest-healthcheck-params: &functest-opnfv-functest-healthcheck-params
49 name: 'functest-opnfv-functest-healthcheck-params'
51 container: 'functest-healthcheck'
59 DASHBOARD_URL: http://172.30.12.83
66 DASHBOARD_URL: http://172.30.13.94
73 DASHBOARD_URL: http://172.30.12.88
80 DASHBOARD_URL: http://172.30.12.85
85 branch: stable/wallaby
87 DASHBOARD_URL: http://172.30.13.91
90 - functest-opnfv-functest-smoke-params: &functest-opnfv-functest-smoke-params
91 name: 'functest-opnfv-functest-smoke-params'
93 container: 'functest-smoke'
101 DASHBOARD_URL: http://172.30.12.83
108 DASHBOARD_URL: http://172.30.13.94
115 DASHBOARD_URL: http://172.30.12.88
122 DASHBOARD_URL: http://172.30.12.85
127 branch: stable/wallaby
129 DASHBOARD_URL: http://172.30.13.91
132 - functest-opnfv-functest-smoke-cntt-params: &functest-opnfv-functest-smoke-cntt-params
133 name: 'functest-opnfv-functest-smoke-cntt-params'
135 container: 'functest-smoke-cntt'
143 DASHBOARD_URL: http://172.30.12.83
150 DASHBOARD_URL: http://172.30.13.94
157 DASHBOARD_URL: http://172.30.12.88
164 DASHBOARD_URL: http://172.30.12.85
169 branch: stable/wallaby
171 DASHBOARD_URL: http://172.30.13.91
174 - functest-opnfv-functest-benchmarking-params: &functest-opnfv-functest-benchmarking-params
175 name: 'functest-opnfv-functest-benchmarking-params'
177 container: 'functest-benchmarking'
185 DASHBOARD_URL: http://172.30.12.83
192 DASHBOARD_URL: http://172.30.13.94
199 DASHBOARD_URL: http://172.30.12.88
206 DASHBOARD_URL: http://172.30.12.85
211 branch: stable/wallaby
213 DASHBOARD_URL: http://172.30.13.91
216 - functest-opnfv-functest-benchmarking-cntt-params: &functest-opnfv-functest-benchmarking-cntt-params
217 name: 'functest-opnfv-functest-benchmarking-cntt-params'
219 container: 'functest-benchmarking-cntt'
227 DASHBOARD_URL: http://172.30.12.83
234 DASHBOARD_URL: http://172.30.13.94
241 DASHBOARD_URL: http://172.30.12.88
248 DASHBOARD_URL: http://172.30.12.85
253 branch: stable/wallaby
255 DASHBOARD_URL: http://172.30.13.91
258 - functest-opnfv-functest-vnf-params: &functest-opnfv-functest-vnf-params
259 name: 'functest-opnfv-functest-vnf-params'
261 container: 'functest-vnf'
269 DASHBOARD_URL: http://172.30.12.83
276 DASHBOARD_URL: http://172.30.13.94
283 DASHBOARD_URL: http://172.30.12.88
290 DASHBOARD_URL: http://172.30.12.85
295 branch: stable/wallaby
297 DASHBOARD_URL: http://172.30.13.91
300 - functest-jobs: &functest-jobs
301 name: 'functest-jobs'
302 current-parameters: true
312 name: functest-build_tag
318 name: functest-EXTERNAL_NETWORK
321 name: EXTERNAL_NETWORK
325 name: functest-VOLUME_DEVICE_NAME
328 name: VOLUME_DEVICE_NAME
332 name: functest-IMAGE_PROPERTIES
335 name: IMAGE_PROPERTIES
336 default: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
338 - functest-run-containers: &functest-run-containers
339 name: 'functest-run-containers'
340 <<: *functest-containers
341 privileged: '{privileged}'
347 published_ports: '{published_ports}'
348 DASHBOARD_URL: '{DASHBOARD_URL}'
351 name: functest-pull-containers
355 if [ "{repo}" = "_" ]; then
356 image={container}:{tag}
357 elif [ "{port}" = "None" ]; then
358 image={repo}/{container}:{tag}
360 image={repo}:{port}/{container}:{tag}
362 sudo docker pull $image
365 name: functest-run-containers
370 if [ "{volumes}" != "None" ]; then
371 for i in $(echo {volumes} | tr -d '[]' |sed "s/, / /g" ); \
372 do volumes="-v $i $volumes"; done
375 if [ "{env}" != "None" ]; then
376 for i in $(eval echo {env} | tr -d '[]' |sed "s/, / /g" ); \
377 do env="-e $i $env"; done
380 if [ "{published_ports}" != "None" ]; then
381 for i in $(echo {published_ports} | tr -d '[]' |sed "s/, / /g" ); \
382 do published_ports="-p $i $published_ports"; done
384 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/results || true
385 if [ "{repo}" = "_" ]; then
386 image={container}:{tag}
387 elif [ "{port}" = "None" ]; then
388 image={repo}/{container}:{tag}
390 image={repo}:{port}/{container}:{tag}
392 sudo mkdir -p $WORKSPACE/results
393 sudo chown {uid}:{gid} $WORKSPACE/results
394 sudo docker run --rm \
395 --privileged={privileged} \
396 --network={network} \
400 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
401 -e S3_DST_URL=s3://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
402 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest/$BUILD_TAG/$JOB_NAME-$BUILD_ID \
403 -v /home/opnfv/functest/.boto:/etc/boto.cfg \
404 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
405 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
407 -e BUILD_TAG=$BUILD_TAG \
408 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
409 -e DASHBOARD_URL={DASHBOARD_URL} \
410 $image run_tests -t {test} -p -r
413 name: functest-remove-images
417 if [ "{repo}" = "_" ]; then
418 image={container}:{tag}
419 elif [ "{port}" = "None" ]; then
420 image={repo}/{container}:{tag}
422 image={repo}:{port}/{container}:{tag}
424 sudo docker rmi $image || true
427 name: 'functest-opnfv-functest-healthcheck-{tag}-pull'
432 - functest-pull-containers:
433 <<: *functest-containers
436 name: 'functest-opnfv-functest-healthcheck-pull'
437 <<: *functest-opnfv-functest-healthcheck-params
439 - 'functest-opnfv-functest-healthcheck-{tag}-pull'
442 name: 'functest-opnfv-functest-healthcheck-{tag}-rmi'
447 - functest-remove-images:
448 <<: *functest-containers
451 name: 'functest-opnfv-functest-healthcheck-rmi'
452 <<: *functest-opnfv-functest-healthcheck-params
454 - 'functest-opnfv-functest-healthcheck-{tag}-rmi'
457 name: 'functest-opnfv-functest-smoke-{tag}-pull'
462 - functest-pull-containers:
463 <<: *functest-containers
466 name: 'functest-opnfv-functest-smoke-pull'
467 <<: *functest-opnfv-functest-smoke-params
469 - 'functest-opnfv-functest-smoke-{tag}-pull'
472 name: 'functest-opnfv-functest-smoke-{tag}-rmi'
477 - functest-remove-images:
478 <<: *functest-containers
481 name: 'functest-opnfv-functest-smoke-rmi'
482 <<: *functest-opnfv-functest-smoke-params
484 - 'functest-opnfv-functest-smoke-{tag}-rmi'
487 name: 'functest-opnfv-functest-smoke-cntt-{tag}-pull'
492 - functest-pull-containers:
493 <<: *functest-containers
496 name: 'functest-opnfv-functest-smoke-cntt-pull'
497 <<: *functest-opnfv-functest-smoke-cntt-params
499 - 'functest-opnfv-functest-smoke-cntt-{tag}-pull'
502 name: 'functest-opnfv-functest-smoke-cntt-{tag}-rmi'
507 - functest-remove-images:
508 <<: *functest-containers
511 name: 'functest-opnfv-functest-smoke-cntt-rmi'
512 <<: *functest-opnfv-functest-smoke-cntt-params
514 - 'functest-opnfv-functest-smoke-cntt-{tag}-rmi'
517 name: 'functest-opnfv-functest-benchmarking-{tag}-pull'
522 - functest-pull-containers:
523 <<: *functest-containers
526 name: 'functest-opnfv-functest-benchmarking-pull'
527 <<: *functest-opnfv-functest-benchmarking-params
529 - 'functest-opnfv-functest-benchmarking-{tag}-pull'
532 name: 'functest-opnfv-functest-benchmarking-{tag}-rmi'
537 - functest-remove-images:
538 <<: *functest-containers
541 name: 'functest-opnfv-functest-benchmarking-rmi'
542 <<: *functest-opnfv-functest-benchmarking-params
544 - 'functest-opnfv-functest-benchmarking-{tag}-rmi'
547 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-pull'
552 - functest-pull-containers:
553 <<: *functest-containers
556 name: 'functest-opnfv-functest-benchmarking-cntt-pull'
557 <<: *functest-opnfv-functest-benchmarking-cntt-params
559 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-pull'
562 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-rmi'
567 - functest-remove-images:
568 <<: *functest-containers
571 name: 'functest-opnfv-functest-benchmarking-cntt-rmi'
572 <<: *functest-opnfv-functest-benchmarking-cntt-params
574 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-rmi'
577 name: 'functest-opnfv-functest-vnf-{tag}-pull'
582 - functest-pull-containers:
583 <<: *functest-containers
586 name: 'functest-opnfv-functest-vnf-pull'
587 <<: *functest-opnfv-functest-vnf-params
589 - 'functest-opnfv-functest-vnf-{tag}-pull'
592 name: 'functest-opnfv-functest-vnf-{tag}-rmi'
597 - functest-remove-images:
598 <<: *functest-containers
601 name: 'functest-opnfv-functest-vnf-rmi'
602 <<: *functest-opnfv-functest-vnf-params
604 - 'functest-opnfv-functest-vnf-{tag}-rmi'
607 name: 'functest-opnfv-functest-healthcheck-{tag}-{test}-run'
611 - functest-build_tag:
613 - functest-EXTERNAL_NETWORK:
614 EXTERNAL_NETWORK: public
615 - functest-VOLUME_DEVICE_NAME:
616 VOLUME_DEVICE_NAME: sdb
617 - functest-IMAGE_PROPERTIES:
618 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
620 - functest-run-containers:
621 <<: *functest-run-containers
625 name: 'functest-opnfv-functest-healthcheck'
626 <<: *functest-opnfv-functest-healthcheck-params
628 - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
629 - /home/opnfv/functest/images:/home/opnfv/functest/images
631 - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
632 - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
633 - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
635 container: 'functest-healthcheck'
655 - 'functest-opnfv-functest-healthcheck-{tag}-{test}-run'
658 name: 'functest-opnfv-functest-smoke-{tag}-{test}-run'
662 - functest-build_tag:
664 - functest-EXTERNAL_NETWORK:
665 EXTERNAL_NETWORK: public
666 - functest-VOLUME_DEVICE_NAME:
667 VOLUME_DEVICE_NAME: sdb
668 - functest-IMAGE_PROPERTIES:
669 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
671 - functest-run-containers:
672 <<: *functest-run-containers
676 name: 'functest-opnfv-functest-smoke'
677 <<: *functest-opnfv-functest-smoke-params
679 - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
680 - /home/opnfv/functest/images:/home/opnfv/functest/images
682 - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
683 - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
684 - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
686 container: 'functest-smoke'
711 - 'functest-opnfv-functest-smoke-{tag}-{test}-run'
714 name: 'functest-opnfv-functest-smoke-cntt-{tag}-{test}-run'
718 - functest-build_tag:
720 - functest-EXTERNAL_NETWORK:
721 EXTERNAL_NETWORK: public
722 - functest-VOLUME_DEVICE_NAME:
723 VOLUME_DEVICE_NAME: sdb
724 - functest-IMAGE_PROPERTIES:
725 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
727 - functest-run-containers:
728 <<: *functest-run-containers
732 name: 'functest-opnfv-functest-smoke-cntt'
733 <<: *functest-opnfv-functest-smoke-cntt-params
735 - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
736 - /home/opnfv/functest/images:/home/opnfv/functest/images
738 - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
739 - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
740 - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
742 container: 'functest-smoke-cntt'
744 - tempest_neutron_cntt
745 - tempest_cinder_cntt
746 - tempest_keystone_cntt
750 - tempest_scenario_cntt
757 - 'functest-opnfv-functest-smoke-cntt-{tag}-{test}-run'
760 name: 'functest-opnfv-functest-benchmarking-{tag}-{test}-run'
764 - functest-build_tag:
766 - functest-EXTERNAL_NETWORK:
767 EXTERNAL_NETWORK: public
768 - functest-VOLUME_DEVICE_NAME:
769 VOLUME_DEVICE_NAME: sdb
770 - functest-IMAGE_PROPERTIES:
771 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
773 - functest-run-containers:
774 <<: *functest-run-containers
778 name: 'functest-opnfv-functest-benchmarking'
779 <<: *functest-opnfv-functest-benchmarking-params
781 - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
782 - /home/opnfv/functest/images:/home/opnfv/functest/images
784 - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
785 - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
786 - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
788 container: 'functest-benchmarking'
799 - 'functest-opnfv-functest-benchmarking-{tag}-{test}-run'
802 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-{test}-run'
806 - functest-build_tag:
808 - functest-EXTERNAL_NETWORK:
809 EXTERNAL_NETWORK: public
810 - functest-VOLUME_DEVICE_NAME:
811 VOLUME_DEVICE_NAME: sdb
812 - functest-IMAGE_PROPERTIES:
813 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
815 - functest-run-containers:
816 <<: *functest-run-containers
820 name: 'functest-opnfv-functest-benchmarking-cntt'
821 <<: *functest-opnfv-functest-benchmarking-cntt-params
823 - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
824 - /home/opnfv/functest/images:/home/opnfv/functest/images
826 - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
827 - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
828 - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
830 container: 'functest-benchmarking-cntt'
839 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-{test}-run'
842 name: 'functest-opnfv-functest-vnf-{tag}-{test}-run'
846 - functest-build_tag:
848 - functest-EXTERNAL_NETWORK:
849 EXTERNAL_NETWORK: public
850 - functest-VOLUME_DEVICE_NAME:
851 VOLUME_DEVICE_NAME: sdb
852 - functest-IMAGE_PROPERTIES:
853 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
855 - functest-run-containers:
856 <<: *functest-run-containers
860 name: 'functest-opnfv-functest-vnf'
861 <<: *functest-opnfv-functest-vnf-params
863 - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
864 - /home/opnfv/functest/images:/home/opnfv/functest/images
866 - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
867 - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
868 - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
870 container: 'functest-vnf'
882 - 'functest-opnfv-functest-vnf-{tag}-{test}-run'
890 if [ "{volumes}" != "None" ]; then
891 for i in $(echo {volumes} | tr -d '[]' |sed "s/, / /g" ); \
892 do volumes="-v $i $volumes"; done
895 if [ "{env}" != "None" ]; then
896 for i in $(eval echo {env} | tr -d '[]' |sed "s/, / /g" ); \
897 do env="-e $i $env"; done
900 if [ "{published_ports}" != "None" ]; then
901 for i in $(echo {published_ports} | tr -d '[]' |sed "s/, / /g" ); \
902 do published_ports="-p $i $published_ports"; done
904 [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/results || true
905 if [ "{repo}" = "_" ]; then
906 image={container}:{tag}
907 elif [ "{port}" = "None" ]; then
908 image={repo}/{container}:{tag}
910 image={repo}:{port}/{container}:{tag}
912 sudo mkdir -p $WORKSPACE/results
913 sudo chown {uid}:{gid} $WORKSPACE/results
914 sudo docker run --rm \
915 --privileged={privileged} \
916 --network={network} \
920 -e S3_ENDPOINT_URL=https://storage.googleapis.com \
921 -e S3_DST_URL=s3://artifacts.opnfv.org/functest \
922 -e HTTP_DST_URL=http://artifacts.opnfv.org/functest \
923 -v /home/opnfv/functest/.boto:/etc/boto.cfg \
924 -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
925 -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
927 -e BUILD_TAG=$BUILD_TAG \
928 -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
929 -e DASHBOARD_URL={DASHBOARD_URL} \
933 name: 'functest-{tag}-zip'
937 - functest-build_tag:
939 - functest-EXTERNAL_NETWORK:
940 EXTERNAL_NETWORK: public
941 - functest-VOLUME_DEVICE_NAME:
942 VOLUME_DEVICE_NAME: sdb
943 - functest-IMAGE_PROPERTIES:
944 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
947 <<: *functest-run-containers
951 <<: *functest-opnfv-functest-healthcheck-params
953 - /home/opnfv/functest/openstack.creds:/home/opnfv/functest/conf/env_file
954 - /home/opnfv/functest/images:/home/opnfv/functest/images
956 - EXTERNAL_NETWORK=$EXTERNAL_NETWORK
957 - VOLUME_DEVICE_NAME=$VOLUME_DEVICE_NAME
958 - IMAGE_PROPERTIES=$IMAGE_PROPERTIES
960 container: 'functest-healthcheck'
966 - 'functest-{tag}-zip'
969 name: 'functest-{tag}-daily'
970 project-type: multijob
976 - functest-build_tag:
978 - functest-EXTERNAL_NETWORK:
979 EXTERNAL_NETWORK: public
980 - functest-VOLUME_DEVICE_NAME:
981 VOLUME_DEVICE_NAME: sdb
982 - functest-IMAGE_PROPERTIES:
983 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
984 # PyYAML and yamllint differ here
985 # see https://github.com/yaml/pyyaml/issues/234
986 # yamllint disable rule:indentation
990 - ^functest-(pi-)*{tag}-(daily|docker|review)$
991 # yamllint enable rule:indentation
994 name: remove former images
996 - name: 'functest-opnfv-functest-healthcheck-{tag}-rmi'
998 - name: 'functest-opnfv-functest-smoke-{tag}-rmi'
1000 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-rmi'
1002 - name: 'functest-opnfv-functest-benchmarking-{tag}-rmi'
1004 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-rmi'
1006 - name: 'functest-opnfv-functest-vnf-{tag}-rmi'
1009 name: pull containers
1011 - name: 'functest-opnfv-functest-healthcheck-{tag}-pull'
1013 - name: 'functest-opnfv-functest-smoke-{tag}-pull'
1015 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-pull'
1017 - name: 'functest-opnfv-functest-benchmarking-{tag}-pull'
1019 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-pull'
1021 - name: 'functest-opnfv-functest-vnf-{tag}-pull'
1024 name: opnfv/functest-healthcheck:{tag}
1026 - name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run'
1028 - name: 'functest-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
1030 - name: 'functest-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
1032 - name: 'functest-opnfv-functest-healthcheck-{tag}-vmready1-run'
1034 - name: 'functest-opnfv-functest-healthcheck-{tag}-vmready2-run'
1036 - name: 'functest-opnfv-functest-healthcheck-{tag}-singlevm1-run'
1038 - name: 'functest-opnfv-functest-healthcheck-{tag}-singlevm2-run'
1040 - name: 'functest-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
1042 - name: 'functest-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
1044 - name: 'functest-opnfv-functest-healthcheck-{tag}-cinder_test-run'
1046 - name: 'functest-opnfv-functest-healthcheck-{tag}-odl-run'
1048 - name: 'functest-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
1050 - name: 'functest-opnfv-functest-healthcheck-{tag}-tempest_horizon-run'
1053 name: opnfv/functest-smoke:{tag}
1055 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_neutron-run'
1057 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_cinder-run'
1059 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_keystone-run'
1061 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_heat-run'
1063 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_telemetry-run'
1065 - name: 'functest-opnfv-functest-smoke-{tag}-rally_sanity-run'
1067 - name: 'functest-opnfv-functest-smoke-{tag}-refstack_compute-run'
1069 - name: 'functest-opnfv-functest-smoke-{tag}-refstack_object-run'
1071 - name: 'functest-opnfv-functest-smoke-{tag}-refstack_platform-run'
1073 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_full-run'
1075 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_scenario-run'
1077 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_slow-run'
1079 - name: 'functest-opnfv-functest-smoke-{tag}-patrole_admin-run'
1081 - name: 'functest-opnfv-functest-smoke-{tag}-patrole_member-run'
1083 - name: 'functest-opnfv-functest-smoke-{tag}-patrole_reader-run'
1085 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_barbican-run'
1087 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_octavia-run'
1089 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_cyborg-run'
1092 name: opnfv/functest-smoke-cntt:{tag}
1094 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
1096 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
1098 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
1100 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
1102 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
1104 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
1106 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
1108 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
1111 name: opnfv/functest-benchmarking:{tag}
1113 - name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run'
1115 - name: 'functest-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
1117 - name: 'functest-opnfv-functest-benchmarking-{tag}-vmtp-run'
1119 - name: 'functest-opnfv-functest-benchmarking-{tag}-shaker-run'
1122 name: opnfv/functest-benchmarking-cntt:{tag}
1124 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
1126 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
1129 name: opnfv/functest-vnf:{tag}
1131 - name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
1133 - name: 'functest-opnfv-functest-vnf-{tag}-cloudify_ims-run'
1135 - name: 'functest-opnfv-functest-vnf-{tag}-heat_ims-run'
1137 - name: 'functest-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
1139 - name: 'functest-opnfv-functest-vnf-{tag}-juju_epc-run'
1142 name: dump all campaign data
1144 - name: 'functest-{tag}-zip'
1151 recipients: cedric.ollivier@orange.com
1154 name: 'functest-daily'
1155 <<: *functest-params
1157 - 'functest-{tag}-daily'
1169 regex: ^functest-[a-z0-9.-]+-daily$
1171 - functest-build-containers: &functest-build-containers
1172 name: 'functest-build-containers'
1173 <<: *functest-containers
1174 ref_arg: '{ref_arg}'
1176 build_args: '{build_args}'
1180 name: functest-build-containers
1184 if [ "{repo}" = "_" ]; then
1185 image={container}:{tag}
1186 elif [ "{port}" = "None" ]; then
1187 image={repo}/{container}:{tag}
1189 image={repo}:{port}/{container}:{tag}
1192 if [ "{build_args}" != "None" ]; then
1193 for i in $(echo {build_args} | tr -d '[]' |sed "s/, / /g" ); \
1194 do build_args="--build-arg $i $build_args"; done
1196 if [ "{ref_arg}" != "None" ]; then
1197 build_args="$build_args --build-arg {ref_arg}={ref}"
1200 if [ "{from}" != "None" ]; then
1201 sed -i {from} Dockerfile
1203 sudo docker build $build_args \
1204 --pull=false --no-cache --force-rm=true \
1211 url: 'https://gerrit.opnfv.org/gerrit/functest'
1212 refspec: '+refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/*'
1216 - functest-dep: &functest-dep
1217 name: 'functest-containers'
1219 container: '{container}'
1224 name: 'functest-{tag}-dep-pull'
1229 - functest-pull-containers:
1232 - functest-dep-params: &functest-dep-params
1233 name: 'functest-dep-params'
1250 name: 'functest-dep-pull'
1251 <<: *functest-dep-params
1253 - 'functest-{tag}-dep-pull'
1256 name: 'functest-{tag}-dep-rmi'
1261 - functest-remove-images:
1265 name: 'functest-dep-rmi'
1266 <<: *functest-dep-params
1268 - 'functest-{tag}-dep-rmi'
1275 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
1276 sudo DEBIAN_FRONTEND=noninteractive apt-get \
1277 -o DPkg::Lock::Timeout=300 dist-upgrade -y
1278 sudo DEBIAN_FRONTEND=noninteractive \
1279 apt-get -o DPkg::Lock::Timeout=300 install software-properties-common gpg -y
1280 sudo add-apt-repository -y ppa:deadsnakes/ppa
1281 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
1282 sudo DEBIAN_FRONTEND=noninteractive apt-get \
1283 -o DPkg::Lock::Timeout=300 install \
1284 libxml2-dev libxslt-dev libffi-dev libjpeg-dev \
1285 python3.10 python3.10-dev python3.10-distutils \
1286 python3.9 python3.9-dev python3.9-distutils \
1287 python3.8 python3.8-dev python3.8-distutils \
1288 python3-pip enchant-2 -y
1289 sudo pip3 install tox
1294 name: 'functest-{tag}-tox'
1297 ref: $GERRIT_REFSPEC
1299 - functest-patchset-created:
1309 <<: *functest-params
1311 - 'functest-{tag}-tox'
1314 name: 'functest-opnfv-functest-core-{tag}-gate'
1320 ref: $GERRIT_REFSPEC
1322 - functest-build-containers:
1323 <<: *functest-build-containers
1324 ref: $GERRIT_REFSPEC
1325 build_args: '{build_args}'
1328 name: functest-opnfv-functest-core-gate
1329 <<: *functest-params
1332 container: functest-core
1336 - 'functest-opnfv-functest-core-{tag}-gate'
1339 name: 'functest-opnfv-functest-healthcheck-{tag}-gate'
1345 ref: $GERRIT_REFSPEC
1347 - functest-build-containers:
1348 <<: *functest-build-containers
1349 ref: $GERRIT_REFSPEC
1350 build_args: '{build_args}'
1353 name: functest-opnfv-functest-healthcheck-gate
1354 <<: *functest-params
1357 container: functest-healthcheck
1359 path: docker/healthcheck
1361 - 'functest-opnfv-functest-healthcheck-{tag}-gate'
1364 name: 'functest-opnfv-functest-smoke-{tag}-gate'
1370 ref: $GERRIT_REFSPEC
1372 - functest-build-containers:
1373 <<: *functest-build-containers
1374 ref: $GERRIT_REFSPEC
1375 build_args: '{build_args}'
1378 name: functest-opnfv-functest-smoke-gate
1379 <<: *functest-params
1382 container: functest-smoke
1386 - 'functest-opnfv-functest-smoke-{tag}-gate'
1389 name: 'functest-opnfv-functest-benchmarking-{tag}-gate'
1395 ref: $GERRIT_REFSPEC
1397 - functest-build-containers:
1398 <<: *functest-build-containers
1399 ref: $GERRIT_REFSPEC
1400 build_args: '{build_args}'
1403 name: functest-opnfv-functest-benchmarking-gate
1404 <<: *functest-params
1407 container: functest-benchmarking
1409 path: docker/benchmarking
1411 - 'functest-opnfv-functest-benchmarking-{tag}-gate'
1414 name: 'functest-opnfv-functest-vnf-{tag}-gate'
1420 ref: $GERRIT_REFSPEC
1422 - functest-build-containers:
1423 <<: *functest-build-containers
1424 ref: $GERRIT_REFSPEC
1425 build_args: '{build_args}'
1428 name: functest-opnfv-functest-vnf-gate
1429 <<: *functest-params
1432 container: functest-vnf
1436 - 'functest-opnfv-functest-vnf-{tag}-gate'
1439 name: 'functest-opnfv-functest-smoke-cntt-{tag}-gate'
1445 ref: $GERRIT_REFSPEC
1447 - functest-build-containers:
1448 <<: *functest-build-containers
1449 ref: $GERRIT_REFSPEC
1450 build_args: '{build_args}'
1453 name: functest-opnfv-functest-smoke-cntt-gate
1454 <<: *functest-params
1457 container: functest-smoke-cntt
1459 path: docker/smoke-cntt
1461 - 'functest-opnfv-functest-smoke-cntt-{tag}-gate'
1464 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-gate'
1470 ref: $GERRIT_REFSPEC
1472 - functest-build-containers:
1473 <<: *functest-build-containers
1474 ref: $GERRIT_REFSPEC
1475 build_args: '{build_args}'
1478 name: functest-opnfv-functest-benchmarking-cntt-gate
1479 <<: *functest-params
1482 container: functest-benchmarking-cntt
1484 path: docker/benchmarking-cntt
1486 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-gate'
1489 name: functest-patchset-created
1493 - patchset-created-event
1494 - comment-added-contains-event:
1495 comment-contains-value: 'recheck'
1496 - comment-added-contains-event:
1497 comment-contains-value: 'reverify'
1499 - project-compare-type: 'ANT'
1500 project-pattern: 'functest'
1502 - branch-compare-type: 'ANT'
1503 branch-pattern: '**/{branch}'
1506 name: 'functest-{tag}-review'
1507 project-type: multijob
1509 - functest-patchset-created:
1514 - functest-build_tag:
1516 - functest-EXTERNAL_NETWORK:
1517 EXTERNAL_NETWORK: public
1518 - functest-VOLUME_DEVICE_NAME:
1519 VOLUME_DEVICE_NAME: sdb
1520 - functest-IMAGE_PROPERTIES:
1521 IMAGE_PROPERTIES: hw_scsi_model:virtio-scsi,hw_disk_bus:scsi
1522 # PyYAML and yamllint differ here
1523 # see https://github.com/yaml/pyyaml/issues/234
1524 # yamllint disable rule:indentation
1528 - ^functest-(pi-)*{tag}-(daily|docker|review)$
1529 # yamllint enable rule:indentation
1532 name: remove former images
1534 - name: 'functest-opnfv-functest-healthcheck-{tag}-rmi'
1536 - name: 'functest-opnfv-functest-smoke-{tag}-rmi'
1538 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-rmi'
1540 - name: 'functest-opnfv-functest-benchmarking-{tag}-rmi'
1542 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-rmi'
1544 - name: 'functest-opnfv-functest-vnf-{tag}-rmi'
1547 name: remove dependency
1549 - name: 'functest-{tag}-dep-rmi'
1552 name: pull dependency
1554 - name: 'functest-{tag}-dep-pull'
1557 name: build opnfv/functest-core
1559 - name: 'functest-opnfv-functest-core-{tag}-gate'
1562 name: build containers
1564 - name: 'functest-opnfv-functest-healthcheck-{tag}-gate'
1566 - name: 'functest-opnfv-functest-smoke-{tag}-gate'
1568 - name: 'functest-opnfv-functest-benchmarking-{tag}-gate'
1570 - name: 'functest-opnfv-functest-vnf-{tag}-gate'
1573 name: build cntt containers
1575 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-gate'
1577 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-gate'
1580 name: opnfv/functest-healthcheck:{tag}
1582 - name: 'functest-opnfv-functest-healthcheck-{tag}-connection_check-run'
1584 - name: 'functest-opnfv-functest-healthcheck-{tag}-tenantnetwork1-run'
1586 - name: 'functest-opnfv-functest-healthcheck-{tag}-tenantnetwork2-run'
1588 - name: 'functest-opnfv-functest-healthcheck-{tag}-vmready1-run'
1590 - name: 'functest-opnfv-functest-healthcheck-{tag}-vmready2-run'
1592 - name: 'functest-opnfv-functest-healthcheck-{tag}-singlevm1-run'
1594 - name: 'functest-opnfv-functest-healthcheck-{tag}-singlevm2-run'
1596 - name: 'functest-opnfv-functest-healthcheck-{tag}-vping_ssh-run'
1598 - name: 'functest-opnfv-functest-healthcheck-{tag}-vping_userdata-run'
1600 - name: 'functest-opnfv-functest-healthcheck-{tag}-cinder_test-run'
1602 - name: 'functest-opnfv-functest-healthcheck-{tag}-odl-run'
1604 - name: 'functest-opnfv-functest-healthcheck-{tag}-tempest_smoke-run'
1606 - name: 'functest-opnfv-functest-healthcheck-{tag}-tempest_horizon-run'
1609 name: opnfv/functest-smoke:{tag}
1611 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_neutron-run'
1613 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_cinder-run'
1615 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_keystone-run'
1617 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_heat-run'
1619 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_telemetry-run'
1621 - name: 'functest-opnfv-functest-smoke-{tag}-rally_sanity-run'
1623 - name: 'functest-opnfv-functest-smoke-{tag}-refstack_compute-run'
1625 - name: 'functest-opnfv-functest-smoke-{tag}-refstack_object-run'
1627 - name: 'functest-opnfv-functest-smoke-{tag}-refstack_platform-run'
1629 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_full-run'
1631 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_scenario-run'
1633 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_slow-run'
1635 - name: 'functest-opnfv-functest-smoke-{tag}-patrole_admin-run'
1637 - name: 'functest-opnfv-functest-smoke-{tag}-patrole_member-run'
1639 - name: 'functest-opnfv-functest-smoke-{tag}-patrole_reader-run'
1641 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_barbican-run'
1643 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_octavia-run'
1645 - name: 'functest-opnfv-functest-smoke-{tag}-tempest_cyborg-run'
1648 name: opnfv/functest-smoke-cntt:{tag}
1650 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_neutron_cntt-run'
1652 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_cinder_cntt-run'
1654 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_keystone_cntt-run'
1656 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_heat_cntt-run'
1658 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-rally_sanity_cntt-run'
1660 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_full_cntt-run'
1662 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_scenario_cntt-run'
1664 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-tempest_slow_cntt-run'
1667 name: opnfv/functest-benchmarking:{tag}
1669 - name: 'functest-opnfv-functest-benchmarking-{tag}-rally_full-run'
1671 - name: 'functest-opnfv-functest-benchmarking-{tag}-rally_jobs-run'
1673 - name: 'functest-opnfv-functest-benchmarking-{tag}-vmtp-run'
1675 - name: 'functest-opnfv-functest-benchmarking-{tag}-shaker-run'
1678 name: opnfv/functest-benchmarking-cntt:{tag}
1680 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-rally_full_cntt-run'
1682 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-rally_jobs_cntt-run'
1685 name: opnfv/functest-vnf:{tag}
1687 - name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
1689 - name: 'functest-opnfv-functest-vnf-{tag}-cloudify_ims-run'
1691 - name: 'functest-opnfv-functest-vnf-{tag}-heat_ims-run'
1693 - name: 'functest-opnfv-functest-vnf-{tag}-vyos_vrouter-run'
1695 - name: 'functest-opnfv-functest-vnf-{tag}-juju_epc-run'
1702 recipients: cedric.ollivier@orange.com
1705 name: 'functest-review'
1706 <<: *functest-params
1708 - 'functest-{tag}-review'
1711 name: functest-review
1720 regex: ^functest-[a-z0-9.-]+-review$
1732 regex: ^functest-[a-z0-9.-]+-tox$
1735 name: functest-push-containers
1739 if [ "{repo}" = "_" ]; then
1740 image={container}:{tag}
1741 elif [ "{port}" = "None" ]; then
1742 image={repo}/{container}:{tag}
1744 image={repo}:{port}/{container}:{tag}
1746 sudo docker push $image
1749 name: functest-commit
1752 cron: "*/30 * * * *"
1755 name: 'functest-opnfv-functest-core-{tag}-build'
1763 - functest-build-containers:
1764 <<: *functest-build-containers
1766 build_args: '{build_args}'
1767 - functest-push-containers:
1768 <<: *functest-build-containers
1772 name: functest-opnfv-functest-core-build
1773 <<: *functest-params
1775 container: functest-core
1780 - 'functest-opnfv-functest-core-{tag}-build'
1783 name: 'functest-opnfv-functest-healthcheck-{tag}-build'
1791 - functest-build-containers:
1792 <<: *functest-build-containers
1794 build_args: '{build_args}'
1795 - functest-push-containers:
1796 <<: *functest-build-containers
1800 name: functest-opnfv-functest-healthcheck-build
1801 <<: *functest-params
1803 container: functest-healthcheck
1806 path: docker/healthcheck
1808 - 'functest-opnfv-functest-healthcheck-{tag}-build'
1811 name: 'functest-opnfv-functest-smoke-{tag}-build'
1819 - functest-build-containers:
1820 <<: *functest-build-containers
1822 build_args: '{build_args}'
1823 - functest-push-containers:
1824 <<: *functest-build-containers
1828 name: functest-opnfv-functest-smoke-build
1829 <<: *functest-params
1831 container: functest-smoke
1836 - 'functest-opnfv-functest-smoke-{tag}-build'
1839 name: 'functest-opnfv-functest-benchmarking-{tag}-build'
1847 - functest-build-containers:
1848 <<: *functest-build-containers
1850 build_args: '{build_args}'
1851 - functest-push-containers:
1852 <<: *functest-build-containers
1856 name: functest-opnfv-functest-benchmarking-build
1857 <<: *functest-params
1859 container: functest-benchmarking
1862 path: docker/benchmarking
1864 - 'functest-opnfv-functest-benchmarking-{tag}-build'
1867 name: 'functest-opnfv-functest-vnf-{tag}-build'
1875 - functest-build-containers:
1876 <<: *functest-build-containers
1878 build_args: '{build_args}'
1879 - functest-push-containers:
1880 <<: *functest-build-containers
1884 name: functest-opnfv-functest-vnf-build
1885 <<: *functest-params
1887 container: functest-vnf
1892 - 'functest-opnfv-functest-vnf-{tag}-build'
1895 name: 'functest-opnfv-functest-smoke-cntt-{tag}-build'
1903 - functest-build-containers:
1904 <<: *functest-build-containers
1906 build_args: '{build_args}'
1907 - functest-push-containers:
1908 <<: *functest-build-containers
1912 name: functest-opnfv-functest-smoke-cntt-build
1913 <<: *functest-params
1915 container: functest-smoke-cntt
1918 path: docker/smoke-cntt
1920 - 'functest-opnfv-functest-smoke-cntt-{tag}-build'
1923 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-build'
1931 - functest-build-containers:
1932 <<: *functest-build-containers
1934 build_args: '{build_args}'
1935 - functest-push-containers:
1936 <<: *functest-build-containers
1940 name: functest-opnfv-functest-benchmarking-cntt-build
1941 <<: *functest-params
1943 container: functest-benchmarking-cntt
1946 path: docker/benchmarking-cntt
1948 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-build'
1951 name: 'functest-{tag}-docker'
1952 project-type: multijob
1961 # PyYAML and yamllint differ here
1962 # see https://github.com/yaml/pyyaml/issues/234
1963 # yamllint disable rule:indentation
1967 - ^functest-(pi-)*{tag}-(daily|docker|review)$
1968 # yamllint enable rule:indentation
1971 name: remove dependency
1973 - name: 'functest-{tag}-dep-rmi'
1976 name: pull dependency
1978 - name: 'functest-{tag}-dep-pull'
1981 name: build opnfv/functest-core
1983 - name: 'functest-opnfv-functest-core-{tag}-build'
1986 name: build containers
1988 - name: 'functest-opnfv-functest-healthcheck-{tag}-build'
1990 - name: 'functest-opnfv-functest-smoke-{tag}-build'
1992 - name: 'functest-opnfv-functest-benchmarking-{tag}-build'
1994 - name: 'functest-opnfv-functest-vnf-{tag}-build'
1997 name: build cntt containers
1999 - name: 'functest-opnfv-functest-smoke-cntt-{tag}-build'
2001 - name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-build'
2008 recipients: cedric.ollivier@orange.com
2011 name: 'functest-docker'
2012 <<: *functest-params
2014 - 'functest-{tag}-docker'
2017 name: functest-trivy
2020 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
2021 sudo DEBIAN_FRONTEND=noninteractive apt-get \
2022 -o DPkg::Lock::Timeout=300 install curl -y
2024 curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b .
2025 if [ "{repo}" = "_" ]; then
2026 image={container}:{tag}
2027 elif [ "{port}" = "None" ]; then
2028 image={repo}/{container}:{tag}
2030 image={repo}:{port}/{container}:{tag}
2032 ./trivy image --exit-code 1 $image
2035 name: 'functest-opnfv-functest-core-{tag}-trivy'
2043 <<: *functest-containers
2049 recipients: cedric.ollivier@orange.com
2052 name: 'functest-opnfv-functest-core-trivy'
2053 <<: *functest-params
2055 container: 'functest-core'
2058 - 'functest-opnfv-functest-core-{tag}-trivy'
2061 name: 'functest-opnfv-functest-healthcheck-{tag}-trivy'
2069 <<: *functest-containers
2075 recipients: cedric.ollivier@orange.com
2078 name: 'functest-opnfv-functest-healthcheck-trivy'
2079 <<: *functest-params
2081 container: 'functest-healthcheck'
2084 - 'functest-opnfv-functest-healthcheck-{tag}-trivy'
2087 name: 'functest-opnfv-functest-smoke-{tag}-trivy'
2095 <<: *functest-containers
2101 recipients: cedric.ollivier@orange.com
2104 name: 'functest-opnfv-functest-smoke-trivy'
2105 <<: *functest-params
2107 container: 'functest-smoke'
2110 - 'functest-opnfv-functest-smoke-{tag}-trivy'
2113 name: 'functest-opnfv-functest-benchmarking-{tag}-trivy'
2121 <<: *functest-containers
2127 recipients: cedric.ollivier@orange.com
2130 name: 'functest-opnfv-functest-benchmarking-trivy'
2131 <<: *functest-params
2133 container: 'functest-benchmarking'
2136 - 'functest-opnfv-functest-benchmarking-{tag}-trivy'
2139 name: 'functest-opnfv-functest-vnf-{tag}-trivy'
2147 <<: *functest-containers
2153 recipients: cedric.ollivier@orange.com
2156 name: 'functest-opnfv-functest-vnf-trivy'
2157 <<: *functest-params
2159 container: 'functest-vnf'
2162 - 'functest-opnfv-functest-vnf-{tag}-trivy'
2165 name: 'functest-opnfv-functest-smoke-cntt-{tag}-trivy'
2173 <<: *functest-containers
2179 recipients: cedric.ollivier@orange.com
2182 name: 'functest-opnfv-functest-smoke-cntt-trivy'
2183 <<: *functest-params
2185 container: 'functest-smoke-cntt'
2188 - 'functest-opnfv-functest-smoke-cntt-{tag}-trivy'
2191 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-trivy'
2199 <<: *functest-containers
2205 recipients: cedric.ollivier@orange.com
2208 name: 'functest-opnfv-functest-benchmarking-cntt-trivy'
2209 <<: *functest-params
2211 container: 'functest-benchmarking-cntt'
2214 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-trivy'
2217 name: functest-grype
2220 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
2221 sudo DEBIAN_FRONTEND=noninteractive apt-get \
2222 -o DPkg::Lock::Timeout=300 install curl -y
2224 curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sudo sh -s -- -b .
2225 if [ "{repo}" = "_" ]; then
2226 image={container}:{tag}
2227 elif [ "{port}" = "None" ]; then
2228 image={repo}/{container}:{tag}
2230 image={repo}:{port}/{container}:{tag}
2235 name: 'functest-opnfv-functest-core-{tag}-grype'
2243 <<: *functest-containers
2249 recipients: cedric.ollivier@orange.com
2252 name: 'functest-opnfv-functest-core-grype'
2253 <<: *functest-params
2255 container: 'functest-core'
2258 - 'functest-opnfv-functest-core-{tag}-grype'
2261 name: 'functest-opnfv-functest-healthcheck-{tag}-grype'
2269 <<: *functest-containers
2275 recipients: cedric.ollivier@orange.com
2278 name: 'functest-opnfv-functest-healthcheck-grype'
2279 <<: *functest-params
2281 container: 'functest-healthcheck'
2284 - 'functest-opnfv-functest-healthcheck-{tag}-grype'
2287 name: 'functest-opnfv-functest-smoke-{tag}-grype'
2295 <<: *functest-containers
2301 recipients: cedric.ollivier@orange.com
2304 name: 'functest-opnfv-functest-smoke-grype'
2305 <<: *functest-params
2307 container: 'functest-smoke'
2310 - 'functest-opnfv-functest-smoke-{tag}-grype'
2313 name: 'functest-opnfv-functest-benchmarking-{tag}-grype'
2321 <<: *functest-containers
2327 recipients: cedric.ollivier@orange.com
2330 name: 'functest-opnfv-functest-benchmarking-grype'
2331 <<: *functest-params
2333 container: 'functest-benchmarking'
2336 - 'functest-opnfv-functest-benchmarking-{tag}-grype'
2339 name: 'functest-opnfv-functest-vnf-{tag}-grype'
2347 <<: *functest-containers
2353 recipients: cedric.ollivier@orange.com
2356 name: 'functest-opnfv-functest-vnf-grype'
2357 <<: *functest-params
2359 container: 'functest-vnf'
2362 - 'functest-opnfv-functest-vnf-{tag}-grype'
2365 name: 'functest-opnfv-functest-smoke-cntt-{tag}-grype'
2373 <<: *functest-containers
2379 recipients: cedric.ollivier@orange.com
2382 name: 'functest-opnfv-functest-smoke-cntt-grype'
2383 <<: *functest-params
2385 container: 'functest-smoke-cntt'
2388 - 'functest-opnfv-functest-smoke-cntt-{tag}-grype'
2391 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-grype'
2399 <<: *functest-containers
2405 recipients: cedric.ollivier@orange.com
2408 name: 'functest-opnfv-functest-benchmarking-cntt-grype'
2409 <<: *functest-params
2411 container: 'functest-benchmarking-cntt'
2414 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-grype'
2420 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
2421 sudo DEBIAN_FRONTEND=noninteractive apt-get \
2422 -o DPkg::Lock::Timeout=300 install curl -y
2424 sudo mkdir -p ~/.docker
2425 curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sudo sh -s --
2426 if [ "{repo}" = "_" ]; then
2427 image={container}:{tag}
2428 elif [ "{port}" = "None" ]; then
2429 image={repo}/{container}:{tag}
2431 image={repo}:{port}/{container}:{tag}
2433 sudo docker sbom $image
2436 name: 'functest-opnfv-functest-core-{tag}-sbom'
2444 <<: *functest-containers
2450 recipients: cedric.ollivier@orange.com
2453 name: 'functest-opnfv-functest-core-sbom'
2454 <<: *functest-params
2456 container: 'functest-core'
2459 - 'functest-opnfv-functest-core-{tag}-sbom'
2462 name: 'functest-opnfv-functest-healthcheck-{tag}-sbom'
2470 <<: *functest-containers
2476 recipients: cedric.ollivier@orange.com
2479 name: 'functest-opnfv-functest-healthcheck-sbom'
2480 <<: *functest-params
2482 container: 'functest-healthcheck'
2485 - 'functest-opnfv-functest-healthcheck-{tag}-sbom'
2488 name: 'functest-opnfv-functest-smoke-{tag}-sbom'
2496 <<: *functest-containers
2502 recipients: cedric.ollivier@orange.com
2505 name: 'functest-opnfv-functest-smoke-sbom'
2506 <<: *functest-params
2508 container: 'functest-smoke'
2511 - 'functest-opnfv-functest-smoke-{tag}-sbom'
2514 name: 'functest-opnfv-functest-benchmarking-{tag}-sbom'
2522 <<: *functest-containers
2528 recipients: cedric.ollivier@orange.com
2531 name: 'functest-opnfv-functest-benchmarking-sbom'
2532 <<: *functest-params
2534 container: 'functest-benchmarking'
2537 - 'functest-opnfv-functest-benchmarking-{tag}-sbom'
2540 name: 'functest-opnfv-functest-vnf-{tag}-sbom'
2548 <<: *functest-containers
2554 recipients: cedric.ollivier@orange.com
2557 name: 'functest-opnfv-functest-vnf-sbom'
2558 <<: *functest-params
2560 container: 'functest-vnf'
2563 - 'functest-opnfv-functest-vnf-{tag}-sbom'
2566 name: 'functest-opnfv-functest-smoke-cntt-{tag}-sbom'
2574 <<: *functest-containers
2580 recipients: cedric.ollivier@orange.com
2583 name: 'functest-opnfv-functest-smoke-cntt-sbom'
2584 <<: *functest-params
2586 container: 'functest-smoke-cntt'
2589 - 'functest-opnfv-functest-smoke-cntt-{tag}-sbom'
2592 name: 'functest-opnfv-functest-benchmarking-cntt-{tag}-sbom'
2600 <<: *functest-containers
2606 recipients: cedric.ollivier@orange.com
2609 name: 'functest-opnfv-functest-benchmarking-cntt-sbom'
2610 <<: *functest-params
2612 container: 'functest-benchmarking-cntt'
2615 - 'functest-opnfv-functest-benchmarking-cntt-{tag}-sbom'
2618 name: functest-docker
2627 regex: ^functest-[a-z0-9.-]+-docker$
2630 name: functest-trivy
2639 regex: (?!functest-kubernetes)(?!functest-pi)^functest-[a-z-0-9.]+-trivy$
2642 name: functest-grype
2651 regex: (?!functest-kubernetes)(?!functest-pi)^functest-[a-z-0-9.]+-grype$
2663 regex: (?!functest-kubernetes)(?!functest-pi)^functest-[a-z-0-9.]+-sbom$