File tree 7 files changed +21
-38
lines changed
7 files changed +21
-38
lines changed Original file line number Diff line number Diff line change @@ -72,20 +72,20 @@ jobs:
72
72
image_version : ${{ needs.build-app.outputs.build-version }}
73
73
74
74
75
- # deploy-dev:
76
- # name: Deploy dev
77
- # permissions:
78
- # id-token: write
79
- # contents: write
80
- # if: github.ref_name == 'master'
81
- # needs: [build-app]
82
- # uses: navikt/sif-gha-workflows/.github/workflows/maven-deploy.yml@main
83
- # with:
84
- # gar: true
85
- # image: ${{ needs.build-app.outputs.build-version }}
86
- # cluster: dev-gcp
87
- # naiserator_file: deploy/dev-gcp.yml
88
- # secrets: inherit
75
+ deploy-dev :
76
+ name : Deploy dev
77
+ permissions :
78
+ id-token : write
79
+ contents : write
80
+ if : github.ref_name == 'master'
81
+ needs : [build-app]
82
+ uses : navikt/sif-gha-workflows/.github/workflows/maven-deploy.yml@main
83
+ with :
84
+ gar : true
85
+ image : ${{ needs.build-app.outputs.build-version }}
86
+ cluster : dev-gcp
87
+ naiserator_file : deploy/dev-gcp.yml
88
+ secrets : inherit
89
89
90
90
# check-change-compat-typescript-client:
91
91
# name: Change and compatibility check typescript client
Original file line number Diff line number Diff line change 25
25
gar : true
26
26
image : ${{ inputs.image }}
27
27
cluster : ${{ inputs.environment }}-gcp
28
- naiserator_file : deploy/${{ inputs.environment }}-fss .yml
28
+ naiserator_file : deploy/${{ inputs.environment }}-gcp .yml
29
29
namespace : k9saksbehandling
30
30
secrets : inherit
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
deploy-kafka-topics-dev :
11
- # permissions:
12
- # id-token: write
11
+ permissions :
12
+ id-token : write
13
13
name : Deploy to Aiven Dev
14
14
if : startsWith(github.ref, 'refs/heads/master')
15
15
runs-on : ubuntu-latest
32
32
RESOURCE : deploy/kafka/ung-vedtakhendelse-dev.yml
33
33
34
34
deploy-kafka-topics-prod :
35
- # permissions:
36
- # id-token: write
35
+ permissions :
36
+ id-token : write
37
37
name : Deploy to Aiven Prod
38
38
if : startsWith(github.ref, 'refs/heads/master') # If the branch is master
39
39
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -7,9 +7,6 @@ RUN mkdir /app/conf
7
7
8
8
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75.0 -XX:ActiveProcessorCount=4 -Djdk.virtualThreadScheduler.parallelism=8 -Djava.security.egd=file:/dev/./urandom -Duser.timezone=Europe/Oslo "
9
9
10
- # Application Start Konfigurasjon
11
- COPY build/init-app.sh /init-scripts/init-app.sh
12
-
13
10
# Config
14
11
COPY web/target/classes/logback.xml /app/conf/
15
12
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 97
97
sqlInstances :
98
98
- type : POSTGRES_16
99
99
name : ung-sak-db
100
- tier : db-custom-1-3840
100
+ tier : db-g1-small # delt CPU, 1.7 RAM
101
101
diskSize : 10
102
102
diskAutoresize : false
103
103
highAvailability : false
Original file line number Diff line number Diff line change 90
90
sqlInstances :
91
91
- type : POSTGRES_16
92
92
name : ung-sak-db
93
- tier : db-custom-2-7680
93
+ tier : db-custom-1-3840 # 1 CPU, 3.75 GB RAM
94
94
diskSize : 100
95
95
diskAutoresize : true
96
96
highAvailability : true
You can’t perform that action at this time.
0 commit comments