Skip to content

Commit

Permalink
improve podman ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Ojea committed Aug 19, 2020
1 parent faed334 commit 485fe22
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@ jobs:
- name: Install kind
run: sudo make install INSTALL_DIR=/usr/local/bin

- name: Install kubectl
run: |
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
- name: Enable ipv4 and ipv6 forwarding
run: |
sudo sysctl -w net.ipv6.conf.all.forwarding=1
sudo sysctl -w net.ipv4.ip_forward=1
- name: Install podman
run: |
. /etc/os-release
Expand Down Expand Up @@ -87,6 +98,12 @@ jobs:
- role: worker
EOF
- name: Get Cluster status
run: |
sudo kubectl get nodes -o wide
sudo kubectl get pods -A
continue-on-error: true

# TODO: implement this
- name: Load docker image
run: sudo KIND_EXPERIMENTAL_PROVIDER=podman kind load docker-image busybox:2
Expand Down

0 comments on commit 485fe22

Please sign in to comment.