Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed Oct 6, 2023
1 parent 9edab9c commit 4d17808
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-on-kube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ jobs:
run: |
TAG=$(make get-current-tag) BUILD_TARGET=test docker-compose -f docker-compose-prod.yml build
kind load docker-image \
basegun-backend:$(make get-current-tag)-prod \
basegun-frontend:$(make get-current-tag)-prod \
basegun-backend:$(make get-current-tag) \
basegun-frontend:$(make get-current-tag) \
--name basegun-testing
helm upgrade --install basegun ./infra/kube/helm/ \
--set ingress.hosts[0].host="$LOCAL_DOMAIN" \
--set ingress.hosts[0].paths[0].path="/" \
--set ingress.hosts[0].paths[0].pathType="Prefix" \
--set backend.image.repository="basegun-backend" \
--set backend.image.tag="$(make get-current-tag)-prod" \
--set backend.image.tag="$(make get-current-tag)" \
--set frontend.image.repository="basegun-frontend" \
--set frontend.image.tag="$(make get-current-tag)-prod" \
--set frontend.image.tag="$(make get-current-tag)" \
--set backend.secret.create="true" \
--set-string backend.secret.values.AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" \
--set-string backend.secret.values.AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" \
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- WORKSPACE=${WORKSPACE:-prod}
image: basegun-backend:${TAG}-prod
image: basegun-backend:${TAG}
ports:
- 5000:5000

Expand All @@ -23,6 +23,6 @@ services:
context: ./frontend
target: prod
container_name: basegun-frontend
image: basegun-frontend:${TAG}-prod
image: basegun-frontend:${TAG}
ports:
- ${PORT_PROD:-80}:8080

0 comments on commit 4d17808

Please sign in to comment.