Skip to content

Legger til spinosaurus 🦖 #39

Legger til spinosaurus 🦖

Legger til spinosaurus 🦖 #39

Workflow file for this run

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