Merge pull request #393 from crawford/prepub

oem/azure: add pre-publish blob copy
This commit is contained in:
Alex Crawford 2015-04-08 12:43:42 -07:00
commit 53ed93d652

View File

@ -50,6 +50,13 @@ azure storage blob upload \
--blob="coreos-${VERSION}-${LGROUP}.vhd" \ --blob="coreos-${VERSION}-${LGROUP}.vhd" \
--blobtype="Page" --blobtype="Page"
azure storage blob copy start \
--account-name="coreos" \
--account-key="${ACCOUNT_KEY}" \
--source-blob="coreos-${VERSION}-${LGROUP}.vhd" \
--source-container="publish" \
--dest-container="pre-publish"
echo "Creating Azure image from blob..." echo "Creating Azure image from blob..."
azure vm image create \ azure vm image create \
--blob-url="https://coreos.blob.core.windows.net/publish/coreos-${VERSION}-${LGROUP}.vhd" \ --blob-url="https://coreos.blob.core.windows.net/publish/coreos-${VERSION}-${LGROUP}.vhd" \