Skip to content

Commit c4bad31

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

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test-scripts.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,20 @@ jobs:
4141
kind create cluster
4242
kind export kubeconfig
4343
make run-local
44+
install-quickstart:
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v2
48+
- run: |
49+
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')"
50+
chmod +x kind
51+
sudo mv kind /bin/
52+
curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl"
53+
chmod +x kubectl
54+
sudo mv kubectl /bin/
55+
kind create cluster
56+
kind export kubeconfig
57+
kubectl apply -f deploy/upstream/quickstart/crds.yaml
58+
kubectl wait --for=condition=Established crd $(kubectl get crd --output=jsonpath='{.items[*].metadata.name}')
59+
kubectl apply -f deploy/upstream/quickstart/olm.yaml
60+
kubectl wait --for=condition=Available -n olm deploy olm-operator catalog-operator packageserver

0 commit comments

Comments
 (0)