Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/podman-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 9 additions & 9 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -53,15 +53,15 @@ 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
- name: Install Node and Dependencies
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
Expand All @@ -79,15 +79,15 @@ 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
- name: Install Node and Dependencies
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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}"
Expand All @@ -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() }}
Expand Down
Loading