34
34
vm_interface :
35
35
description : Default network interface name
36
36
type : string
37
- default : enp3s0
37
+ default : ens3
38
38
vm_flavor :
39
39
description : Flavor for the all-in-one VM
40
40
type : string
41
- default : general.v1.medium
41
+ default : en1.large
42
42
vm_network :
43
43
description : Network for the all-in-one VM
44
44
type : string
45
- default : stackhpc-release
45
+ default : stackhpc-ci
46
46
vm_subnet :
47
47
description : Subnet for the all-in-one VM
48
48
type : string
49
- default : stackhpc-release-subnet
49
+ default : stackhpc-ci
50
50
OS_CLOUD :
51
51
description : Name of cloud in clouds.yaml
52
52
type : string
74
74
all-in-one :
75
75
name : All in one
76
76
if : inputs.if
77
- runs-on : [self-hosted, stackhpc-kayobe-config- aio]
77
+ runs-on : arc-skc- aio-runner
78
78
permissions : {}
79
79
env :
80
80
KAYOBE_ENVIRONMENT : ci-aio
85
85
# NOTE(upgrade): Reference the PREVIOUS release branch here.
86
86
PREVIOUS_BRANCH : stackhpc/yoga
87
87
steps :
88
+ - name : Install Package
89
+ uses : ConorMacBride/install-package@main
90
+ with :
91
+ apt : build-essential git unzip nodejs python3 python3-pip python3-wheel python-is-python3
92
+
88
93
# If testing upgrade, checkout previous release, otherwise checkout current branch
89
94
- name : Checkout ${{ inputs.upgrade && 'previous release' || 'current' }} config
90
95
uses : actions/checkout@v4
@@ -102,6 +107,10 @@ jobs:
102
107
fi
103
108
echo kayobe_image=$kayobe_image >> $GITHUB_OUTPUT
104
109
110
+ - name : Make sure dockerd is running and test Docker.
111
+ run : |
112
+ docker run --rm hello-world
113
+
105
114
- name : Output image tag
106
115
id : image_tag
107
116
run : |
@@ -238,11 +247,11 @@ jobs:
238
247
# The same tag may be reused (e.g. pr-123), so ensure we have the latest image.
239
248
- name : Pull current Kayobe image
240
249
run : |
241
- sudo docker image pull $KAYOBE_IMAGE
250
+ docker image pull $KAYOBE_IMAGE
242
251
243
252
- name : Run growroot
244
253
run : |
245
- sudo -E docker run -t --rm \
254
+ docker run -t --rm \
246
255
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
247
256
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
248
257
${{ steps.kayobe_image.outputs.kayobe_image }} \
@@ -252,7 +261,7 @@ jobs:
252
261
253
262
- name : Host configure
254
263
run : |
255
- sudo -E docker run -t --rm \
264
+ docker run -t --rm \
256
265
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
257
266
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
258
267
${{ steps.kayobe_image.outputs.kayobe_image }} \
@@ -322,7 +331,7 @@ jobs:
322
331
323
332
- name : Service upgrade
324
333
run : |
325
- sudo -E docker run -t --rm \
334
+ docker run -t --rm \
326
335
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
327
336
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
328
337
$KAYOBE_IMAGE \
@@ -334,7 +343,7 @@ jobs:
334
343
- name : Tempest tests
335
344
run : |
336
345
mkdir -p tempest-artifacts
337
- sudo -E docker run -t --rm \
346
+ docker run -t --rm \
338
347
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
339
348
-v $(pwd)/tempest-artifacts:/stack/tempest-artifacts \
340
349
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
@@ -344,7 +353,7 @@ jobs:
344
353
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
345
354
346
355
- name : Upload test result artifacts
347
- uses : actions/upload-artifact@v3
356
+ uses : actions/upload-artifact@v4
348
357
with :
349
358
name : tempest-results-${{ inputs.os_distribution }}-${{ inputs.os_release }}-${{ inputs.neutron_plugin }}${{ inputs.upgrade && '-upgrade' }}
350
359
path : tempest-artifacts/*
@@ -361,8 +370,3 @@ jobs:
361
370
OS_APPLICATION_CREDENTIAL_ID : ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
362
371
OS_APPLICATION_CREDENTIAL_SECRET : ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
363
372
if : always()
364
-
365
- - name : Prune Docker images over 1 week old
366
- # May fail if another prune is running
367
- run : sudo docker image prune --all --force --filter until=168h || true
368
- if : always()
0 commit comments