Skip to content

Commit

Permalink
Merge pull request #1304 from yaacov/remove-schema-in-ci-script-urls
Browse files Browse the repository at this point in the history
🧼 In start console CI script remove un used schema
  • Loading branch information
yaacov authored Aug 5, 2024
2 parents c0e2317 + 3ac483c commit 509aa55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/start-console.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ CONSOLE_PORT=${CONSOLE_PORT:-9000}
# Look for forklift routes
if oc_available_loggedin; then
routes=$(oc get routes -A -o template --template='{{range .items}}{{.spec.host}}{{"\n"}}{{end}}' 2>/dev/null || true)
INVENTORY_SERVER_HOST=https://${INVENTORY_SERVER_HOST:-$(echo "$routes" | grep forklift-inventory)}
SERVICES_API_SERVER_HOST=https://${SERVICES_API_SERVER_HOST:-$(echo "$routes" | grep forklift-services)}
INVENTORY_SERVER_HOST=${INVENTORY_SERVER_HOST:-$(echo "$routes" | grep forklift-inventory)}
SERVICES_API_SERVER_HOST=${SERVICES_API_SERVER_HOST:-$(echo "$routes" | grep forklift-services)}
fi

# Default to localhost if no route found
Expand Down

0 comments on commit 509aa55

Please sign in to comment.