File tree Expand file tree Collapse file tree 4 files changed +5
-42
lines changed Expand file tree Collapse file tree 4 files changed +5
-42
lines changed Original file line number Diff line number Diff line change @@ -79,16 +79,16 @@ jobs:
79
79
- name : Output image tag
80
80
id : image_tag
81
81
run : |
82
- echo ::set-output name= image_tag:: $(grep stackhpc_${{ inputs.os_distribution }}_${{ inputs.os_release }}_overcloud_host_image_version etc/kayobe/environments/ci-aio/stackhpc-ci.yml | awk '{print $2}')
82
+ echo image_tag= $(grep stackhpc_${{ inputs.os_distribution }}_${{ inputs.os_release }}_overcloud_host_image_version etc/kayobe/environments/ci-aio/stackhpc-ci.yml | awk '{print $2}') >> $GITHUB_OUTPUT
83
83
84
84
# Use the image override if set, otherwise use overcloud-os_distribution-os_release-tag
85
85
- name : Output image name
86
86
id : image_name
87
87
run : |
88
88
if [ -z "${{ inputs.vm_image_override }}" ]; then
89
- echo ::set-output name= image_name:: overcloud-${{ inputs.os_distribution }}-${{ inputs.os_release }}-${{ steps.image_tag.outputs.image_tag }}
89
+ echo image_name= overcloud-${{ inputs.os_distribution }}-${{ inputs.os_release }}-${{ steps.image_tag.outputs.image_tag }} >> $GITHUB_OUTPUT
90
90
else
91
- echo ::set-output name= image_name:: ${{ inputs.vm_image_override }}
91
+ echo image_name= ${{ inputs.vm_image_override }} >> $GITHUB_OUTPUT
92
92
fi
93
93
94
94
- name : Install terraform
@@ -268,13 +268,6 @@ jobs:
268
268
run : |
269
269
test $(wc -l < tempest-artifacts/failed-tests) -lt 1
270
270
271
- - name : Upload logs artifact
272
- uses : actions/upload-artifact@v3
273
- with :
274
- name : kolla-logs-${{ inputs.os_distribution }}-${{ inputs.os_release }}-${{ inputs.neutron_plugin }}
275
- path : logs.zip
276
- if : failure()
277
-
278
271
- name : Destroy
279
272
run : terraform destroy -auto-approve
280
273
working-directory : ${{ github.workspace }}/terraform/aio
Original file line number Diff line number Diff line change 75
75
os_distribution : rocky
76
76
os_release : " 8"
77
77
neutron_plugin : ovs
78
- # NOTE: The current SMS lab Rocky8 image has moved ahead of our release
79
- # train snapshots, causing failures installing some packages.
80
78
OS_CLOUD : sms-lab-release
81
79
secrets : inherit
82
80
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
91
89
os_distribution : rocky
92
90
os_release : " 8"
93
91
neutron_plugin : ovn
94
- # NOTE: The current SMS lab Rocky8 image has moved ahead of our release
95
- # train snapshots, causing failures installing some packages.
96
92
OS_CLOUD : sms-lab-release
97
93
secrets : inherit
98
94
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ resource "null_resource" "kayobe-aio" {
73
73
host = openstack_compute_instance_v2. kayobe-aio . access_ip_v4
74
74
user = var. ssh_username
75
75
private_key = file (" id_rsa" )
76
+ # Terraform will run the start script from /tmp by default. For the
77
+ # current images, /tmp is noexec, so the path must be changed
76
78
script_path = " /home/${ var . ssh_username } /start.sh"
77
79
}
78
80
You can’t perform that action at this time.
0 commit comments