File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
lambdas/mns_subscription/src Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ jobs:
101101
102102 - name : Terraform Apply
103103 working-directory : ${{ vars.TERRAFORM_DIR_PATH }}
104- run : make apply apigee_environment=${{ inputs.apigee_environment }} environment=${{ inputs.environment }} sub_environment=${{ inputs.sub_environment }}
104+ run : |
105+ make apply apigee_environment=${{ inputs.apigee_environment }} environment=${{ inputs.environment }} sub_environment=${{ inputs.sub_environment }}
106+ echo "ID_SYNC_QUEUE_ARN=$(make -s output name=id_sync_queue_arn)" >> $GITHUB_ENV
105107
106108 - name : Install poetry
107109 if : ${{ inputs.environment == 'dev' && inputs.create_mns_subscription }}
@@ -118,6 +120,8 @@ jobs:
118120 working-directory : ' ./lambdas/mns_subscription'
119121 run : |
120122 poetry install --no-root
123+ APIGEE_ENVIRONMENT=${{ inputs.apigee_environment }}
124+ SQS_ARN=$(ID_SYNC_QUEUE_ARN)
121125 echo "Subscribing SQS to MNS for notifications..."
122126 make subscribe
123127 # TODO - replace with modular e2e test workflow
Original file line number Diff line number Diff line change 44
55def run_subscription ():
66 mns = get_mns_service ()
7- result = mns .check_subscription ()
8- return result
7+ return mns .check_subscription ()
98
109
1110if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments