Skip to content

Commit 90634e6

Browse files
committed
remove mns
1 parent e21b223 commit 90634e6

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

azure/templates/post-deploy.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,6 @@ steps:
8181
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)"
8282
retryCountOnTaskFailure: 2
8383
84-
- ${{ if eq(parameters.subscribe_to_mns, true) }}:
85-
- bash: |
86-
export AWS_PROFILE=apim-dev
87-
echo "Subscribing SQS to MNS for notifications."
88-
pyenv install -s 3.11.11
89-
pyenv local 3.11.11
90-
echo "Setting up poetry environment..."
91-
poetry env use 3.11
92-
poetry install --no-root
93-
94-
echo "Setting PYTHONPATH..."
95-
export PYTHONPATH=$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription
96-
97-
echo "Subscribing SQS to MNS for notifications..."
98-
poetry run python src/subscribe_mns.py
99-
displayName: "Run MNS Subscription"
100-
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription"
101-
env:
102-
SQS_ARN: "$(ID_SYNC_QUEUE_ARN)"
103-
10484
- bash: |
10585
set -ex
10686

0 commit comments

Comments
 (0)