3434 vm_interface :
3535 description : Default network interface name
3636 type : string
37- default : enp3s0
37+ default : ens3
3838 vm_flavor :
3939 description : Flavor for the all-in-one VM
4040 type : string
41- default : general.v1.medium
41+ default : en1.large
4242 vm_network :
4343 description : Network for the all-in-one VM
4444 type : string
45- default : stackhpc-release
45+ default : stackhpc-ci
4646 vm_subnet :
4747 description : Subnet for the all-in-one VM
4848 type : string
49- default : stackhpc-release-subnet
49+ default : stackhpc-ci
5050 OS_CLOUD :
5151 description : Name of cloud in clouds.yaml
5252 type : string
7474 all-in-one :
7575 name : All in one
7676 if : inputs.if
77- runs-on : [self-hosted, stackhpc-kayobe-config- aio]
77+ runs-on : arc-skc- aio-runner
7878 permissions : {}
7979 env :
8080 KAYOBE_ENVIRONMENT : ci-aio
8585 # NOTE(upgrade): Reference the PREVIOUS release branch here.
8686 PREVIOUS_BRANCH : stackhpc/yoga
8787 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+
8893 # If testing upgrade, checkout previous release, otherwise checkout current branch
8994 - name : Checkout ${{ inputs.upgrade && 'previous release' || 'current' }} config
9095 uses : actions/checkout@v4
@@ -102,6 +107,10 @@ jobs:
102107 fi
103108 echo kayobe_image=$kayobe_image >> $GITHUB_OUTPUT
104109
110+ - name : Make sure dockerd is running and test Docker.
111+ run : |
112+ docker run --rm hello-world
113+
105114 - name : Output image tag
106115 id : image_tag
107116 run : |
@@ -238,11 +247,11 @@ jobs:
238247 # The same tag may be reused (e.g. pr-123), so ensure we have the latest image.
239248 - name : Pull current Kayobe image
240249 run : |
241- sudo docker image pull $KAYOBE_IMAGE
250+ docker image pull $KAYOBE_IMAGE
242251
243252 - name : Run growroot
244253 run : |
245- sudo -E docker run -t --rm \
254+ docker run -t --rm \
246255 -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
247256 -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
248257 ${{ steps.kayobe_image.outputs.kayobe_image }} \
@@ -252,7 +261,7 @@ jobs:
252261
253262 - name : Host configure
254263 run : |
255- sudo -E docker run -t --rm \
264+ docker run -t --rm \
256265 -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
257266 -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
258267 ${{ steps.kayobe_image.outputs.kayobe_image }} \
@@ -322,7 +331,7 @@ jobs:
322331
323332 - name : Service upgrade
324333 run : |
325- sudo -E docker run -t --rm \
334+ docker run -t --rm \
326335 -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
327336 -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
328337 $KAYOBE_IMAGE \
@@ -334,7 +343,7 @@ jobs:
334343 - name : Tempest tests
335344 run : |
336345 mkdir -p tempest-artifacts
337- sudo -E docker run -t --rm \
346+ docker run -t --rm \
338347 -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
339348 -v $(pwd)/tempest-artifacts:/stack/tempest-artifacts \
340349 -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
@@ -344,7 +353,7 @@ jobs:
344353 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
345354
346355 - name : Upload test result artifacts
347- uses : actions/upload-artifact@v3
356+ uses : actions/upload-artifact@v4
348357 with :
349358 name : tempest-results-${{ inputs.os_distribution }}-${{ inputs.os_release }}-${{ inputs.neutron_plugin }}${{ inputs.upgrade && '-upgrade' }}
350359 path : tempest-artifacts/*
@@ -361,8 +370,3 @@ jobs:
361370 OS_APPLICATION_CREDENTIAL_ID : ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
362371 OS_APPLICATION_CREDENTIAL_SECRET : ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
363372 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