Skip to content

Commit 2aac894

Browse files
committed
Update relative paths in start.sh script for MCE installs
This installation script must have been shuffled around from the root of the repository since it contained relative paths to files and directories available from the repository root. Following the directions in the multiclusterengine/ directory results in a failed deploy because the script assumes those relative paths. This commit updates the script so that it installs cleanly by updating the relative paths. Closes #242
1 parent d3e3619 commit 2aac894

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

multiclusterengine/start.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ fi
4141

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

4848
CSVName=""
4949
for run in {1..10}; do
@@ -77,7 +77,7 @@ for run in {1..10}; do
7777
done
7878

7979
if [ $_apiReady -eq 1 ]; then
80-
oc apply -f multiclusterengine/multicluster_v1alpha1_multiclusterengine.yaml
80+
oc apply -f multicluster_v1alpha1_multiclusterengine.yaml
8181
echo "multiclusterengine installed successfully"
8282
else
8383
echo "multiclusterengine subscription could not install in the allotted time."

0 commit comments

Comments
 (0)