Skip to content
Closed
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
37 changes: 36 additions & 1 deletion .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
go test -v -ginkgo.v -timeout 1500s --ginkgo.label-filter="${{ matrix.label }}"

integration-tests:
name: Test ${{ matrix.label }} on ${{ matrix.runner }}
name: Test ${{ matrix.label }}${{ matrix.variant && format(' ({0})', matrix.variant) || '' }} on ${{ matrix.runner }}
needs: [can-read-secret, build-cli]
strategy:
fail-fast: false
Expand Down Expand Up @@ -308,6 +308,24 @@ jobs:
install-kind: true
requires-secret: false

- label: up-provider-podman
variant: rootless
runner: ubuntu-latest
free-disk-space: false
install-kind: false
install-podman-linux: true
podman-rootless: true
requires-secret: false

- label: up-provider-podman
variant: rootful
runner: ubuntu-latest
free-disk-space: false
install-kind: false
install-podman-linux: true
podman-rootless: false
requires-secret: false

- label: up-provider-docker
runner: ubuntu-latest
free-disk-space: false
Expand Down Expand Up @@ -481,6 +499,22 @@ jobs:
& "$installDir\podman.exe" machine set --rootful
& "$installDir\podman.exe" machine start

- name: install and start podman (Linux rootless)
if: matrix.install-podman-linux == true && matrix.podman-rootless == true && (matrix.requires-secret == false || needs.can-read-secret.outputs.secret-set == 'true')
run: |
sudo apt-get update && sudo apt-get install -y podman
systemctl --user start podman.socket
timeout 10 bash -c "until [ -S /run/user/$(id -u)/podman/podman.sock ]; do sleep 0.5; done"
echo "DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock" >> "$GITHUB_ENV"

- name: install and start podman (Linux rootful)
if: matrix.install-podman-linux == true && matrix.podman-rootless == false && (matrix.requires-secret == false || needs.can-read-secret.outputs.secret-set == 'true')
run: |
sudo apt-get update && sudo apt-get install -y podman
sudo systemctl start podman.socket
timeout 10 bash -c 'until [ -S /run/podman/podman.sock ]; do sleep 0.5; done'
echo "DOCKER_HOST=unix:///run/podman/podman.sock" >> "$GITHUB_ENV"

- name: setup kind (Windows)
if: matrix.install-kind == true && runner.os == 'Windows' && (matrix.requires-secret == false || needs.can-read-secret.outputs.secret-set == 'true')
shell: bash
Expand Down Expand Up @@ -547,6 +581,7 @@ jobs:
KUBECONFIG="${KUBECONFIG:-$HOME/.kube/config}" \
PATH="${PATH}" \
GOROOT="${GOROOT}" \
DOCKER_HOST="${DOCKER_HOST:-}" \
go test -v -ginkgo.v -timeout 1500s --ginkgo.label-filter="${{ matrix.label }}"
else
GH_USERNAME="${GH_USERNAME}" \
Expand Down
Loading