File tree 3 files changed +56
-0
lines changed
apps/api-start-stopp-perioder/nais
jobs/arbeidssoekere-synk-jobb/nais
3 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 73
73
CLUSTER : dev-gcp
74
74
RESOURCE : ./jobs/${{ env.MODULE }}/nais/nais-dev.yaml
75
75
VAR : image=${{ needs.build.outputs.image }}
76
+
77
+ deploy-prod :
78
+ if : github.ref == 'refs/heads/main'
79
+ name : Deploy to prod-gcp
80
+ needs :
81
+ - build
82
+ permissions :
83
+ contents : read
84
+ id-token : write
85
+ runs-on : ubuntu-latest
86
+ steps :
87
+ - name : Checkout
88
+ uses : actions/checkout@v4
89
+ - name : Deploy to GCP
90
+ uses : nais/deploy/actions/deploy@v2
91
+ env :
92
+ CLUSTER : prod-gcp
93
+ RESOURCE : ./jobs/${{ env.MODULE }}/nais/nais-prod.yaml
94
+ VAR : image=${{ needs.build.outputs.image }}
Original file line number Diff line number Diff line change 65
65
- application : aia-backend
66
66
- application : arbeidssokerregistrering
67
67
- application : arbeidssokerregistrering-for-veileder
68
+ - application : paw-arbeidssoekere-synk-jobb
68
69
outbound :
69
70
rules :
70
71
- application : paw-kafka-key-generator
Original file line number Diff line number Diff line change
1
+ apiVersion : nais.io/v1
2
+ kind : Naisjob
3
+ metadata :
4
+ name : paw-arbeidssoekere-synk-jobb
5
+ namespace : paw
6
+ labels :
7
+ team : paw
8
+ spec :
9
+ image : {{ image }}
10
+ restartPolicy : Never
11
+ resources :
12
+ requests :
13
+ cpu : 200m
14
+ memory : 256Mi
15
+ secureLogs :
16
+ enabled : true
17
+ observability :
18
+ autoInstrumentation :
19
+ enabled : true
20
+ runtime : java
21
+ azure :
22
+ application :
23
+ enabled : true
24
+ filesFrom :
25
+ - secret : paw-arbeidssoekere-synk-jobb-csv
26
+ mountPath : /var/run/secrets/paw-arbeidssoekere-synk-jobb-csv
27
+ gcp :
28
+ sqlInstances :
29
+ - type : POSTGRES_17
30
+ tier : db-custom-1-6144
31
+ databases :
32
+ - name : pawarbeidssoekeresynk
33
+ accessPolicy :
34
+ outbound :
35
+ rules :
36
+ - application : paw-arbeidssokerregisteret-api-inngang
You can’t perform that action at this time.
0 commit comments