Skip to content

Commit

Permalink
Dev (#53)
Browse files Browse the repository at this point in the history
* style: format code

* style: update architecture png

* refactor: update login button

* fix: change client id

* feat: many small features

* ops: fix backend ci

* fix: small fix

* fix: small fix

* fix: small fix

* fix: google and fitView fix

* fix: google

* doc: update architecture diagram

* chore: add previously deleted data import

* feat: update code

* chore: remove python version

* chore: cleanup

* chore: remove sidecars test folder

* chore: remove hard-coded google project

* chore: minor changes & updates

* chore: update Dockerfile

* feat: frontend container uses nginx now

* fix: remove hard coded API Url link

* fix: fix invalid path in github workflow

* chore: temporary remove url checker

* doc: add decision logs

* feat: exchange python backend with go backend

* ops: add github actions template

* ops: bump actions workflow

* fix: fix path

* chore: change names of workflow jobs

* fix: remove unused output
  • Loading branch information
linderttobias committed Feb 18, 2024
1 parent 7b6f7d9 commit 6d9789a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend-development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '.github/workflows/backend-development.yaml'

jobs:
tf-plan-software-prod:
backend-dev-build-push-deploy:
uses: linderttobias/gcloudmaps/.github/workflows/template-deployment.yaml@main
with:
application: backend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backend-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '.github/workflows/backend-production.yaml'

jobs:
tf-plan-software-prod:
backend-prod-build-push-deploy:
uses: linderttobias/gcloudmaps/.github/workflows/template-deployment.yaml@main
with:
application: backend
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/frontend-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
- '.github/workflows/frontend-production.yaml'

jobs:
tf-plan-software-prod:
frontend-prod-build-push-deploy:

uses: linderttobias/gcloudmaps/.github/workflows/template-deployment.yaml@main
with:
application: frontend
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/template-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
contents: 'read' # Required to Checkout Repo
id-token: 'write' # Required for Workload Identity Federation
runs-on: ${{ inputs.runner }}
defaults:
run:
working-directory: ${{ inputs.working-directory }}
outputs:
# The output is obtained by setting terraform_wrapper to true
tfplanExitCode: ${{ steps.terraform_plan.outputs.exitcode }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
Expand All @@ -55,16 +49,14 @@ jobs:
with:
push: true
tags: europe-west1-docker.pkg.dev/gcloudmaps/${{ inputs.environment }}/${{ inputs.applicaton }}:${{ github.sha }}
context: application/${{ inputs.application }}

deploy-to-cloudrun:
permissions:
contents: 'read' # Required to Checkout Repo
id-token: 'write' # Required for Workload Identity Federation
runs-on: ${{ inputs.runner }}
needs: [build-push]
defaults:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- name: Deploy to Cloud Run
uses: google-github-actions/deploy-cloudrun@v2
Expand Down

0 comments on commit 6d9789a

Please sign in to comment.