Skip to content

Commit e989fd3

Browse files
committed
APM-3869 Add caching
1 parent 4824361 commit e989fd3

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

azure/cleanup-ecs-pr-proxies.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ jobs:
4747
- bash: |
4848
tfenv use 0.14.6
4949
displayName: setup terraform
50+
51+
- task: s3-cache-action@1
52+
inputs:
53+
key: poetry | utils | poetry.lock
54+
location: ".venv"
55+
debug: true
56+
displayName: cache utils pre-requisites
5057

5158
- bash: |
5259
make install

azure/components/cleanup-ecs-pr-proxies-job.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ steps:
1616
echo ERROR_CODE - $ERROR_CODE
1717
1818
if [ $ERROR_CODE -ne 0 ] ; then
19-
echo "\n\nansible has unhandled error, re-raising"
19+
echo "\n\nansible has unhandled error, re-trying"
2020
echo "##vso[task.setvariable variable=should_retry;]true"
21-
22-
exit -1
21+
2322
else
2423
echo "##vso[task.setvariable variable=should_retry;]false"
2524
fi

0 commit comments

Comments
 (0)