Skip to content

Commit

Permalink
Workaround for Podman issue
Browse files Browse the repository at this point in the history
The tests that use Podman inside Docker have been modified to
remove the content of /var/lib/containers as a workaround for
a known issue in Podman.

containers/podman#21683
  • Loading branch information
edewata committed Jan 3, 2025
1 parent 7b37f6a commit 6a4d0f7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ca-container-migration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
env:
SHARED: /tmp/workdir/pki
steps:
- name: Install dependencies
run: |
# workaround for https://github.com/containers/podman/issues/21683
sudo ls -lR /var/lib/containers
sudo rm -rf /var/lib/containers/*
- name: Clone repository
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ca-container-system-service-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
env:
SHARED: /tmp/workdir/pki
steps:
- name: Install dependencies
run: |
# workaround for https://github.com/containers/podman/issues/21683
sudo ls -lR /var/lib/containers
sudo rm -rf /var/lib/containers/*
- name: Clone repository
uses: actions/checkout@v4

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ca-container-user-service-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
sudo apt-get update
sudo apt-get -y install jq
# workaround for https://github.com/containers/podman/issues/21683
sudo ls -lR /var/lib/containers
sudo rm -rf /var/lib/containers/*
- name: Clone repository
uses: actions/checkout@v4

Expand Down

0 comments on commit 6a4d0f7

Please sign in to comment.