From nobody Fri Mar 28 18:16:53 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZPTJ61vwLz5rDj8; Fri, 28 Mar 2025 18:16:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZPTJ60vWbz3cd5; Fri, 28 Mar 2025 18:16:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743185814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nA4cbm36vt1eodnbCsSLdgs1C/TXFGTYFnx2Ael9WPo=; b=uCOEd2vOPcY2hC/J7EQ8MuaebnV7CE82raLYIJ2Dicf/L75x/CNc59wtMwIpta/cDh77nJ 7sl30yTyRFGW/PkscsWDwhpok6LblTvbiqopAErQUGrP7kW/ZKe/A5wZEA2V2wWG+S4Ygh vZTqIBXTdyAdIJs/SPtM8Ayqn1WURCwrmRmoA4DdEfUCZSYj6hmY9fkdUB/w4aMfFWa2le HAFw/VSADjjYcGMN71Mu7qrztlsXkwCPniDsYkVqkbOUWHiZMjqmXnNCnB0gYraKAEJZ4J 4GlqdNkmpetOESWVa7WcrknJSdrS0Lr0jffGjOXEKO2lta64d9yyNEO1Xtgg/Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743185814; a=rsa-sha256; cv=none; b=TUTp2ToBxtL3mn5L5okOZJn2zlD3+11YuNVQTa1kSyEMHLB0fJiGeu4LQlRJlMhy7VO+AP yJ8ZC4OKy8nLxm6mziJBwbmdiHqPyVI89ScQAx/G9bVA8liWA68be+3DwCsKCYChE+nxfJ oDZ/amZeEJUqCovaQWcByKU5ZOG9q4jawn6D57+DrCsQ3Af3gZI+lI6k7DqrO/CwpwMzqL 7JQ7dFucm18xX56124ALFyd2TIiAD6CCAsGXNAA8ltzZZZoQOQeqyB4max/Qh8GnsaZoXe LvqTmE+7bjuf2Qmz16mbrlzLCRTmu3qQR8UdWUKbFK2rhpYe3JOCJABV21vYcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743185814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nA4cbm36vt1eodnbCsSLdgs1C/TXFGTYFnx2Ael9WPo=; b=p3BLdmNlTddGMUBD0t3dCKsf/M4MXHj34W0wWb3bW5/3snfEfTK/bwuyz3MUhRjN42ZOJh Nm/z9jQNXLmNS4r25RIjCYyhGMLgNqsTXk3YD6bnc6eZhRKf2OOfxB8FvNPoHGlEeSMC3t rQVZPzEXLiO696i6VztKyTT2igiRDOHa5KV+KctXVY7bgoqqFcIpuL5BRU/excOzoYpFGt tQWBfixYtWwVgsd77YyMtbylqHKlVSYV7m7RpfPBaF19SzUpssXP4xyNiz9D8FdHSUsy58 xFcE6lsJ7/82Ngw++isYlGZERtL4eJ1Z4PvPOM8tYen4m0mT03R78o3Ayxx5dg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZPTJ603Zhzthl; Fri, 28 Mar 2025 18:16:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52SIGrMf029244; Fri, 28 Mar 2025 18:16:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52SIGri2029241; Fri, 28 Mar 2025 18:16:53 GMT (envelope-from git) Date: Fri, 28 Mar 2025 18:16:53 GMT Message-Id: <202503281816.52SIGri2029241@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 09f991f5f6f2 - main - release/azure: Update instruction of publishing to Azure Marketplace List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 09f991f5f6f224f75f3cc9f666f0e0e2e9621432 Auto-Submitted: auto-generated The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/src/commit/?id=09f991f5f6f224f75f3cc9f666f0e0e2e9621432 commit 09f991f5f6f224f75f3cc9f666f0e0e2e9621432 Author: Li-Wen Hsu AuthorDate: 2025-03-28 18:16:30 +0000 Commit: Li-Wen Hsu 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