File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 4343 echo "##vso[task.setvariable variable=APIGEE_ENVIRONMENT]internal-dev"
4444 displayName: Set AWS default region and Terraform state bucket
4545
46+ - bash : |
47+ export AWS_PROFILE=apim-dev
48+ echo "Subscribing SQS to MNS for notifications."
49+ pyenv install -s 3.11.11
50+ pyenv local 3.11.11
51+ echo "Setting up poetry environment..."
52+ poetry env use 3.11
53+ poetry install --no-root
54+
55+ echo "Setting PYTHONPATH..."
56+ export PYTHONPATH=$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription
57+
58+ echo "unsubscribing SQS to MNS for notifications..."
59+ poetry run python src/unsubscribe_mns.py
60+ displayName: "UnSubcribe MNS"
61+ workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription"
62+
4663 - bash : |
4764 export AWS_PROFILE=apim-dev
4865 account_id="$(aws sts get-caller-identity --query Account --output text)"
You can’t perform that action at this time.
0 commit comments