Fix deadlock #5368
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Func Podman Test | |
on: [pull_request] | |
jobs: | |
test: | |
name: Podman Test | |
strategy: | |
matrix: | |
os: ["ubuntu-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Set Environment Variables | |
run: | | |
echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" | |
echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" | |
- uses: actions/checkout@v4 | |
- uses: knative/actions/setup-go@main | |
- name: Install Podman | |
run: | | |
. /etc/os-release | |
sudo mkdir -p /etc/apt/keyrings | |
curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_${VERSION_ID}/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_${VERSION_ID}/ /" \ | |
| sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null | |
sudo apt-get update -qq | |
sudo apt-get -qq -y install podman | |
podman info | |
- name: Install Binaries | |
run: ./hack/install-binaries.sh | |
- name: Allocate Cluster | |
run: ./hack/allocate.sh | |
- name: Local Registry | |
run: ./hack/registry.sh | |
- name: Setup testing images | |
run: ./hack/setup-testing-images.sh | |
- name: Integration Test Podman | |
env: | |
FUNC_REPO_REF: ${{ github.event.pull_request.head.repo.full_name }} | |
FUNC_REPO_BRANCH_REF: ${{ github.head_ref }} | |
run: ./hack/test-integration-podman.sh | |