mirror of https://github.com/knative/func.git
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: Func Podman Test
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
name: Podman Test
|
|
strategy:
|
|
matrix:
|
|
go: [1.16.x]
|
|
os: ["ubuntu-latest"]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- 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
|
|
sudo apt-get -y upgrade
|
|
sudo apt-get -y install podman
|
|
podman info
|
|
- name: Install Binaries
|
|
run: ./hack/binaries.sh
|
|
- name: Allocate Cluster
|
|
run: ./hack/allocate.sh
|
|
- name: Local Registry
|
|
run: ./hack/registry.sh
|
|
- name: Integration Test Podman
|
|
run: ./hack/test-integration-podman.sh
|
|
|