git: 09f991f5f6f2 - main - release/azure: Update instruction of publishing to Azure Marketplace
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Mar 2025 18:16:53 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=09f991f5f6f224f75f3cc9f666f0e0e2e9621432 commit 09f991f5f6f224f75f3cc9f666f0e0e2e9621432 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2025-03-28 18:16:30 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2025-03-28 18:16:30 +0000 release/azure: Update instruction of publishing to Azure Marketplace Using Compute Gallery as the source is the preferred method now. Reviewed by: brooks, emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49528 --- release/Makefile.azure | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/release/Makefile.azure b/release/Makefile.azure index 36f3f8715de1..577221ee3899 100644 --- a/release/Makefile.azure +++ b/release/Makefile.azure @@ -1,6 +1,4 @@ # -# -# # Makefile for uploading Microsoft Azure disk images. # @@ -18,9 +16,6 @@ AZURE${VAR}!= grep -E '^AZURE${VAR}' ${AZURE_UPLOAD_CONF} | awk -F ' ' '{print $ SNAPSHOT_DATE!= date +-${BUILDDATE} .endif -START_DATE!= date -v-1d -I -u -EXPIRY_DATE!= date -v+1m -I -u - azure-upload: ${AZURE_UPLOAD_TGTS} azure-check-depends: @@ -52,19 +47,16 @@ azure-do-upload-${_FS}: --account-name ${AZURE_ACCOUNT} --account-key ${AZURE_KEY} \ --container-name ${AZURE_STORAGE} --type page \ --file ${AZURE_IMG_${_FS}} --name ${AZURE_TARGET_${_FS}}.vhd - @echo "The disk access URL with shared access signature is:" + @echo "The disk has been uploaded to Storage Account, use following information" + @echo "to create an image in Compute Gallery:" @echo - @echo -n https://${AZURE_ACCOUNT}.blob.core.windows.net/${AZURE_STORAGE}/${AZURE_TARGET_${_FS}}.vhd? - @/usr/local/bin/az storage container generate-sas \ - --account-name ${AZURE_ACCOUNT} --account-key ${AZURE_KEY} \ - --name ${AZURE_STORAGE} \ - --permissions lr \ - --start ${START_DATE} \ - --expiry ${EXPIRY_DATE} | cut -d '"' -f 2 + @echo "Storage Account name: ${AZURE_ACCOUNT}" + @echo "Container name: ${AZURE_STORAGE}" + @echo "Blob name: ${AZURE_TARGET_${_FS}}.vhd" @echo @echo "Please go to Microsoft Partner Center to create a new offer and publish it:" @echo - @echo "https://partner.microsoft.com/dashboard/commercial-marketplace/overview" + @echo "https://partner.microsoft.com/dashboard/marketplace-offers/overview" @echo @echo "After the new offer status is live, you can delete the disk file with:" @echo