This repository has been archived on 2025-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ClusterAPI.imageBuilder/REMOVED/packer/azure/.pipelines/vhd-publishing-info.yaml
Danny Bessems a32a6c9c0c
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Attempt native imagebuilder image
2023-02-23 21:17:50 +01:00

20 lines
785 B
YAML

steps:
- script: |
VHD_BASE_URL="$(cat packer/azure/vhd-base-url.out)"
VHD_URL="$(cat packer/azure/vhd-url.out)"
STORAGE_ACCOUNT_NAME="$(cat packer/azure/storage-account-name.out)"
RESOURCE_GROUP_NAME="$(cat packer/azure/resource-group-name.out)"
TAGS="$(cat packer/azure/tags.out)"
cat <<EOF > packer/azure/vhd-publishing-info.json
{
"vhd_base_url": "${VHD_BASE_URL}",
"vhd_url": "${VHD_URL}",
"storage_account_name": "${STORAGE_ACCOUNT_NAME}",
"resource_group_name": "${RESOURCE_GROUP_NAME}",
"tags": "${TAGS}"
}
EOF
displayName: Generating publishing info for VHD
workingDirectory: '$(system.defaultWorkingDirectory)/images/capi'
condition: eq(variables.CLEANUP, 'False')