Skip to content

Commit

Permalink
Wali/pipeline token issue fix (#2114)
Browse files Browse the repository at this point in the history
* added oryx group in the baseimage pipelines
  • Loading branch information
waliMSFT authored Aug 24, 2023
1 parent 8f8abfa commit 1fe2569
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 23 deletions.
4 changes: 2 additions & 2 deletions images/build/installDotNetCore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ if [ "$sdkStorageAccountUrl" == "$PRIVATE_STAGING_SDK_STORAGE_BASE_URL" ]; then
set -x

if [ $isSasTokenEmpty -eq 0 ]; then
echo "sasToken cannot be empty for $sdkStorageAccountUrl."
echo "sasToken cannot be empty for $sdkStorageAccountUrl."
else
echo "sasToken is valid for $sdkStorageAccountUrl."
echo "sasToken is empty for $sdkStorageAccountUrl."
fi
fi
echo
Expand Down
2 changes: 1 addition & 1 deletion images/installPlatform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if [ "$sdkStorageAccountUrl" == "$PRIVATE_STAGING_SDK_STORAGE_BASE_URL" ]; then
if [ $isSasTokenEmpty -eq 0 ]; then
echo "sasToken cannot be empty for $sdkStorageAccountUrl."
else
echo "sasToken is valid for $sdkStorageAccountUrl."
echo "sasToken is empty for $sdkStorageAccountUrl."
fi
fi
if [ -z "$debianFlavor" ] || [ "$debianFlavor" == "stretch" ]; then
Expand Down
13 changes: 9 additions & 4 deletions vsts/pipelines/baseImages/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
variables:
ascName: oryx-automation-service-principal
acrName: oryxdevmcr.azurecr.io
skipComponentGovernanceDetection: true
Packaging.EnableSBOMSigning: true
- group: Oryx
- name: ascName
value: oryx-automation-service-principal
- name: acrName
value: oryxdevmcr.azurecr.io
- name: skipComponentGovernanceDetection
value: true
- name: Packaging.EnableSBOMSigning
value: true

jobs:
- template: ../templates/_buildimageBasesJobTemplate.yml
Expand Down
13 changes: 9 additions & 4 deletions vsts/pipelines/baseImages/node.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
variables:
ascName: oryx-automation-service-principal
acrName: oryxdevmcr.azurecr.io
skipComponentGovernanceDetection: true
Packaging.EnableSBOMSigning: true
- group: Oryx
- name: ascName
value: oryx-automation-service-principal
- name: acrName
value: oryxdevmcr.azurecr.io
- name: skipComponentGovernanceDetection
value: true
- name: Packaging.EnableSBOMSigning
value: true

jobs:
- template: ../templates/_buildimageBasesJobTemplate.yml
Expand Down
13 changes: 9 additions & 4 deletions vsts/pipelines/baseImages/php-fpm.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
variables:
ascName: oryx-automation-service-principal
acrName: oryxdevmcr.azurecr.io
skipComponentGovernanceDetection: true
Packaging.EnableSBOMSigning: true
- group: Oryx
- name: ascName
value: oryx-automation-service-principal
- name: acrName
value: oryxdevmcr.azurecr.io
- name: skipComponentGovernanceDetection
value: true
- name: Packaging.EnableSBOMSigning
value: true

jobs:
- template: ../templates/_buildimageBasesJobTemplate.yml
Expand Down
13 changes: 9 additions & 4 deletions vsts/pipelines/baseImages/php.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
variables:
ascName: oryx-automation-service-principal
acrName: oryxdevmcr.azurecr.io
skipComponentGovernanceDetection: true
Packaging.EnableSBOMSigning: true
- group: Oryx
- name: ascName
value: oryx-automation-service-principal
- name: acrName
value: oryxdevmcr.azurecr.io
- name: skipComponentGovernanceDetection
value: true
- name: Packaging.EnableSBOMSigning
value: true

jobs:
- template: ../templates/_buildimageBasesJobTemplate.yml
Expand Down
13 changes: 9 additions & 4 deletions vsts/pipelines/baseImages/python.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
variables:
ascName: oryx-automation-service-principal
acrName: oryxdevmcr.azurecr.io
skipComponentGovernanceDetection: true
Packaging.EnableSBOMSigning: true
- group: Oryx
- name: ascName
value: oryx-automation-service-principal
- name: acrName
value: oryxdevmcr.azurecr.io
- name: skipComponentGovernanceDetection
value: true
- name: Packaging.EnableSBOMSigning
value: true

jobs:
- template: ../templates/_buildimageBasesJobTemplate.yml
Expand Down

0 comments on commit 1fe2569

Please sign in to comment.