Skip to content

Commit 46e6666

Browse files
committed
Update AIO workflow based on review comments
1 parent 9bc8555 commit 46e6666

File tree

4 files changed

+5
-42
lines changed

4 files changed

+5
-42
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,16 @@ jobs:
7979
- name: Output image tag
8080
id: image_tag
8181
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
8383
8484
# Use the image override if set, otherwise use overcloud-os_distribution-os_release-tag
8585
- name: Output image name
8686
id: image_name
8787
run: |
8888
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
9090
else
91-
echo ::set-output name=image_name::${{ inputs.vm_image_override }}
91+
echo image_name=${{ inputs.vm_image_override }} >> $GITHUB_OUTPUT
9292
fi
9393
9494
- name: Install terraform
@@ -268,13 +268,6 @@ jobs:
268268
run: |
269269
test $(wc -l < tempest-artifacts/failed-tests) -lt 1
270270
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-
278271
- name: Destroy
279272
run: terraform destroy -auto-approve
280273
working-directory: ${{ github.workspace }}/terraform/aio

.github/workflows/stackhpc-pull-request.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ jobs:
7575
os_distribution: rocky
7676
os_release: "8"
7777
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.
8078
OS_CLOUD: sms-lab-release
8179
secrets: inherit
8280
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
@@ -91,8 +89,6 @@ jobs:
9189
os_distribution: rocky
9290
os_release: "8"
9391
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.
9692
OS_CLOUD: sms-lab-release
9793
secrets: inherit
9894
if: github.repository == 'stackhpc/stackhpc-kayobe-config'

etc/kayobe/stackhpc-overcloud-host-images.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

terraform/aio/vm.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ resource "null_resource" "kayobe-aio" {
7373
host = openstack_compute_instance_v2.kayobe-aio.access_ip_v4
7474
user = var.ssh_username
7575
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
7678
script_path = "/home/${var.ssh_username}/start.sh"
7779
}
7880

0 commit comments

Comments
 (0)