X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=59b249f2c4a9f2e671354f9d7c74283fa4bb5d87;hb=0ea259773ff37f8a8fdade2424548a31c0bd6590;hp=2e3a85711cd6e78218da9610ac0f316fda5150a0;hpb=57078dc1163aca18e326239bdd4a10a8103b4283;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 2e3a8571..59b249f2 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -81,6 +81,16 @@ - builder: name: lf-infra-packer-build builders: + - conditional-step: + condition-kind: boolean-expression + condition-expression: '{openstack}' + steps: + - config-file-provider: + files: + - file-id: clouds-yaml + target: '$HOME/.config/openstack/clouds.yaml' + - inject: + properties-content: OS_CLOUD={openstack-cloud} - config-file-provider: files: - file-id: '{packer-cloud-settings}'