Deploy kafka topics #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy kafka topics | |
on: | |
workflow_dispatch: | |
permissions: | |
contents: "read" | |
id-token: "write" | |
packages: "write" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: deploy vedtaksstatistikk to dev | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: kafka-aiven/statistikk-ensligforsorger-vedtak/topic-dev.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy behandlingsstatistikk to dev | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: kafka-aiven/statistikk-ensligforsorger-behandling/topic-dev.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy infotrygd aivenapp to dev | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: kafka-aiven/overgangsstønad-infotrygd-vedtak/aivenapp-infotrygd-goldengate-dev.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy infotrygd aivenapp to prod | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: prod-gcp | |
RESOURCE: kafka-aiven/overgangsstønad-infotrygd-vedtak/aivenapp-infotrygd-goldengate-prod.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy infotrygd kafka-topic to dev | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: kafka-aiven/overgangsstønad-infotrygd-vedtak/topic-infotrygd-dev.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy infotrygd kafka-topic to prod | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: prod-gcp | |
RESOURCE: kafka-aiven/overgangsstønad-infotrygd-vedtak/topic-infotrygd-prod.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy to prod | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: prod-gcp | |
RESOURCE: kafka-aiven/statistikk-ensligforsorger-vedtak/topic-prod.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy behandlingsstatistikk to prod | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: prod-gcp | |
RESOURCE: kafka-aiven/statistikk-ensligforsorger-behandling/topic-prod.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy vedtak kafka-topic to dev | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: kafka-aiven/vedtak/topic-vedtak-dev.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy vedtak to prod | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: prod-gcp | |
RESOURCE: kafka-aiven/vedtak/topic-vedtak-prod.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy arbeidsoppfølging topic to dev | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: dev-gcp | |
RESOURCE: kafka-aiven/arbeidsoppfølging/topic-arbeidsoppfølging-dev.yaml | |
PRINT_PAYLOAD: true | |
- name: deploy arbeidsoppfølging topic to prod | |
uses: nais/deploy/actions/deploy@v2 | |
env: | |
CLUSTER: prod-gcp | |
RESOURCE: kafka-aiven/arbeidsoppfølging/topic-arbeidsoppfølging-prod.yaml | |
PRINT_PAYLOAD: true |