Httpklienten kjører med forventsuksess må wrappes med trycatch da #5271
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: etterlatte-behandling-kafka | |
on: | |
workflow_dispatch: # Allow manually triggered workflow run | |
inputs: | |
deploy-prod: | |
description: 'Deploy til produksjon' | |
required: false | |
default: 'false' | |
type: choice | |
options: | |
- true | |
- false | |
push: | |
branches: | |
- main | |
paths: | |
- apps/etterlatte-behandling-kafka/** | |
- libs/saksbehandling-common/** | |
- libs/etterlatte-behandling-model/** | |
- libs/etterlatte-oppgave-model/** | |
- libs/etterlatte-migrering-model/** | |
- libs/etterlatte-inntektsjustering-model/** | |
- libs/etterlatte-omregning-model/** | |
- libs/etterlatte-ktor/** | |
- libs/etterlatte-pdl-model/** | |
- libs/etterlatte-vedtaksvurdering-model/** | |
- libs/etterlatte-tidshendelser-model/** | |
- gradle/libs.versions.toml | |
- "!**/test/**" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- apps/etterlatte-behandling-kafka/** | |
- "!apps/etterlatte-behandling-kafka/.nais/*" | |
- libs/saksbehandling-common/** | |
- libs/etterlatte-behandling-model/** | |
- libs/etterlatte-oppgave-model/** | |
- libs/etterlatte-migrering-model/** | |
- libs/etterlatte-inntektsjustering-model/** | |
- libs/etterlatte-omregning-model/** | |
- libs/etterlatte-ktor/** | |
- libs/etterlatte-pdl-model/** | |
- libs/etterlatte-vedtaksvurdering-model/** | |
- libs/etterlatte-tidshendelser-model/** | |
- gradle/libs.versions.toml | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
test: | |
if: github.event_name == 'pull_request' | |
uses: ./.github/workflows/.test.yaml | |
secrets: inherit | |
build-and-deploy: | |
if: github.event_name != 'pull_request' | |
uses: ./.github/workflows/.build-and-deploy.yaml | |
secrets: inherit |