File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ parameters:
1919 - " 1"
2020 - " 2"
2121 - " 3"
22+ - name : retain_hours
23+ type : string
24+ default : " 72"
2225
2326jobs :
2427 - job : build
6366 - template : ./components/cleanup-ecs-pr-proxies-job.yml
6467 parameters :
6568 retry : ' ${{ retry }}'
69+ retain_hours : ' ${{ parameters.retain_hours }}'
6670
6771 - bash : |
6872 echo "AWS role session has timed out after multiple retries"
Original file line number Diff line number Diff line change 11parameters :
22 - name : retry
33 type : string
4+ - name : retain_hours
5+ type : string
46
57steps :
68 - template : ./aws-assume-role.yml
1214 displayName : Remove stale locks
1315
1416 - bash : |
15- export retain_hours=72
17+ export retain_hours="${{ parameters.retain_hours }}"
1618 ANSIBLE_FORCE_COLOR=yes make -C ansible remove-old-ecs-pr-deploys
1719 ERROR_CODE=$?
1820 echo ERROR_CODE - $ERROR_CODE
You can’t perform that action at this time.
0 commit comments