Skip to content

ci: ensure version is stored when deploying apps (#1481) #821

ci: ensure version is stored when deploying apps (#1481)

ci: ensure version is stored when deploying apps (#1481) #821

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Triggered via push November 18, 2024 11:33
Status Failure
Total duration 21m 24s
Artifacts

ci-cd-main.yml

on: push
Check for changes  /  Filter
4s
Check for changes / Filter
Generate git short sha  /  Generate git short sha
3s
Generate git short sha / Generate git short sha
Get current version  /  Filter
3s
Get current version / Filter
Release please
15s
Release please
Build and test backend  /  build-and-test
1m 28s
Build and test backend / build-and-test
Deploy slack notifier (test)  /  Build and deploy slack-notifier to test
1m 16s
Deploy slack notifier (test) / Build and deploy slack-notifier to test
Deploy infra to test  /  Deploy to test
20m 51s
Deploy infra to test / Deploy to test
Matrix: Build and publish docker images / publish-docker-images
Deploy apps to test  /  deploy-migration-job
Deploy apps to test / deploy-migration-job
Matrix: Deploy apps to test / deploy-apps
Waiting for pending jobs
Matrix: Deploy apps to test / deploy-jobs
Waiting for pending jobs
Run K6 functional end-to-end tests  /  k6-test
Run K6 functional end-to-end tests / k6-test
Deploy schema npm package  /  check-published-version
Deploy schema npm package / check-published-version
Deploy schema npm package  /  publish-schema-to-npm
Deploy schema npm package / publish-schema-to-npm
Send Slack message on failure  /  Send Slack message
3s
Send Slack message on failure / Send Slack message
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 7 warnings
Deploy infra to test / Deploy to test
WARNING: /home/runner/work/dialogporten/dialogporten/.azure/modules/functionApp/slackNotifier.bicep(69,9) : Warning BCP334: The provided value can have a length as small as 0 and may be too short to assign to a target with a configured minimum length of 3. [https://aka.ms/bicep/core-diagnostics#BCP334]
Deploy infra to test / Deploy to test
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/dp-be-test-1.35.0-c6a1a18","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/dp-be-test-rg/providers/Microsoft.Resources/deployments/slackNotifier","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Canceled'."}]}}
Deploy infra to test / Deploy to test
Error: Deployment failed.
Legacy key/value format with whitespace separator should not be used: src/Digdir.Domain.Dialogporten.Infrastructure/MigrationBundle.dockerfile#L24
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#L32
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/
Deploy infra to test / Deploy to test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Deploy infra to test / Deploy to test
This deployment mode is not supported for subscription scoped deployments, this parameter will be ignored!
Deploy infra to test / Deploy to test
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Deploy infra to test / Deploy to test
WARNING: /home/runner/work/dialogporten/dialogporten/.azure/modules/functionApp/slackNotifier.bicep(69,9) : Warning BCP334: The provided value can have a length as small as 0 and may be too short to assign to a target with a configured minimum length of 3. [https://aka.ms/bicep/core-diagnostics#BCP334]
Deploy infra to test / Deploy to test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
digdir~dialogporten~0O6ZZ3.dockerbuild
42.5 KB
digdir~dialogporten~7PHHQV.dockerbuild
42.7 KB
digdir~dialogporten~DW9I0X.dockerbuild
41.4 KB
digdir~dialogporten~PM78UT.dockerbuild
41.6 KB
digdir~dialogporten~UWTUB8.dockerbuild
41.6 KB
digdir~dialogporten~WXUE2O.dockerbuild
40.1 KB