Skip to content

Commit 51fd49e

Browse files
author
Sheyla Trudo
committed
fixup! User Service Connections
1 parent b1b657b commit 51fd49e

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.pipelines/run-pipeline.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ stages:
5555
- job: resources
5656
displayName: "[Infra] Configure Artifact Resources"
5757
variables:
58-
ACNCI_BUILDUSER_SERVICECONNECTION_NAME: acnci-builduser-9b8218f9-902a-4d20-a65c-e98acec5362f-serviceconnection
5958
ACNCI_BUILDUSER_ROLE_NAME: "ACN CI/CD Build Environment Owner"
6059
ACNCI_MANAGEDIDENTITY_PREFIX: acnci-builds-
6160
ACNCI_RG_PREFIX: acnci-builds-
@@ -75,6 +74,26 @@ stages:
7574
steps:
7675
- checkout: ACNTools
7776
clean: true
77+
78+
- task: AzureCLI@2
79+
displayName: "[Test] Service Connection"
80+
inputs:
81+
azureSubscription: $(ACNCI_BUILDUSER_SERVICECONNECTION_NAME)
82+
scriptType: bash
83+
scriptLocation: inlineScript
84+
addSpnToEnvironment: true
85+
inlineScript: |
86+
echo "OK."
87+
88+
- task: AzureCLI@2
89+
displayName: "[Test] Service Connection"
90+
inputs:
91+
azureSubscription: $(ACN_TEST_SERVICE_CONNECTION)
92+
scriptType: bash
93+
scriptLocation: inlineScript
94+
addSpnToEnvironment: true
95+
inlineScript: |
96+
echo "OK."
7897
7998
- template: templates/artifact-storage.steps.yaml@ACNTools
8099

0 commit comments

Comments
 (0)