From b86ac3637eee5997ca789b7157b7e537e707641d Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Fri, 13 Oct 2023 10:02:13 -0400 Subject: [PATCH] Add workaround for baremetal jobs on ubuntu 20.04 This commit adds a workaround to baremetal jobs running on ubuntu 20.04 since they are failling when installing grub-efi-amd64-signed --- .github/workflows/functional-baremetal.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/functional-baremetal.yaml b/.github/workflows/functional-baremetal.yaml index e19420776f0..cccf4bd3370 100644 --- a/.github/workflows/functional-baremetal.yaml +++ b/.github/workflows/functional-baremetal.yaml @@ -40,6 +40,10 @@ jobs: steps: - name: Checkout Gophercloud uses: actions/checkout@v4 + - name: Workaround for grub-efi-amd64-signed + run: sudo apt update && sudo apt -y upgrade + shell: bash + if: matrix.ubuntu_version == '20.04' - name: Deploy devstack uses: EmilienM/devstack-action@v0.11 with: @@ -79,6 +83,14 @@ jobs: SWIFT_ENABLE_TEMPURLS=True SWIFT_TEMPURL_KEY=secretkey enabled_services: 'ir-api,ir-cond,s-account,s-container,s-object,s-proxy,q-svc,q-agt,q-dhcp,q-l3,q-meta,-cinder,-c-sch,-c-api,-c-vol,-c-bak,-ovn,-ovn-controller,-ovn-northd,-q-ovn-metadata-agent' + - name: Provide remote access + run: | + wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz + tar xf tmate-2.4.0-static-linux-amd64.tar.xz + cd tmate-2.4.0-static-linux-amd64 + ./tmate -F & + - name: Sleep + run: sleep 10000 - name: Checkout go uses: actions/setup-go@v4 with: