Skip to content

Commit

Permalink
🐛 Set OLM version to 0.28.0 for release branches (#390) (#392)
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>

Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Cherry Picker <noreply@github.com>
Co-authored-by: Maayan Hadasi <60384172+mguetta1@users.noreply.github.com>
  • Loading branch information
konveyor-ci-bot[bot] and mguetta1 authored Oct 31, 2024
1 parent 1803942 commit 764aa18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/install-tackle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ANALYZER_CONTAINER_REQUESTS_MEMORY="${ANALYZER_CONTAINER_REQUESTS_MEMORY:-0}"
ANALYZER_CONTAINER_REQUESTS_CPU="${ANALYZER_CONTAINER_REQUESTS_CPU:-0}"
FEATURE_AUTH_REQUIRED="${FEATURE_AUTH_REQUIRED:-false}"
TIMEOUT="${TIMEOUT:-15m}"
OLM_VERSION="${OLM_VERSION:-0.28.0}"

if ! command -v kubectl >/dev/null 2>&1; then
kubectl_bin="${__bin_dir}/kubectl"
Expand Down Expand Up @@ -55,7 +56,7 @@ install_operator() {
|| kubectl get subscription --namespace ${NAMESPACE} -o yaml konveyor-operator # Print subscription details when timed out
}

kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install
kubectl get customresourcedefinitions.apiextensions.k8s.io clusterserviceversions.operators.coreos.com || operator-sdk olm install --version ${OLM_VERSION}
olm_namespace=$(kubectl get clusterserviceversions.operators.coreos.com --all-namespaces | grep packageserver | awk '{print $1}')
kubectl rollout status -w deployment/olm-operator --namespace="${olm_namespace}"
kubectl rollout status -w deployment/catalog-operator --namespace="${olm_namespace}"
Expand Down

0 comments on commit 764aa18

Please sign in to comment.