Skip to content

Commit a0b3578

Browse files
committed
updated yaml to add input params for python scripts.
1 parent 7b71309 commit a0b3578

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

azure/common/deploy-stage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ stages:
278278
pip install json
279279
pip install boto3
280280
281-
python copy_spec.py
281+
python copy_spec.py "nhsd-apm-management-ptl-proxygen" "${{ parameters.service_name }}"
282282
displayName: Copy Spec
283283
284284
- ${{ if parameters.notify }}:

scripts/copy_spec.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,7 @@ def main(bucket_name: str, repo_name: str):
8787

8888
bucket_name = sys.argv[1]
8989
repo_name = sys.argv[2]
90+
print(f"Repo name: {repo_name}")
91+
print(f"Bucket name: {bucket_name}")
9092

9193
sys.exit(main(bucket_name))

0 commit comments

Comments
 (0)