Skip to content

Commit d822683

Browse files
committed
[NRL-1375] Remove all ASDF stuff from CI workflows
1 parent 45b2250 commit d822683

File tree

5 files changed

+0
-239
lines changed

5 files changed

+0
-239
lines changed

.github/workflows/persistent-environment.yml

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,6 @@ jobs:
3030
with:
3131
ref: ${{ inputs.branch_name }}
3232

33-
- name: Setup asdf cache
34-
uses: actions/cache@v4
35-
with:
36-
path: ~/.asdf
37-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
38-
restore-keys: |
39-
${{ runner.os }}-asdf-
40-
41-
- name: Install asdf
42-
uses: asdf-vm/actions/[email protected]
43-
with:
44-
asdf_branch: v0.13.1
45-
46-
- name: Install zip
47-
run: sudo apt-get install zip
48-
4933
- name: Setup Python environment
5034
run: |
5135
poetry install --no-root
@@ -99,19 +83,6 @@ jobs:
9983
with:
10084
ref: ${{ inputs.branch_name }}
10185

102-
- name: Setup asdf cache
103-
uses: actions/cache@v4
104-
with:
105-
path: ~/.asdf
106-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
107-
restore-keys: |
108-
${{ runner.os }}-asdf-
109-
110-
- name: Install asdf
111-
uses: asdf-vm/actions/[email protected]
112-
with:
113-
asdf_branch: v0.13.1
114-
11586
- name: Configure Management Credentials
11687
uses: aws-actions/configure-aws-credentials@v4
11788
with:
@@ -130,9 +101,6 @@ jobs:
130101
name: build-artifacts
131102
path: dist
132103

133-
- name: Install zip
134-
run: sudo apt-get install zip
135-
136104
- name: Setup Python environment
137105
run: |
138106
poetry install --no-root
@@ -179,19 +147,6 @@ jobs:
179147
with:
180148
ref: ${{ inputs.branch_name }}
181149

182-
- name: Setup asdf cache
183-
uses: actions/cache@v4
184-
with:
185-
path: ~/.asdf
186-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
187-
restore-keys: |
188-
${{ runner.os }}-asdf-
189-
190-
- name: Install asdf
191-
uses: asdf-vm/actions/[email protected]
192-
with:
193-
asdf_branch: v0.13.1
194-
195150
- name: Download build artifacts
196151
uses: actions/download-artifact@v4
197152
with:
@@ -220,9 +175,6 @@ jobs:
220175
account=$(echo '${{ inputs.environment }}' | cut -d '-' -f1)
221176
make truststore-pull-server ENV=${account}
222177
223-
- name: Install zip
224-
run: sudo apt-get install zip
225-
226178
- name: Setup Python environment
227179
run: |
228180
poetry install --no-root
@@ -261,29 +213,13 @@ jobs:
261213
with:
262214
ref: ${{ inputs.branch_name }}
263215

264-
- name: Setup asdf cache
265-
uses: actions/cache@v4
266-
with:
267-
path: ~/.asdf
268-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
269-
restore-keys: |
270-
${{ runner.os }}-asdf-
271-
272-
- name: Install asdf
273-
uses: asdf-vm/actions/[email protected]
274-
with:
275-
asdf_branch: v0.13.1
276-
277216
- name: Configure Management Credentials
278217
uses: aws-actions/configure-aws-credentials@v4
279218
with:
280219
aws-region: eu-west-2
281220
role-to-assume: ${{ secrets.MGMT_ROLE_ARN }}
282221
role-session-name: github-actions-ci-${{ inputs.environment }}-${{ github.run_id}}
283222

284-
- name: Install zip
285-
run: sudo apt-get install zip
286-
287223
- name: Setup Python environment
288224
run: |
289225
poetry install --no-root
@@ -306,29 +242,13 @@ jobs:
306242
with:
307243
ref: ${{ inputs.branch_name }}
308244

309-
- name: Setup asdf cache
310-
uses: actions/cache@v4
311-
with:
312-
path: ~/.asdf
313-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
314-
restore-keys: |
315-
${{ runner.os }}-asdf-
316-
317-
- name: Install asdf
318-
uses: asdf-vm/actions/[email protected]
319-
with:
320-
asdf_branch: v0.13.1
321-
322245
- name: Configure Management Credentials
323246
uses: aws-actions/configure-aws-credentials@v4
324247
with:
325248
aws-region: eu-west-2
326249
role-to-assume: ${{ secrets.MGMT_ROLE_ARN }}
327250
role-session-name: github-actions-ci-${{ inputs.environment }}-${{ github.run_id}}
328251

329-
- name: Install zip
330-
run: sudo apt-get install zip
331-
332252
- name: Setup Python environment
333253
run: |
334254
poetry install --no-root
@@ -351,29 +271,13 @@ jobs:
351271
with:
352272
ref: ${{ inputs.branch_name }}
353273

354-
- name: Setup asdf cache
355-
uses: actions/cache@v4
356-
with:
357-
path: ~/.asdf
358-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
359-
restore-keys: |
360-
${{ runner.os }}-asdf-
361-
362-
- name: Install asdf
363-
uses: asdf-vm/actions/[email protected]
364-
with:
365-
asdf_branch: v0.13.1
366-
367274
- name: Configure Management Credentials
368275
uses: aws-actions/configure-aws-credentials@v4
369276
with:
370277
aws-region: eu-west-2
371278
role-to-assume: ${{ secrets.MGMT_ROLE_ARN }}
372279
role-session-name: github-actions-ci-${{ inputs.environment }}-${{ github.run_id}}
373280

374-
- name: Install zip
375-
run: sudo apt-get install zip
376-
377281
- name: Setup Python environment
378282
run: |
379283
poetry install --no-root

.github/workflows/pr-env-deploy.yml

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,6 @@ jobs:
5252
with:
5353
ref: ${{ github.event.pull_request.head.ref }}
5454

55-
- name: Setup asdf cache
56-
uses: actions/cache@v4
57-
with:
58-
path: ~/.asdf
59-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
60-
restore-keys: |
61-
${{ runner.os }}-asdf-
62-
63-
- name: Install asdf
64-
uses: asdf-vm/actions/[email protected]
65-
with:
66-
asdf_branch: v0.13.1
67-
68-
- name: Install zip
69-
run: sudo apt-get install zip
70-
7155
- name: Setup Python environment
7256
run: |
7357
poetry install --no-root
@@ -131,19 +115,6 @@ jobs:
131115
with:
132116
ref: ${{ github.event.pull_request.head.ref }}
133117

134-
- name: Setup asdf cache
135-
uses: actions/cache@v4
136-
with:
137-
path: ~/.asdf
138-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
139-
restore-keys: |
140-
${{ runner.os }}-asdf-
141-
142-
- name: Install asdf
143-
uses: asdf-vm/actions/[email protected]
144-
with:
145-
asdf_branch: v0.13.1
146-
147118
- name: Configure Management Credentials
148119
uses: aws-actions/configure-aws-credentials@v4
149120
with:
@@ -167,9 +138,6 @@ jobs:
167138
- name: Retrieve Server Certificates
168139
run: make truststore-pull-server ENV=dev
169140

170-
- name: Install zip
171-
run: sudo apt-get install zip
172-
173141
- name: Setup Python environment
174142
run: |
175143
poetry install --no-root
@@ -229,19 +197,6 @@ jobs:
229197
with:
230198
ref: ${{ github.event.pull_request.head.ref }}
231199

232-
- name: Setup asdf cache
233-
uses: actions/cache@v4
234-
with:
235-
path: ~/.asdf
236-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
237-
restore-keys: |
238-
${{ runner.os }}-asdf-
239-
240-
- name: Install asdf and tools
241-
uses: asdf-vm/actions/[email protected]
242-
with:
243-
asdf_branch: v0.13.1
244-
245200
- name: Python Dependency Install
246201
run: poetry install --no-root
247202

@@ -277,19 +232,6 @@ jobs:
277232
with:
278233
ref: ${{ github.event.pull_request.head.ref }}
279234

280-
- name: Setup asdf cache
281-
uses: actions/cache@v4
282-
with:
283-
path: ~/.asdf
284-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
285-
restore-keys: |
286-
${{ runner.os }}-asdf-
287-
288-
- name: Install asdf and tools
289-
uses: asdf-vm/actions/[email protected]
290-
with:
291-
asdf_branch: v0.13.1
292-
293235
- name: Setup Python environment
294236
run: |
295237
poetry install --no-root
@@ -325,19 +267,6 @@ jobs:
325267
with:
326268
ref: ${{ github.event.pull_request.head.ref }}
327269

328-
- name: Setup asdf cache
329-
uses: actions/cache@v4
330-
with:
331-
path: ~/.asdf
332-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
333-
restore-keys: |
334-
${{ runner.os }}-asdf-
335-
336-
- name: Install asdf and tools
337-
uses: asdf-vm/actions/[email protected]
338-
with:
339-
asdf_branch: v0.13.1
340-
341270
- name: Setup Python environment
342271
run: |
343272
poetry install --no-root

.github/workflows/pr-env-destroy.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ jobs:
5454
with:
5555
ref: ${{ github.event.pull_request.merged && github.event.pull_request.base.ref || github.event.pull_request.head.ref }}
5656

57-
- name: Setup asdf cache
58-
uses: actions/cache@v4
59-
with:
60-
path: ~/.asdf
61-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
62-
restore-keys: |
63-
${{ runner.os }}-asdf-
64-
6557
- name: Configure AWS Credentials
6658
uses: aws-actions/configure-aws-credentials@v4
6759
with:

.github/workflows/rollback-stack.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,13 @@ jobs:
2727
with:
2828
ref: ${{ github.ref }}
2929

30-
- name: Setup asdf cache
31-
uses: actions/cache@v4
32-
with:
33-
path: ~/.asdf
34-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
35-
restore-keys: |
36-
${{ runner.os }}-asdf-
37-
38-
- name: Install asdf
39-
uses: asdf-vm/actions/[email protected]
40-
with:
41-
asdf_branch: v0.13.1
42-
4330
- name: Configure Management Credentials
4431
uses: aws-actions/configure-aws-credentials@v4
4532
with:
4633
aws-region: eu-west-2
4734
role-to-assume: ${{ secrets.MGMT_ROLE_ARN }}
4835
role-session-name: github-actions-ci-${{ inputs.environment }}-${{ github.run_id}}
4936

50-
- name: Install zip
51-
run: sudo apt-get install zip
52-
5337
- name: Setup Python environment
5438
run: |
5539
poetry install --no-root

.github/workflows/update-lambda-permissions.yml

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,6 @@ jobs:
3737
with:
3838
ref: ${{ github.ref }}
3939

40-
- name: Setup asdf cache
41-
uses: actions/cache@v4
42-
with:
43-
path: ~/.asdf
44-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
45-
restore-keys: |
46-
${{ runner.os }}-asdf-
47-
48-
- name: Install asdf
49-
uses: asdf-vm/actions/[email protected]
50-
with:
51-
asdf_branch: v0.13.1
52-
53-
- name: Install zip
54-
run: sudo apt-get install zip
55-
5640
- name: Setup Python environment
5741
run: |
5842
poetry install --no-root
@@ -101,22 +85,6 @@ jobs:
10185
with:
10286
ref: ${{ github.ref }}
10387

104-
- name: Setup asdf cache
105-
uses: actions/cache@v4
106-
with:
107-
path: ~/.asdf
108-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
109-
restore-keys: |
110-
${{ runner.os }}-asdf-
111-
112-
- name: Install asdf
113-
uses: asdf-vm/actions/[email protected]
114-
with:
115-
asdf_branch: v0.13.1
116-
117-
- name: Install zip
118-
run: sudo apt-get install zip
119-
12088
- name: Setup Python environment
12189
run: |
12290
poetry install --no-root
@@ -192,22 +160,6 @@ jobs:
192160
with:
193161
ref: ${{ github.ref }}
194162

195-
- name: Setup asdf cache
196-
uses: actions/cache@v4
197-
with:
198-
path: ~/.asdf
199-
key: ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
200-
restore-keys: |
201-
${{ runner.os }}-asdf-
202-
203-
- name: Install asdf
204-
uses: asdf-vm/actions/[email protected]
205-
with:
206-
asdf_branch: v0.13.1
207-
208-
- name: Install zip
209-
run: sudo apt-get install zip
210-
211163
- name: Setup Python environment
212164
run: |
213165
poetry install --no-root

0 commit comments

Comments
 (0)