Skip to content

Commit bec662d

Browse files
committed
chore: add target to start ui and connect to k3d/local-stack
1 parent a336409 commit bec662d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ start-ui:
3232
&& export AUTH_KEYCLOAK_SECRET=$(AUTH_KEYCLOAK_SECRET) \
3333
&& docker compose -p $(CI_BUILD_TAG) --compatibility up -d ui --build
3434

35+
.PHONY: start-ui-k3d
36+
start-ui-k3d:
37+
$(MAKE) start-ui \
38+
GRAPHQL_API=https://lagoon-api.172.18.0.240.nip.io/graphql \
39+
KEYCLOAK_FRONTEND_URL=https://lagoon-keycloak.172.18.0.240.nip.io/auth \
40+
AUTH_KEYCLOAK_SECRET=$$(kubectl -n lagoon-core get secrets lagoon-core-keycloak -o json | jq -r '.data["KEYCLOAK_LAGOON_UI_OIDC_CLIENT_SECRET"] | @base64d')
41+
docker network connect k3d lagoon-ui_ui_1
42+
3543
.PHONY: checkout-core
3644
checkout-core:
3745
export COREDIR=$$(mktemp -d ./lagoon-core.XXX) \

0 commit comments

Comments
 (0)