32
32
# Builds the OpenHands Docker images
33
33
ghcr_build_app :
34
34
name : Build App Image
35
- runs-on : ubuntu-latest
35
+ runs-on : blacksmith-4vcpu- ubuntu-2204
36
36
permissions :
37
37
contents : read
38
38
packages : write
80
80
# Builds the runtime Docker images
81
81
ghcr_build_runtime :
82
82
name : Build Image
83
- runs-on : ubuntu-latest
83
+ runs-on : blacksmith-4vcpu- ubuntu-2204
84
84
permissions :
85
85
contents : read
86
86
packages : write
@@ -108,11 +108,11 @@ jobs:
108
108
id : buildx
109
109
uses : docker/setup-buildx-action@v3
110
110
- name : Set up Python
111
- uses : actions /setup-python@v5
111
+ uses : useblacksmith /setup-python@v6
112
112
with :
113
113
python-version : ' 3.12'
114
114
- name : Cache Poetry dependencies
115
- uses : actions /cache@v4
115
+ uses : useblacksmith /cache@v5
116
116
with :
117
117
path : |
118
118
~/.cache/pypoetry
@@ -150,7 +150,7 @@ jobs:
150
150
151
151
verify_hash_equivalence_in_runtime_and_app :
152
152
name : Verify Hash Equivalence in Runtime and Docker images
153
- runs-on : ubuntu-latest
153
+ runs-on : blacksmith-4vcpu- ubuntu-2204
154
154
needs : [ghcr_build_runtime, ghcr_build_app]
155
155
strategy :
156
156
fail-fast : false
@@ -161,7 +161,7 @@ jobs:
161
161
with :
162
162
ref : ${{ github.event.pull_request.head.sha }}
163
163
- name : Cache Poetry dependencies
164
- uses : actions /cache@v4
164
+ uses : useblacksmith /cache@v5
165
165
with :
166
166
path : |
167
167
~/.cache/pypoetry
@@ -170,7 +170,7 @@ jobs:
170
170
restore-keys : |
171
171
${{ runner.os }}-poetry-
172
172
- name : Set up Python
173
- uses : actions /setup-python@v5
173
+ uses : useblacksmith /setup-python@v6
174
174
with :
175
175
python-version : ' 3.12'
176
176
- name : Install poetry via pipx
@@ -204,7 +204,7 @@ jobs:
204
204
test_runtime_root :
205
205
name : RT Unit Tests (Root)
206
206
needs : [ghcr_build_runtime]
207
- runs-on : ubuntu-latest
207
+ runs-on : blacksmith-4vcpu- ubuntu-2204
208
208
strategy :
209
209
fail-fast : false
210
210
matrix :
@@ -226,7 +226,7 @@ jobs:
226
226
run : |
227
227
docker load --input /tmp/runtime-${{ matrix.base_image }}.tar
228
228
- name : Cache Poetry dependencies
229
- uses : actions /cache@v4
229
+ uses : useblacksmith /cache@v5
230
230
with :
231
231
path : |
232
232
~/.cache/pypoetry
@@ -235,7 +235,7 @@ jobs:
235
235
restore-keys : |
236
236
${{ runner.os }}-poetry-
237
237
- name : Set up Python
238
- uses : actions /setup-python@v5
238
+ uses : useblacksmith /setup-python@v6
239
239
with :
240
240
python-version : ' 3.12'
241
241
- name : Install poetry via pipx
@@ -269,7 +269,7 @@ jobs:
269
269
# Run unit tests with the Docker runtime Docker images as openhands user
270
270
test_runtime_oh :
271
271
name : RT Unit Tests (openhands)
272
- runs-on : ubuntu-latest
272
+ runs-on : blacksmith-4vcpu- ubuntu-2204
273
273
needs : [ghcr_build_runtime]
274
274
strategy :
275
275
matrix :
@@ -291,7 +291,7 @@ jobs:
291
291
run : |
292
292
docker load --input /tmp/runtime-${{ matrix.base_image }}.tar
293
293
- name : Cache Poetry dependencies
294
- uses : actions /cache@v4
294
+ uses : useblacksmith /cache@v5
295
295
with :
296
296
path : |
297
297
~/.cache/pypoetry
@@ -300,7 +300,7 @@ jobs:
300
300
restore-keys : |
301
301
${{ runner.os }}-poetry-
302
302
- name : Set up Python
303
- uses : actions /setup-python@v5
303
+ uses : useblacksmith /setup-python@v6
304
304
with :
305
305
python-version : ' 3.12'
306
306
- name : Install poetry via pipx
@@ -338,7 +338,7 @@ jobs:
338
338
runtime_tests_check_success :
339
339
name : All Runtime Tests Passed
340
340
if : ${{ !cancelled() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
341
- runs-on : ubuntu-latest
341
+ runs-on : blacksmith-4vcpu- ubuntu-2204
342
342
needs : [test_runtime_root, test_runtime_oh, verify_hash_equivalence_in_runtime_and_app]
343
343
steps :
344
344
- name : All tests passed
@@ -347,7 +347,7 @@ jobs:
347
347
runtime_tests_check_fail :
348
348
name : All Runtime Tests Passed
349
349
if : ${{ cancelled() || contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
350
- runs-on : ubuntu-latest
350
+ runs-on : blacksmith-4vcpu- ubuntu-2204
351
351
needs : [test_runtime_root, test_runtime_oh, verify_hash_equivalence_in_runtime_and_app]
352
352
steps :
353
353
- name : Some tests failed
@@ -358,7 +358,7 @@ jobs:
358
358
name : Update PR Description
359
359
if : github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'
360
360
needs : [ghcr_build_runtime]
361
- runs-on : ubuntu-latest
361
+ runs-on : blacksmith-4vcpu- ubuntu-2204
362
362
steps :
363
363
- name : Checkout
364
364
uses : actions/checkout@v4
0 commit comments