Skip to content

Commit d8b3234

Browse files
author
Sami Shahin
committed
[scripts] Pin OLM version to 0.8.1
- Use OLM's 0.8.1 github release to download OLM manifests - Change namespace from 'local' to 'operators'
1 parent 085b27e commit d8b3234

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

scripts/ci/install-olm-local

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env bash
22

3-
TMP_OLM="$(mktemp -d)"
4-
git clone https://github.com/operator-framework/operator-lifecycle-manager.git "$TMP_OLM"
5-
pushd "$TMP_OLM"
6-
NO_MINIKUBE=true make run-local
7-
popd
3+
# Try twice, since order matters
4+
kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.8.1/olm.yaml
5+
kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.8.1/olm.yaml
6+
7+
# Delete "operatorhubio-catalog"
8+
kubectl delete catalogsource operatorhubio-catalog -n olm

scripts/ci/test-operator

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ mkdir -p "$CR_DIR"
5555
# Organize expected dir structure for the registry image build.
5656
operator-courier nest "${OP_PATH}" "${DEPLOY_DIR}/${PKG_NAME}"
5757
pushd "$DEPLOY_DIR"
58-
NAMESPACE="local"
58+
NAMESPACE="operators"
5959
CATALOGSOURCE_FILE="${PKG_NAME}.catalogsource.yaml"
6060
SUBSCRIPTION_FILE="${PKG_NAME}.subscription.yaml"
6161
SC_PROXY_IMAGE="quay.io/operator-framework/scorecard-proxy:master"

0 commit comments

Comments
 (0)