Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
15 changes: 5 additions & 10 deletions .github/actions/podman-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,15 @@ description: "Sets up Podman"
runs:
using: "composite"
steps:
- name: Install Podman
uses: redhat-actions/podman-install@5bc2ecc87c737059124c295845be51ee7297fb89
with:
ubuntu-repository: questing
- name: Verify Podman
shell: bash
run: podman --version

- name: Configure Podman
shell: bash
run: |
PODMAN_SOCKET="${RUNNER_TEMP:-/tmp}/podman.sock"

sudo mkdir -p /etc/systemd/system/podman.socket.d
printf '[Socket]\nListenStream=\nListenStream=%s\nSocketUser=%s\nSocketMode=0600\n' "${PODMAN_SOCKET}" "$(id -un)" | sudo tee /etc/systemd/system/podman.socket.d/runner.conf
sudo systemctl daemon-reload
sudo systemctl restart podman.socket
sudo systemctl start podman.socket
PODMAN_SOCKET="$(sudo podman info --format '{{ .Host.RemoteSocket.Path }}')"
podman --url="unix://${PODMAN_SOCKET}" info
echo "DOCKER_HOST=unix://${PODMAN_SOCKET}" >> $GITHUB_ENV
Comment thread
cristianrgreco marked this conversation as resolved.
Outdated
echo "CI_PODMAN=true" >> $GITHUB_ENV
3 changes: 1 addition & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,9 @@ jobs:
name: Tests
needs:
- detect-modules
- lint
- compile
strategy:
fail-fast: false
max-parallel: 20
matrix:
module: ${{ fromJSON(needs.detect-modules.outputs.modules) }}
node-version: [22.x, 24.x]
Expand Down
Loading