-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into kort-søknad_bruker-kan-legge-kategorier-på…
…-dokumenter-som-opplastes-under-Annet # Conflicts: # src/app.tsx
- Loading branch information
Showing
24 changed files
with
210 additions
and
280 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 |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
scripts/ | ||
node_modules/ | ||
src/generated | ||
build/ | ||
Dockerfile |
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 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 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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
name: "Build and deploy to dev-gcp" | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "dev" | ||
|
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 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 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,43 +1,22 @@ | ||
name: "Build dev-sbs Image" | ||
on: | ||
workflow_dispatch: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-image: | ||
name: "Build dev-sbs Image" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
actions: write | ||
id-token: write | ||
env: | ||
NEXT_PUBLIC_DIGISOS_ENV: dev-sbs | ||
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }} | ||
READER_TOKEN: ${{ secrets.READER_TOKEN }} | ||
WORKFLOW_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: 'Build npm project' | ||
uses: navikt/sosialhjelp-ci/actions/build-npm@main | ||
with: | ||
node-version: 22 | ||
build-less: 'false' | ||
reader-token: ${{ secrets.READER_TOKEN }} | ||
run-test: 'false' | ||
run-orval: 'true' | ||
|
||
- name: 'Upload static files to cdn' | ||
id: upload | ||
uses: nais/deploy/actions/cdn-upload/v2@master | ||
with: | ||
team: teamdigisos | ||
source: ./build/static | ||
destination: "/sosialhjelp-soknad/_next" | ||
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} | ||
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} | ||
|
||
- name: "Build Docker Image" | ||
uses: navikt/sosialhjelp-soknad/.github/actions/build-image@master | ||
with: | ||
prefix: ${{ env.NEXT_PUBLIC_DIGISOS_ENV }} | ||
build-image: | ||
name: "Build dev-sbs Image" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
actions: write | ||
env: | ||
NEXT_PUBLIC_DIGISOS_ENV: dev-sbs | ||
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }} | ||
READER_TOKEN: ${{ secrets.READER_TOKEN }} | ||
WORKFLOW_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- name: "Build Docker Image" | ||
uses: navikt/sosialhjelp-soknad/.github/actions/build-image@master | ||
with: | ||
prefix: ${{ env.NEXT_PUBLIC_DIGISOS_ENV }} |
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,47 +1,28 @@ | ||
name: Build prod-sbs image - HUSK MANUELL DEPLOY TIL PROD! | ||
on: | ||
workflow_run: | ||
workflows: [ "Build code and run test" ] | ||
branches: | ||
- master | ||
- 'pre-next' | ||
types: | ||
- completed | ||
workflow_run: | ||
workflows: ["Build code and run test"] | ||
branches: | ||
- master | ||
- 'pre-next' | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build-image: | ||
name: "Build prod-sbs Image" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
actions: write | ||
id-token: write | ||
env: | ||
NEXT_PUBLIC_DIGISOS_ENV: prod-sbs | ||
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }} | ||
READER_TOKEN: ${{ secrets.READER_TOKEN }} | ||
WORKFLOW_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: 'Build npm project' | ||
uses: navikt/sosialhjelp-ci/actions/build-npm@main | ||
with: | ||
node-version: 22 | ||
build-less: 'false' | ||
reader-token: ${{ secrets.READER_TOKEN }} | ||
run-test: 'false' | ||
run-orval: 'true' | ||
- name: 'Upload static files to cdn' | ||
id: upload | ||
uses: nais/deploy/actions/cdn-upload/v2@master | ||
with: | ||
team: teamdigisos | ||
source: ./build/static | ||
destination: "/sosialhjelp-soknad/_next" | ||
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} | ||
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} | ||
- name: "Build Docker Image" | ||
uses: navikt/sosialhjelp-soknad/.github/actions/build-image@master | ||
with: | ||
prefix: ${{ env.NEXT_PUBLIC_DIGISOS_ENV }} | ||
build-image: | ||
name: "Build prod-sbs Image" | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
packages: write | ||
actions: write | ||
env: | ||
NEXT_PUBLIC_DIGISOS_ENV: prod-sbs | ||
DOCKER_IMAGE: ghcr.io/${{ github.repository }}/${{ github.event.repository.name }} | ||
READER_TOKEN: ${{ secrets.READER_TOKEN }} | ||
WORKFLOW_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- name: "Build Docker Image" | ||
uses: navikt/sosialhjelp-soknad/.github/actions/build-image@master | ||
with: | ||
prefix: ${{ env.NEXT_PUBLIC_DIGISOS_ENV }} |
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 +1 @@ | ||
22 | ||
20 |
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 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.