From 3108d94c45bdca1324c19a18b5b1b5dd0e0e1c9c Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Fri, 22 Aug 2025 15:41:49 +0100 Subject: [PATCH 1/2] Update checks.yml to run on shipfox --- .github/workflows/checks.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 7644dd321..d09fc886d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -21,7 +21,7 @@ concurrency: jobs: detect-modules: name: Detect packages to check - runs-on: ubuntu-22.04 + runs-on: shipfox-2vcpu-ubuntu-2404 outputs: modules: ${{ steps.set-modified-modules.outputs.modules }} modules_count: ${{ steps.set-modified-modules-count.outputs.modules_count }} @@ -53,7 +53,7 @@ jobs: fail-fast: false matrix: module: ${{ fromJSON(needs.detect-modules.outputs.modules) }} - runs-on: ubuntu-22.04 + runs-on: shipfox-2vcpu-ubuntu-2404 steps: - name: Code checkout uses: actions/checkout@v5 @@ -61,7 +61,7 @@ jobs: id: npm-install-modules uses: ./.github/actions/npm-setup with: - runner: ubuntu-22.04 + runner: shipfox-2vcpu-ubuntu-2404 node-version: 24.x workspace: "${{ matrix.module }}" - name: Code linting @@ -79,7 +79,7 @@ jobs: fail-fast: false matrix: module: ${{ fromJSON(needs.detect-modules.outputs.modules) }} - runs-on: ubuntu-22.04 + runs-on: shipfox-2vcpu-ubuntu-2404 steps: - name: Code checkout uses: actions/checkout@v5 @@ -87,7 +87,7 @@ jobs: id: npm-install uses: ./.github/actions/npm-setup with: - runner: ubuntu-22.04 + runner: shipfox-2vcpu-ubuntu-2404 node-version: 24.x workspace: "${{ matrix.module }}" - name: Compile @@ -108,14 +108,14 @@ jobs: fail-fast: false matrix: node-version: [20.x, 22.x, 24.x] - runs-on: ubuntu-22.04 + runs-on: shipfox-2vcpu-ubuntu-2404 steps: - name: Code checkout uses: actions/checkout@v5 - name: Install Node ${{ matrix.node-version }} and Dependencies uses: ./.github/actions/npm-setup with: - runner: ubuntu-22.04 + runner: shipfox-2vcpu-ubuntu-2404 node-version: ${{ matrix.node-version }} workspace: "testcontainers" - name: Build testcontainers @@ -147,7 +147,7 @@ jobs: container-runtime: [docker, podman] uses: ./.github/workflows/test-template.yml with: - runner: ubuntu-22.04 + runner: shipfox-2vcpu-ubuntu-2404 node-version: ${{ matrix.node-version }} container-runtime: ${{ matrix.container-runtime }} workspace: "${{ matrix.module }}" @@ -161,7 +161,7 @@ jobs: - compile - smoke-test - test - runs-on: ubuntu-22.04 + runs-on: shipfox-2vcpu-ubuntu-2404 steps: - name: Check if any jobs failed if: ${{ failure() || cancelled() }} From 0c3b1a602248e06943bae00a99713ade295bd255 Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Thu, 4 Sep 2025 11:55:27 +0100 Subject: [PATCH 2/2] Add logging to podman-setup action --- .github/actions/podman-setup/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/podman-setup/action.yml b/.github/actions/podman-setup/action.yml index 99b07a35d..118882ffc 100644 --- a/.github/actions/podman-setup/action.yml +++ b/.github/actions/podman-setup/action.yml @@ -6,12 +6,16 @@ runs: - name: Podman setup shell: bash run: | + echo "Installing Podman" curl -fsSL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/Release.key" | gpg --dearmor | sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_$(lsb_release -rs)/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null sudo apt-get update sudo apt-get -y install podman + echo "Enabling Podman socket" systemctl enable --now --user podman podman.socket + echo "Getting Podman info" podman info + echo "Setting up environment for Podman" echo "DOCKER_HOST=unix://${XDG_RUNTIME_DIR}/podman/podman.sock" >> $GITHUB_ENV echo "CI_ROOTLESS=true" >> $GITHUB_ENV echo "CI_PODMAN=true" >> $GITHUB_ENV