Skip to content

Commit 4b7f2df

Browse files
kumaraksh1root
andauthored
Push bookworm binaries for supported platforms (#2347)
* Push bookworm binaries for supported platforms * address comments --------- Co-authored-by: root <root@Akshay-D22.fareast.corp.microsoft.com>
1 parent 8da64be commit 4b7f2df

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

vsts/scripts/publishSdksFromStagingToProdStorageAccount.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,20 @@ function copyPlatformBlobsToProdForDebianFlavor() {
101101
fi
102102

103103
# Function to copy platform blobs to production for a specific Debian flavor
104-
# Dotnet and nodejs are currently the only two platform supporting bookworm.
104+
# Dotnet, nodejs, php and python platforms are currently supporting bookworm.
105105
# Allowed combinations:
106106
# - platformName=dotnet and debianFlavor=bookworm
107107
# - platformName=nodejs and debianFlavor=bookworm
108-
# Not allowed combinations:
108+
# - platformName=php and debianFlavor=bookworm
109109
# - platformName=python and debianFlavor=bookworm
110-
# - platformName=java and debianFlavor=bookworm
111-
# - Any platformName other than dotnet and node js with debianFlavor=bookworm
112-
if [ "$platformName" != "dotnet" ] && [ "$platformName" != "nodejs" ] && [ "$debianFlavor" == "bookworm" ]; then
110+
# Not allowed combinations:
111+
# - Any platformName other than dotnet, node js, python and php with debianFlavor=bookworm
112+
if [ "$debianFlavor" == "bookworm" ] && \
113+
[ "$platformName" != "dotnet" ] && \
114+
[ "$platformName" != "nodejs" ] && \
115+
[ "$platformName" != "php" ] && \
116+
[ "$platformName" != "php-composer" ] && \
117+
[ "$platformName" != "python" ]; then
113118
# Do not copy blobs
114119
echo "Copying blobs for platformName=$platformName and debianFlavor=$debianFlavor is not supported yet."
115120
else

0 commit comments

Comments
 (0)