Skip to content

Commit 9685a41

Browse files
committed
VED-507: Fix teardown pipeline
1 parent 9daa4ef commit 9685a41

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

azure/azure-pr-teardown-pipeline.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,6 @@ jobs:
3737
role: "auto-ops"
3838
profile: "apim-dev"
3939
aws_account: "dev"
40-
- bash: |
41-
export AWS_PROFILE=apim-dev
42-
echo "Unsubscribing an SQS Queue from MNS."
43-
pyenv install -s 3.11.11
44-
pyenv local 3.11.11
45-
echo "Setting up poetry environment..."
46-
poetry env use 3.11
47-
poetry install --no-root
48-
49-
echo "Setting PYTHONPATH..."
50-
export PYTHONPATH=$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription
51-
52-
echo "Unsubscribing an MNS for notifications..."
53-
poetry run python src/subscribe_mns.py
54-
displayName: "Delete MNS Subscription"
55-
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription"
5640

5741
- bash: |
5842
echo "##vso[task.setvariable variable=AWS_DEFAULT_REGION]eu-west-2"
@@ -61,6 +45,7 @@ jobs:
6145
6246
- bash: |
6347
export AWS_PROFILE=apim-dev
48+
export AWS_PROFILE=terraform
6449
account_id="$(aws sts get-caller-identity --query Account --output text)"
6550
6651
cd terraform

0 commit comments

Comments
 (0)