Skip to content

Commit 28c6d8b

Browse files
authored
Pipeline yaml fix (#3152)
1 parent 2d0ac54 commit 28c6d8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-1es-pipeline.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,6 +1146,7 @@ extends:
11461146
azureSubscription: 'azcopy-release'
11471147
scriptType: bash
11481148
scriptLocation: inlineScript
1149+
workingDirectory: $(signed)
11491150
inlineScript: |
11501151
azcopyAmdDeb=`pmc --auth-type wif --base-url "https://pmc-ingest.trafficmanager.net/api/v4" --id-only package upload azcopy*.x86_64.deb`
11511152
echo "Azcopy AMD DEB ID: $azcopyAmdDeb"
@@ -1191,7 +1192,6 @@ extends:
11911192
echo "Repo Name: $repoName"
11921193
pmc --auth-type wif --base-url "https://pmc-ingest.trafficmanager.net/api/v4" repo package update --add-packages ${!archetype} $repoName $releaseName
11931194
done < <(tail -n +3 ../packages.csv)
1194-
workingDirectory: $(signed)
11951195

11961196
- ${{ if eq(parameters.test_pmc_connection, false) }}:
11971197
- task: AzureCLI@2
@@ -1201,6 +1201,7 @@ extends:
12011201
azureSubscription: 'azcopy-release'
12021202
scriptType: bash
12031203
scriptLocation: inlineScript
1204+
workingDirectory: $(signed)
12041205
inlineScript: |
12051206
while IFS=, read -r distro archetype repoName releaseName; do
12061207
if [[ $archetype == *"Arm"* ]]; then
@@ -1214,5 +1215,4 @@ extends:
12141215
echo "Repo Name: $repoName"
12151216
pmc --auth-type wif --base-url "https://pmc-ingest.trafficmanager.net/api/v4" repo publish $repoName
12161217
fi
1217-
done < <(tail -n +3 ../packages.csv)
1218-
workingDirectory: $(signed)
1218+
done < <(tail -n +3 ../packages.csv)

0 commit comments

Comments
 (0)