chore: refactor and add filters for telemetry (#1813) #1069
ci-cd-main.yml
on: push
Check for changes
/
Filter
5s
Generate git short sha
/
Generate git short sha
4s
Get current version
/
Filter
3s
Matrix: Build and publish docker images / publish-docker-images
Deploy apps to test
/
Deploy migration job to ${{ inputs.environment }}
0s
Matrix: Deploy apps to test / deploy-apps
Matrix: Deploy apps to test / deploy-jobs
Deploy schema npm package
/
check-published-version
Send Slack message on failure
/
Send Slack message
4s
Annotations
1 error and 4 warnings
Deploy apps to test / Deploy web-api-eu to test
The action 'Verify deployment (web-api-eu)' has timed out after 3 minutes.
|
Legacy key/value format with whitespace separator should not be used:
src/Digdir.Domain.Dialogporten.Infrastructure/MigrationBundle.dockerfile#L8
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
|
JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals:
src/Digdir.Domain.Dialogporten.Infrastructure/MigrationBundle.dockerfile#L33
JSONArgsRecommended: JSON arguments recommended for ENTRYPOINT to prevent unintended behavior related to OS signals
More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
|
Send Slack message on failure / Send Slack message
The top-level `text` argument is missing in the request payload for a chat.postMessage call - It's a best practice to always provide a `text` argument when posting a message. The `text` is used in places where the content cannot be rendered such as: system push notifications, assistive technology such as screen readers, etc.
|
Send Slack message on failure / Send Slack message
Additionally, the attachment-level `fallback` argument is missing in the request payload for a chat.postMessage call - To avoid this warning, it is recommended to always provide a top-level `text` argument when posting a message. Alternatively, you can provide an attachment-level `fallback` argument, though this is now considered a legacy field (see https://api.slack.com/reference/messaging/attachments#legacy_fields for more details).
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Altinn~dialogporten~FWF7EP.dockerbuild
|
59.1 KB |
|
Altinn~dialogporten~KDT3U6.dockerbuild
|
57.9 KB |
|
Altinn~dialogporten~KEOL4X.dockerbuild
|
55.1 KB |
|
Altinn~dialogporten~P7V1RW.dockerbuild
|
57.4 KB |
|
Altinn~dialogporten~XRKFXH.dockerbuild
|
58.4 KB |
|