Skip to content

Commit bb104a3

Browse files
committed
Add test for release installation instructions.
1 parent 9f79161 commit bb104a3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/quickstart.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: release-checks
2+
on:
3+
pull_request:
4+
paths:
5+
- 'deploy/upstream/quickstart/**'
6+
jobs:
7+
install-quickstart:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- run: |
12+
curl -sLo kind "$(curl -sL https://api.github.com/repos/kubernetes-sigs/kind/releases/latest | jq -r '[.assets[] | select(.name == "kind-linux-amd64")] | first | .browser_download_url')"
13+
chmod +x kind
14+
sudo mv kind /bin/
15+
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
16+
chmod +x kubectl
17+
sudo mv kubectl /bin/
18+
kind create cluster
19+
kind export kubeconfig
20+
kubectl apply -f deploy/upstream/quickstart/crds.yaml
21+
kubectl wait --timeout=5m --for=condition=Established crd $(kubectl get crd --output=jsonpath='{.items[*].metadata.name}')
22+
kubectl apply -f deploy/upstream/quickstart/olm.yaml
23+
kubectl wait --timeout=5m --for=condition=Available -n olm deploy olm-operator catalog-operator packageserver

0 commit comments

Comments
 (0)