-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oppgrader avhengigheter og endre til maven
- Loading branch information
Showing
26 changed files
with
560 additions
and
658 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,40 @@ | ||
version: 2 | ||
registries: | ||
maven-github: | ||
type: maven-repository | ||
url: https://github-package-registry-mirror.gc.nav.no/cached/maven-release | ||
username: x-access-token | ||
password: no-secret-required | ||
updates: | ||
- package-ecosystem: "gradle" | ||
- package-ecosystem: "maven" | ||
directory: "/" | ||
registries: | ||
- "maven-github" | ||
ignore: | ||
- dependency-name: "no.nav.bidrag:bidrag-commons" | ||
versions: [ "0.x.x" ] | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 15 | ||
interval: "weekly" | ||
day: "monday" | ||
time: "06:00" | ||
timezone: "Europe/Oslo" | ||
commit-message: | ||
prefix: "[dependency] " | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 15 | ||
day: "monday" | ||
time: "06:00" | ||
timezone: "Europe/Oslo" | ||
commit-message: | ||
prefix: "[docker] " | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
open-pull-requests-limit: 15 | ||
day: "monday" | ||
time: "06:00" | ||
timezone: "Europe/Oslo" | ||
commit-message: | ||
prefix: "[github-actions] " |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Deploy feature | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- '**' | ||
- '!main' | ||
- '!dependabot/**' | ||
|
||
jobs: | ||
build-deploy: | ||
name: "Build and deploy to feature" | ||
permissions: | ||
contents: "read" | ||
id-token: "write" | ||
uses: navikt/bidrag-workflow/.github/workflows/deploy.yaml@github_server_2 | ||
secrets: inherit | ||
with: | ||
maven_options: -B -q -fae -Pit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Deploy to dev | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [ ready_for_review, opened, synchronize ] | ||
|
||
jobs: | ||
build-deploy: | ||
name: "Build and deploy to main" | ||
permissions: | ||
contents: "read" | ||
id-token: "write" | ||
uses: navikt/bidrag-workflow/.github/workflows/deploy.yaml@github_server_2 | ||
secrets: inherit | ||
with: | ||
nais_variabler_filnavn: main.yaml | ||
maven_options: -B -q -fae -Pit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Deploy to prod | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
|
||
jobs: | ||
build-deploy: | ||
name: "Build and deploy to prod" | ||
permissions: | ||
contents: "write" | ||
id-token: "write" | ||
uses: navikt/bidrag-workflow/.github/workflows/deploy_prod.yaml@github_server_2 | ||
secrets: inherit | ||
with: | ||
maven_options: -B -q -fae -Pit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Rollback prod to previous version | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
deploy_tag: | ||
description: 'Deploy tag. Default the previous tag will be deployed' | ||
required: false | ||
|
||
jobs: | ||
build-deploy: | ||
name: "Rollback and deploy previous version to prod" | ||
permissions: | ||
contents: "write" | ||
id-token: "write" | ||
uses: navikt/bidrag-workflow/.github/workflows/rollback_prod.yaml@github_server_2 | ||
secrets: inherit | ||
with: | ||
deploy_tag: ${{inputs.deploy_tag}} | ||
maven_options: -B -q -fae -Pit |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.