File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 tfenv use 1.2.3
5353 displayName: setup terraform
5454
55- - task : s3-cache-action@1.3.4
56- inputs :
57- key : poetry | utils | poetry.lock
58- location : " .venv"
59- debug : true
60- displayName : cache utils pre-requisites
61-
6255 - bash : |
6356 pyversion="3.13"
6457 PATCH=$(curl -fsSL https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json \
Original file line number Diff line number Diff line change 4242 tfenv use 0.14.6
4343 displayName: setup terraform
4444
45- - task : s3-cache-action@1.3.4
46- inputs :
47- key : poetry | utils | poetry.lock
48- location : " .venv"
49- debug : true
50- alias : " Utils"
51- displayName : cache utils pre-requisites
52-
5345 - bash : |
5446 make install
5547 displayName: install dependencies
56- condition: ne(variables['CacheRestored-Utils'], 'true')
5748
5849 - template : ./components/get-aws-secrets-and-ssm-params.yml
5950 parameters :
Original file line number Diff line number Diff line change @@ -163,9 +163,6 @@ jobs:
163163 inputs :
164164 versionSpec : " $(PY_VER)"
165165
166- - ${{ each cache_step in parameters.cache_steps }} :
167- - ${{ cache_step }}
168-
169166 - bash : |
170167 n=0
171168 until [ "$n" -ge 3 ]
@@ -203,19 +200,10 @@ jobs:
203200 - checkout : common
204201 path : " s/${{ parameters.service_name }}/utils"
205202
206- - task : s3-cache-action@1.3.4
207- inputs :
208- key : poetry | $(System.DefaultWorkingDirectory) | ${{ parameters.service_name }}/utils/poetry.lock
209- location : " ${{ parameters.service_name }}/utils/.venv"
210- debug : true
211- alias : " Utils"
212- displayName : cache utils dependencies
213-
214203 - bash : |
215204 make install
216205 sleep 5
217206 workingDirectory: "${{ parameters.service_name }}/utils"
218- condition: ne(variables['CacheRestored-Utils'], 'true')
219207 displayName: "Install utils "
220208
221209 - bash : |
Original file line number Diff line number Diff line change @@ -46,13 +46,6 @@ stages:
4646
4747 - template : ./print-aws-info.yml
4848
49- - task : s3-cache-action@1.3.4
50- inputs :
51- key : poetry | utils | poetry.lock
52- location : " .venv"
53- debug : true
54- displayName : cache utils pre-requisites
55-
5649 - bash : make install
5750 displayName : Install project dependencies
5851
Original file line number Diff line number Diff line change @@ -71,14 +71,6 @@ steps:
7171 apigee_environment: ${{ parameters.apigee_environment }}
7272 displayName: "Check for ECS proxy definitions"
7373
74- - task : s3-cache-action@1.3.4
75- inputs :
76- key : poetry | utils | $(UTILS_DIR)/poetry.lock
77- location : " $(UTILS_DIR)/.venv"
78- debug : true
79- alias : " UtilsPreReq"
80- displayName : cache utils pre-requisites
81-
8274 - bash : |
8375 n=0
8476 until [ "$n" -ge 3 ]
8779 n=$((n+1))
8880 done
8981 workingDirectory: "$(UTILS_DIR)"
90- condition: ne(variables['CacheRestored-UtilsPreReq'], 'true')
9182 displayName: "Install utils pre-requisites"
9283
9384 - bash : |
You can’t perform that action at this time.
0 commit comments