Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Apr 5, 2024
1 parent 8e74419 commit d589e0c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .pipelines/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
- template: ./templates/template-az-cli-login.yml
parameters:
azureDevOpsJSONSPN: $(aro-v4-e2e-devops-spn)
- template: ./templates/template-push-images-to-acr.yml
parameters:
rpImageACR: $(RP_IMAGE_ACR)
- script: |
make extract-aro-docker
displayName: Extract ARO binaries from build
- script: |
az account set -s $AZURE_SUBSCRIPTION_ID
Expand All @@ -49,13 +55,6 @@ jobs:
deploy_e2e_db
displayName: Setup (Azure)
- template: ./templates/template-push-images-to-acr.yml
parameters:
rpImageACR: $(RP_IMAGE_ACR)
- script: |
make extract-aro-docker
displayName: Extract ARO binaries from build
- script: |
export CI=true
. secrets/env
Expand Down
7 changes: 3 additions & 4 deletions hack/e2e/run-rp-and-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,12 @@ get_cluster_sp() {
--name=aro-v4-e2e-devops-spn-1-secret-value \
--file=secrets/secret-value

echo -e -n "\nexport AZURE_CLUSTER_SERVICE_PRINCIPAL_ID=\'" >>secrets/env
echo -e -n "\nexport AZURE_CLUSTER_SERVICE_PRINCIPAL_ID=" >>secrets/env
cat secrets/sp-id >>secrets/env
echo -e -n "\'\nexport AZURE_CLUSTER_APP_ID=\'" >>secrets/env
echo -e -n "\nexport AZURE_CLUSTER_APP_ID=" >>secrets/env
cat secrets/app-id >>secrets/env
echo -e -n "\'\nexport AZURE_CLUSTER_APP_SECRET=\'" >>secrets/env
echo -e -n "\nexport AZURE_CLUSTER_APP_SECRET=" >>secrets/env
cat secrets/secret-value >>secrets/env
echo -e -n "\'\n" >>secrets/env
}

# TODO: CLUSTER and is also recalculated in multiple places
Expand Down

0 comments on commit d589e0c

Please sign in to comment.