From 06a8ab7cde67ae01f5bdb146e6242fbba7ec95ee Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Wed, 5 Jun 2024 14:41:14 +0300 Subject: [PATCH 1/3] Start using Ubuntu 24.04 for testing --- .github/runner.bicep | 4 ++-- .github/workflows/check-licenses.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/runner.bicep b/.github/runner.bicep index b2f8314f63bbd..b4102f21fab9d 100644 --- a/.github/runner.bicep +++ b/.github/runner.bicep @@ -10,8 +10,8 @@ param adminUsername string = 'ubuntu' param adminPasswordOrKey string @description('The Ubuntu version for the VM. This will pick a fully patched image of this given Ubuntu version.') -param ubuntuOSVersion string = '22_04-lts' -param ubuntuOffer string = '0001-com-ubuntu-server-jammy' +param ubuntuOSVersion string = 'ubuntu-pro-gen1' +param ubuntuOffer string = 'ubuntu-24_04-lts' @description('Location for all resources.') param location string = resourceGroup().location diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml index 44c3e73ee579c..540da883f4a2b 100644 --- a/.github/workflows/check-licenses.yml +++ b/.github/workflows/check-licenses.yml @@ -8,7 +8,7 @@ permissions: jobs: check-licenses: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest env: LICENSES: "'Apache-2.0' 'GPL-3.0-only' 'GPL-3.0-or-later WITH Classpath-exception-2.0'" NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 56ac09b57f625c57a88155eb4cb3e66ce31a687b Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Wed, 5 Jun 2024 15:59:20 +0300 Subject: [PATCH 2/3] Update GitHub actions/runner while I am at it --- .github/provision-github-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/provision-github-runner.sh b/.github/provision-github-runner.sh index d1917338e1ed5..6fbeac2704afd 100755 --- a/.github/provision-github-runner.sh +++ b/.github/provision-github-runner.sh @@ -3,7 +3,7 @@ mkdir actions-runner pushd actions-runner || exit 1 -curl -L https://github.com/actions/runner/releases/download/v2.311.0/actions-runner-linux-x64-2.311.0.tar.gz > runner.tar.gz +curl -L https://github.com/actions/runner/releases/download/v2.317.0/actions-runner-linux-x64-2.317.0.tar.gz > runner.tar.gz tar xzf ./runner.tar.gz sudo ./bin/installdependencies.sh From 2b5fec119e61595eabf5991f07cb7f54bbcc41bc Mon Sep 17 00:00:00 2001 From: Alex Todorov Date: Fri, 21 Jun 2024 12:20:53 +0300 Subject: [PATCH 3/3] DEBUG: check if we have free space --- .github/workflows/gluwa.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/gluwa.yml b/.github/workflows/gluwa.yml index e50aa880df6fe..fd063de12d636 100644 --- a/.github/workflows/gluwa.yml +++ b/.github/workflows/gluwa.yml @@ -143,6 +143,10 @@ jobs: RUSTC_VERSION=$(curl --silent https://raw.githubusercontent.com/gluwa/creditcoin3/dev/rust-toolchain.toml | grep channel | tail -n1 | tr -d " " | cut -f2 -d'"') echo "RUSTC_VERSION=$RUSTC_VERSION" >> "$GITHUB_ENV" + - name: DEBUG + run: | + df -h + - name: Install Rust toolchain uses: actions-rs/toolchain@v1 with: @@ -158,6 +162,11 @@ jobs: command: test args: --features runtime-benchmarks + - name: DEBUG + if: always() + run: | + df -h + remove-github-runner: runs-on: ubuntu-latest needs: