run-olm-minikube #2669
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: run-olm-minikube | |
on: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * *' # daily to pick up releases | |
workflow_dispatch: | |
jobs: | |
e2e-minikube: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
- name: Install minikube | |
run: | | |
sudo apt-get install conntrack | |
curl -sLo minikube "$(curl -sL https://api.github.com/repos/kubernetes/minikube/releases/latest | jq -r '[.assets[] | select(.name == "minikube-linux-amd64")] | first | .browser_download_url')" | |
chmod +x minikube | |
sudo mv minikube /bin/ | |
- name: Setup minikube | |
run: minikube config set vm-driver docker | |
- name: Run OLM | |
run: make run-local |