Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update relative paths in start.sh script for MCE installs #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions multiclusterengine/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ fi

IMG="${_REPO}:${SNAPSHOT_CHOICE}" yq eval -i '.spec.image = env(IMG)' catalogsources/multicluster-engine.yaml
VER="${SNAPSHOT_CHOICE:0:3}" yq eval -i '.spec.channel = "stable-"+ env(VER)' multiclusterengine/operator/subscription.yaml
oc apply -f catalogsources/multicluster-engine.yaml
oc apply -f ../catalogsources/multicluster-engine.yaml
oc create ns multicluster-engine --dry-run=client -o yaml | oc apply -f -
oc apply -k multiclusterengine/operator/
oc apply -k operator/

CSVName=""
for run in {1..10}; do
Expand Down Expand Up @@ -77,7 +77,7 @@ for run in {1..10}; do
done

if [ $_apiReady -eq 1 ]; then
oc apply -f multiclusterengine/multicluster_v1alpha1_multiclusterengine.yaml
oc apply -f multicluster_v1alpha1_multiclusterengine.yaml
echo "multiclusterengine installed successfully"
else
echo "multiclusterengine subscription could not install in the allotted time."
Expand Down