-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/user-assigned-identity
- Loading branch information
Showing
69 changed files
with
1,798 additions
and
208 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
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,7 +1,12 @@ | ||
# ENV variables for docker-compose | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=supersecret | ||
POSTGRES_DB=Dialogporten | ||
POSTGRES_DB=dialogporten | ||
DB_CONNECTION_STRING=Server=dialogporten-postgres;Port=5432;Database=${POSTGRES_DB};User ID=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}; | ||
|
||
COMPOSE_PROJECT_NAME=digdir | ||
|
||
# OTEL | ||
OTEL_NAMESPACE=dialogporten-local | ||
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318 | ||
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf |
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,28 @@ | ||
name: 'Azure Login with Bicep Upgrade' | ||
description: 'Login to Azure and upgrade Bicep CLI' | ||
|
||
inputs: | ||
client-id: | ||
description: 'Azure Client ID' | ||
required: true | ||
tenant-id: | ||
description: 'Azure Tenant ID' | ||
required: true | ||
subscription-id: | ||
description: 'Azure Subscription ID' | ||
required: true | ||
env: | ||
AZ_CLI_VERSION: 2.67.0 | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: OIDC Login to Azure Public Cloud | ||
uses: azure/login@v2 | ||
with: | ||
client-id: ${{ inputs.client-id }} | ||
tenant-id: ${{ inputs.tenant-id }} | ||
subscription-id: ${{ inputs.subscription-id }} | ||
|
||
- name: Upgrade Azure Bicep | ||
shell: bash | ||
run: az bicep upgrade |
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
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 |
---|---|---|
|
@@ -22,6 +22,10 @@ on: | |
type: string | ||
description: "Status of the end-to-end tests job" | ||
default: "skipped" | ||
performance_tests_status: | ||
type: string | ||
description: "Status of the performance tests job" | ||
default: "skipped" | ||
schema_npm_status: | ||
type: string | ||
description: "Status of the schema npm publishing job" | ||
|
@@ -69,6 +73,7 @@ jobs: | |
echo "SCHEMA_NPM_EMOJI=$(determine_emoji "${{ inputs.schema_npm_status }}")" | ||
echo "PUBLISH_EMOJI=$(determine_emoji "${{ inputs.publish_status }}")" | ||
echo "BUILD_AND_TEST_EMOJI=$(determine_emoji "${{ inputs.build_and_test_status }}")" | ||
echo "PERFORMANCE_TESTS_EMOJI=$(determine_emoji "${{ inputs.performance_tests_status }}")" | ||
} >> "$GITHUB_OUTPUT" | ||
- name: Send GitHub slack message | ||
|
@@ -85,6 +90,7 @@ jobs: | |
SCHEMA_NPM_STATUS: "${{ steps.status-emojis.outputs.SCHEMA_NPM_EMOJI }}" | ||
PUBLISH_STATUS: "${{ steps.status-emojis.outputs.PUBLISH_EMOJI }}" | ||
BUILD_AND_TEST_STATUS: "${{ steps.status-emojis.outputs.BUILD_AND_TEST_EMOJI }}" | ||
PERFORMANCE_TESTS_STATUS: "${{ steps.status-emojis.outputs.PERFORMANCE_TESTS_EMOJI }}" | ||
uses: slackapi/[email protected] | ||
with: | ||
errors: true | ||
|
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
Oops, something went wrong.