Skip to content

Commit fc490af

Browse files
committedNov 1, 2022
🚀 Faktisk deploy, glemte å legge ved filer
1 parent ce9cee6 commit fc490af

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
 

‎.github/workflows/build-labs-mock.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,15 @@ jobs:
6464
"APIKEY": "${{ secrets.NAIS_DEPLOY_APIKEY }}"
6565
"CLUSTER": "labs-gcp"
6666
"RESOURCE": ".nais/labs-gcp.yaml"
67+
"deployAppToLabsFrozen":
68+
name: "Deploy app to labs"
69+
needs: "build"
70+
runs-on: "ubuntu-latest"
71+
steps:
72+
- uses: "actions/checkout@v3"
73+
- name: "Deploy to LABS"
74+
uses: "nais/deploy/actions/deploy@v1"
75+
env:
76+
"APIKEY": "${{ secrets.NAIS_DEPLOY_APIKEY }}"
77+
"CLUSTER": "labs-gcp"
78+
"RESOURCE": ".nais/frozen-labs.yaml"

‎.nais/.frozen-labs.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: "nais.io/v1alpha1"
2+
kind: "Application"
3+
metadata:
4+
name: "aap-soknad-frozen"
5+
namespace: "aap"
6+
labels:
7+
"team": "aap"
8+
spec:
9+
image: {{image}}
10+
port: 3000
11+
ingresses:
12+
- "https://aap-soknad-v1.labs.nais.io/"
13+
liveness:
14+
path: "/aap/soknad/api/internal/isAlive"
15+
initialDelay: 20
16+
timeout: 60
17+
readiness:
18+
path: "/aap/soknad/api/internal/isReady"
19+
initialDelay: 20
20+
timeout: 60
21+
replicas:
22+
min: 2
23+
max: 2

0 commit comments

Comments
 (0)