From ca59ea726f505db159b8ba8c51de5bb91ef08a38 Mon Sep 17 00:00:00 2001 From: Iury Gregory Melo Ferreira Date: Wed, 11 Oct 2023 20:40:04 -0400 Subject: [PATCH 1/5] Ensure Update and Upgrade in action Baremetal jobs were failling because of dpkg failed to process the grub-efi-amd64-signed package, according to some articles online, we can avoid this problem by ensuring we have the latest packages installed. https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist https://forum.hestiacp.com/t/ubuntu-20-04-installation-error/4323 --- action.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yaml b/action.yaml index 62b0336..7b28acb 100644 --- a/action.yaml +++ b/action.yaml @@ -22,6 +22,9 @@ inputs: runs: using: "composite" steps: + - name: Run update and upgrade + run: sudo apt update && sudo apt -y upgrade + shell: bash - name: Install python pip run: python -m pip install --upgrade pip shell: bash From ee6313fecc86c17f905a99762c2663b424d996fa Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 12 Oct 2023 11:06:44 -0400 Subject: [PATCH 2/5] action: move OS upgrade right before devstack install --- action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yaml b/action.yaml index 7b28acb..01d96ca 100644 --- a/action.yaml +++ b/action.yaml @@ -22,9 +22,6 @@ inputs: runs: using: "composite" steps: - - name: Run update and upgrade - run: sudo apt update && sudo apt -y upgrade - shell: bash - name: Install python pip run: python -m pip install --upgrade pip shell: bash @@ -78,6 +75,9 @@ runs: fi working-directory: ./devstack shell: bash + - name: Upgrade the operating system + run: sudo apt-get update && sudo apt-get -y upgrade + shell: bash - name: Run devstack env: FORCE: ${{ inputs.force }} From 77181557c3969b64f6f0a1fa26908a5a1b4cb254 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 13 Oct 2023 09:22:09 -0400 Subject: [PATCH 3/5] Revert "action: move OS upgrade right before devstack install" This reverts commit ee6313fecc86c17f905a99762c2663b424d996fa. --- action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yaml b/action.yaml index 01d96ca..7b28acb 100644 --- a/action.yaml +++ b/action.yaml @@ -22,6 +22,9 @@ inputs: runs: using: "composite" steps: + - name: Run update and upgrade + run: sudo apt update && sudo apt -y upgrade + shell: bash - name: Install python pip run: python -m pip install --upgrade pip shell: bash @@ -75,9 +78,6 @@ runs: fi working-directory: ./devstack shell: bash - - name: Upgrade the operating system - run: sudo apt-get update && sudo apt-get -y upgrade - shell: bash - name: Run devstack env: FORCE: ${{ inputs.force }} From 992302b46b300aeafe636ec259dbf45b5c8989cc Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 13 Oct 2023 09:22:16 -0400 Subject: [PATCH 4/5] Revert "Ensure Update and Upgrade in action" This reverts commit ca59ea726f505db159b8ba8c51de5bb91ef08a38. --- action.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/action.yaml b/action.yaml index 7b28acb..62b0336 100644 --- a/action.yaml +++ b/action.yaml @@ -22,9 +22,6 @@ inputs: runs: using: "composite" steps: - - name: Run update and upgrade - run: sudo apt update && sudo apt -y upgrade - shell: bash - name: Install python pip run: python -m pip install --upgrade pip shell: bash From 86d1ad34b53f2ee57807e8492139f3b5ba3bbd5c Mon Sep 17 00:00:00 2001 From: nikParasyr Date: Sun, 28 Jan 2024 14:21:19 +0100 Subject: [PATCH 5/5] Bump versions of actions --- .github/workflows/with-defaults.yml | 4 ++-- action.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/with-defaults.yml b/.github/workflows/with-defaults.yml index 29fdf48..99d383f 100644 --- a/.github/workflows/with-defaults.yml +++ b/.github/workflows/with-defaults.yml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest name: A job to deploy devstack with defaults steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: devstack-action uses: ./ - name: Upload logs artifacts on failure if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: devstack-logs path: /tmp/devstack-logs/* diff --git a/action.yaml b/action.yaml index 62b0336..b6573b6 100644 --- a/action.yaml +++ b/action.yaml @@ -43,7 +43,7 @@ runs: run: sudo apt-get purge -y python3-simplejson python3-pyasn1-modules postgresql* || true shell: bash - name: Checkout Devstack - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ inputs.branch }} repository: openstack/devstack