diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 8fdc7b61..00de2af8 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -96,6 +96,8 @@ jobs: matrix: os: [ fedora-33, centos-8 ] steps: + - name: Install podman + run: . /etc/os-release && echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list && curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add - && sudo apt-get update -y && sudo apt-get install -y podman - uses: actions/checkout@v2 - uses: actions/download-artifact@v2 with: @@ -117,8 +119,8 @@ jobs: matrix: os: [ fedora-33, centos-8 ] steps: - - name: Install fuse-overlayfs for rootless podman - run: . /etc/os-release && echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list && curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add - && sudo apt-get update -y && sudo apt-get install -y 'podman=2.2.1~4' fuse-overlayfs + - name: Install podman and others + run: . /etc/os-release && echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list && curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | sudo apt-key add - && sudo apt-get update -y && sudo apt-get install -y podman fuse-overlayfs uidmap slirp4netns - uses: actions/checkout@v2 - uses: actions/download-artifact@v2 with: diff --git a/.travis.yml b/.travis.yml index 51a6abbd..e93df420 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,9 +57,18 @@ jobs: env: dockerfile=fedora-33 readonly=--read-only workspaces: use: fedora-33 + - env: dockerfile=fedora-33 docker='sudo podman' + workspaces: + use: fedora-33 + - env: dockerfile=fedora-33 docker=podman replica=none + workspaces: + use: fedora-33 - env: dockerfile=centos-8 readonly=--read-only workspaces: use: centos-8 + - env: dockerfile=centos-8 docker='sudo podman' + workspaces: + use: centos-8 - &test-k3s env: dockerfile=fedora-33