File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 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"
4056
4157 - bash : |
4258 echo "##vso[task.setvariable variable=AWS_DEFAULT_REGION]eu-west-2"
You can’t perform that action at this time.
0 commit comments