Skip to content

Commit

Permalink
deployer til prod-gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteinsland committed Jan 8, 2024
1 parent 44ae6bf commit 30fd6a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ jobs:
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
outputs:
image: ${{ steps.docker-build-push.outputs.image }}

deployDevGcp:
name: Deploy to dev gcp
needs: [build]
runs-on: ubuntu-latest
env:
IMAGE: "${{ needs.build.outputs.image }}"
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: deploy/dev.yml

deployDev:
name: Deploy to dev
Expand All @@ -48,7 +34,7 @@ jobs:
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-fss
CLUSTER: dev-gcp
RESOURCE: deploy/dev.yml

deployProd:
Expand All @@ -62,5 +48,5 @@ jobs:
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-fss
CLUSTER: prod-gcp
RESOURCE: deploy/prod.yml
4 changes: 4 additions & 0 deletions deploy/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
path: /internal/is_ready
initialDelay: 20
timeout: 60
accessPolicy:
inbound:
rules:
- application: spre-gosys
resources:
limits:
cpu: 2000m
Expand Down

0 comments on commit 30fd6a8

Please sign in to comment.