Skip to content

Commit 5189b1f

Browse files
committed
final review2
1 parent 92cbde9 commit 5189b1f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

azure/templates/post-deploy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,8 @@ steps:
9090
poetry env use 3.11
9191
poetry install --no-root
9292
93-
echo "Setting PYTHONPATH..."
94-
export PYTHONPATH=$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription
95-
9693
echo "Subscribing SQS to MNS for notifications..."
97-
poetry run python src/subscribe_mns.py
94+
make subscribe
9895
displayName: "Run MNS Subscription"
9996
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/mns_subscription"
10097
env:

mns_subscription/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
subscribe:
2+
@PYTHONPATH=src poetry run python src/subscribe_mns.py
13

24
unsubscribe:
35
@PYTHONPATH=src poetry run python src/unsubscribe_mns.py

0 commit comments

Comments
 (0)