Skip to content

Commit 15a2186

Browse files
committed
fix img dir
1 parent 54797fc commit 15a2186

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/scripts/deploy_busola.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ print_k8s_resources()
1818

1919
ENV=${ENV?"env is not set"}
2020
IMG_TAG=$1
21+
IMG_DIR=dev
2122

2223
kubectl delete configmap environment --ignore-not-found=true
2324
kubectl create configmap environment --from-literal=ENVIRONMENT="${ENV}"
2425
echo "### Deploying busola from: ${IMG_TAG}"
2526

2627
cd resources
27-
(cd base/web && kustomize edit set image busola-web=europe-docker.pkg.dev/kyma-project/prod/busola-web:"${IMG_TAG}")
28-
(cd base/backend && kustomize edit set image busola-backend=europe-docker.pkg.dev/kyma-project/prod/busola-backend:"${IMG_TAG}")
28+
(cd base/web && kustomize edit set image busola-web=europe-docker.pkg.dev/kyma-project/${IMG_DIR}/busola-web:"${IMG_TAG}")
29+
(cd base/backend && kustomize edit set image busola-backend=europe-docker.pkg.dev/kyma-project/${IMG_DIR}/busola-backend:"${IMG_TAG}")
2930
kustomize build base/ | kubectl apply -f-
3031

3132
kubectl apply -f ingress/ingress.yaml

resources/base/backend/kustomization.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ resources:
44
- deployment.yaml
55
- hpa.yaml
66
- service.yaml
7+
images:
8+
- name: busola-backend
9+
newName: europe-docker.pkg.dev/kyma-project/prod/busola-backend
10+
newTag: PR-3499

resources/base/web/kustomization.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ resources:
55
- deployment.yaml
66
- hpa.yaml
77
- service.yaml
8+
images:
9+
- name: busola-web
10+
newName: europe-docker.pkg.dev/kyma-project/prod/busola-web
11+
newTag: PR-3499

0 commit comments

Comments
 (0)