Skip to content

Commit

Permalink
legg til cpa-repo-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
alpet committed Sep 13, 2023
1 parent 63a9da8 commit a450ac8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
- name: "Deploy to DEV"
uses: "nais/deploy/actions/deploy@v1"
env:
"APIKEY": "${{ secrets.NAIS_DEPLOY_APIKEY }}"
"CLUSTER": "dev-gcp"
"RESOURCE": ".nais/processor-dev.yaml"
"VAR": image=${IMAGE_EBMS}
APIKEY: "${{ secrets.NAIS_DEPLOY_APIKEY }}"
CLUSTER: "dev-gcp"
RESOURCE: ".nais/processor-dev.yaml"
IMAGE: ${{env.IMAGE_EBMS}}
deploy-cpa-repo:
name: "Deploy cpa-repo to dev"
needs: "build"
Expand All @@ -71,10 +71,10 @@ jobs:
- name: "Deploy to DEV"
uses: "nais/deploy/actions/deploy@v1"
env:
"APIKEY": "${{ secrets.NAIS_DEPLOY_APIKEY }}"
"CLUSTER": "dev-gcp"
"RESOURCE": ".nais/cpa-repo-dev.yaml"
"VAR": image=${IMAGE_CPA}
APIKEY: "${{ secrets.NAIS_DEPLOY_APIKEY }}"
CLUSTER: "dev-gcp"
RESOURCE: ".nais/cpa-repo-dev.yaml"
IMAGE: ${{env.IMAGE_CPA}}
# "deployAppToDev":
# name: "Deploy app to dev"
# needs: "build"
Expand Down
22 changes: 22 additions & 0 deletions .nais/cpa-repo-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: "cpa-repo"
namespace: "team-emottak"
labels:
"team": "team-emottak"
spec:
image: {{image}}
replicas:
min: 1
max: 1
cpuThresholdPercentage: 50
resources:
limits:
cpu: "200m"
memory: "256Mi"
requests:
cpu: "200m"
memory: "256Mi"
inngresses:
- "https://cpa-repo.intern.dev.nav.no"

0 comments on commit a450ac8

Please sign in to comment.