From 6a127fa2b633508528ed21ed754f8c1dcb973d71 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 16 May 2024 20:02:01 +0200 Subject: [PATCH 1/5] Enable manual trigger of actions --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7301cdf..3b75f34 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] name: Lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 71ea00a..07f0a12 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,6 +3,7 @@ on: branches: - master - ci + workflow_dispatch: name: Test jobs: From 305e9868cfc608ff547aed2a022d927df0c12d8e Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 16 May 2024 20:08:12 +0200 Subject: [PATCH 2/5] CI: update linux distributions used in end-to-end tests --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 07f0a12..d014be9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,8 +18,8 @@ jobs: - debian-12-x64 - ubuntu-20-04-x64 - ubuntu-22-04-x64 - - fedora-37-x64 - - fedora-38-x64 + - ubuntu-24-04-x64 + - fedora-39-x64 - centos-7-x64 - centos-stream-8-x64 # - centos-stream-9-x64 # yum oomkill From a2725d61a35eb97405af0df0ecfcb45dca372326 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 16 May 2024 20:13:47 +0200 Subject: [PATCH 3/5] CI: update actions/checkout to v4 --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3b75f34..d1c6650 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v3.2.0 + uses: actions/checkout@v4 - name: Lint Code Base uses: github/super-linter@v4.1.0 env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d014be9..20cd584 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: - centos-stream-8-x64 # - centos-stream-9-x64 # yum oomkill steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v4 - name: Setup doctl uses: digitalocean/action-doctl@v2 From 0cc002e17dbb54bb3703469b15db085f48e9e8bc Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 16 May 2024 20:33:32 +0200 Subject: [PATCH 4/5] CI: wait for dpkg lock in debian/ubuntu setup step --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 20cd584..c73a553 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: host: ${{ steps.server_ip.outputs.value }} username: root key: ${{ secrets.SSH_KEY }} - script: set -x && apt-get update && apt-get install -y git + script: set -x && apt-get -o DPkg::Lock::Timeout=120 update && apt-get install -y git - name: Setup remote server (Fedora) if: steps.server_os.outputs.value == 'fedora' From 67701fac77d4d716cf2f4be8ac2c59db0e91f952 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 16 May 2024 20:37:23 +0200 Subject: [PATCH 5/5] CI: wait for dpkg lock in debian/ubuntu setup step --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c73a553..ef3f666 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: host: ${{ steps.server_ip.outputs.value }} username: root key: ${{ secrets.SSH_KEY }} - script: set -x && apt-get -o DPkg::Lock::Timeout=120 update && apt-get install -y git + script: set -x && apt-get update && apt-get -o DPkg::Lock::Timeout=120 install -y git - name: Setup remote server (Fedora) if: steps.server_os.outputs.value == 'fedora'