-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (55 loc) · 2.03 KB
/
aiven.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Aiven-config
on:
push:
branches:
- main
paths:
- 'config/saksbehandlingsstatistikk/aiven-dev.yml'
- 'config/saksbehandlingsstatistikk/aiven-temp-dokumenter-dev.yml'
- 'config/saksbehandlingsstatistikk/aiven-prod.yml'
- 'config/saksbehandlingsstatistikk/aiven-temp-dokumenter-prod.yml'
- 'config/oppgaver/aiven-dev-spre-oppgaver.yml'
- 'config/oppgaver/aiven-prod-spre-oppgaver.yml'
- 'config/arbeidsgiver/aiven-dev.yml'
- 'config/arbeidsgiver/aiven-prod.yml'
jobs:
deployDev:
name: apply kafka-topic i dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: config/saksbehandlingsstatistikk/aiven-dev.yml,config/saksbehandlingsstatistikk/aiven-temp-dokumenter-dev.yml
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: config/oppgaver/aiven-dev-spre-oppgaver.yml
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: dev-gcp
RESOURCE: config/arbeidsgiver/aiven-dev.yml
deployProd:
name: apply kafka-topic i prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: config/saksbehandlingsstatistikk/aiven-prod.yml,config/saksbehandlingsstatistikk/aiven-temp-dokumenter-prod.yml
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: config/oppgaver/aiven-prod-spre-oppgaver.yml
- uses: nais/deploy/actions/deploy@v1
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
CLUSTER: prod-gcp
RESOURCE: config/arbeidsgiver/aiven-prod.yml