Skip to content

Commit

Permalink
Update deployment config (#95)
Browse files Browse the repository at this point in the history
Relates to
#51
  • Loading branch information
manasaV3 authored Oct 17, 2023
1 parent ff1bfda commit 1709ab6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ permissions:
id-token: write
contents: read

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:

deploy-to-prod:
concurrency:
group: prod-frontend-deploy-${{ github.ref }}
cancel-in-progress: true

name: deploy prod branch
runs-on: ubuntu-latest
environment: prod
Expand All @@ -36,7 +36,7 @@ jobs:
DOCKER_REPO: ${{ secrets.ECR_REPO }}/
ENV: prod
with:
stack-name: prod
stack-name: frontend
create-tag: true
tag: ${{ env.STACK_NAME }}
tfe-token: ${{ secrets.TFE_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/staging-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ permissions:
id-token: write
contents: read

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
deploy-to-staging:
concurrency:
group: staging-frontend-deploy-${{ github.ref }}
cancel-in-progress: true

name: deploy staging branch
runs-on: ubuntu-latest
environment: staging
Expand All @@ -38,7 +38,7 @@ jobs:
DOCKER_REPO: ${{ secrets.ECR_REPO }}/
ENV: staging
with:
stack-name: staging
stack-name: frontend
create-tag: true
tag: ${{ env.STACK_NAME }}
tfe-token: ${{ secrets.TFE_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions frontend/.happy/terraform/envs/prod/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ data "kubernetes_namespace" "happy-namespace" {
}
}
provider "datadog" {
app_key = "FAKE_APP_KEY"
api_key = "FAKE_API_KEY"
validate = false
}
3 changes: 1 addition & 2 deletions frontend/.happy/terraform/envs/staging/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ data "kubernetes_namespace" "happy-namespace" {
}
}
provider "datadog" {
app_key = "FAKE_APP_KEY"
api_key = "FAKE_API_KEY"
validate = false
}

0 comments on commit 1709ab6

Please sign in to comment.