X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=b6397753cb216108d8afda0ba90db04a43581ba8;hb=d22d069117b64cee73be1165861013de9e79ab19;hp=2ede3e7b4b01df747b4bf88e160a58b278e00d18;hpb=e35f8aa01680e9a8e86f0a9fc3091a8007a8ed21;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 2ede3e7b..b6397753 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -1242,6 +1242,7 @@ openstack-image-cleanup: true openstack-image-cleanup-age: 30 openstack-image-protect: true + openstack-volume-cleanup: true stream: master submodule-timeout: 10 @@ -1286,6 +1287,12 @@ - lf-infra-pre-build - inject: properties-content: OS_CLOUD={openstack-cloud} + # Volumes + - conditional-step: + condition-kind: boolean-expression + condition-expression: '{openstack-volume-cleanup}' + steps: + - shell: !include-raw-escape: ../shell/openstack-cleanup-orphaned-volumes.sh # Images - conditional-step: condition-kind: boolean-expression