Skip to content

Fixed handling of non-existing resource (#436) #4

Fixed handling of non-existing resource (#436)

Fixed handling of non-existing resource (#436) #4

Triggered via push May 22, 2024 14:16
Status Failure
Total duration 39m 12s
Artifacts

ci-cd.yaml

on: push
Fit to window
Zoom out
Zoom in

Deployment protection rules

Reviewers, timers, and other rules protecting deployments in this run
Event Environments Comment
Ceredron
approved May 22, 2024
staging

Annotations

2 errors and 26 warnings
Production / Deploy
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/***-1.1.0-10e67e9","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/***-rg/providers/Microsoft.Resources/deployments/***-app","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/***/resourceGroups/***-rg/providers/Microsoft.Resources/deployments/***-app","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/***-rg/providers/Microsoft.EventGrid/topics/***-malware-scan-event-topic/eventSubscriptions/***-malware-scan-event-subscription","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"Url validation","message":"Webhook validation handshake failed for https://***-app.thankfulpebble-8a7e9812.norwayeast.azurecontainerapps.io/broker/api/v1/webhooks/malwarescanresults. Http POST request timed out. For troubleshooting, visit https://aka.ms/esvalidation. Activity id:390bd863-a0b4-4489-a08a-f09977e4fdd5, timestamp: 5/22/2024 2:54:31 PM (UTC)."}]}]}]},{"code":"InvalidTemplateDeployment","message":"The template deployment failed with error: 'Authorization failed for template resource '4e3f4700-dace-588c-b914-10bdf15b5ed8' of type 'Microsoft.Authorization/roleAssignments'. The client '3f5e6dcb-b782-49ca-939f-fd21dda34e4e' with object id '3f5e6dcb-b782-49ca-939f-fd21dda34e4e' does not have permission to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/***/providers/Microsoft.Authorization/roleAssignments/4e3f4700-dace-588c-b914-10bdf15b5ed8'.'."}]}}
Production / Deploy
Error: Deployment failed.
Check for changes: .github/workflows/ci-cd.yaml#L1
Migrations did not change. No migration will run.
Check for changes: .github/workflows/ci-cd.yaml#L1
Infrastructure-as-code did not change. Infrastructure update will be skipped.
QA / Test application: src/Altinn.Broker.Core/Domain/ActorEntity.cs#L6
Non-nullable property 'ActorExternalId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Domain/StorageReferenceEntity.cs#L4
Non-nullable property 'StorageProvider' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Domain/StorageReferenceEntity.cs#L5
Non-nullable property 'FileLocation' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Domain/StorageProviderEntity.cs#L8
Non-nullable property 'ResourceName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Options/AltinnOptions.cs#L5
Non-nullable property 'OpenIdWellKnown' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Options/AltinnOptions.cs#L6
Non-nullable property 'LegacyOpenIdWellKnown' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Options/AltinnOptions.cs#L7
Non-nullable property 'PlatformGatewayUrl' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Options/AltinnOptions.cs#L8
Non-nullable property 'PlatformSubscriptionKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Domain/FileTransferSearchEntity.cs#L7
Non-nullable property 'Actor' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
QA / Test application: src/Altinn.Broker.Core/Domain/FileTransferSearchEntity.cs#L12
Non-nullable property 'ResourceId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Internal test / Deploy
This deployment mode is not supported for subscription scoped deployments, this parameter will be ignored!
Internal test / Deploy
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Internal test / Deploy
Unexpected input(s) 'timeout-minutes', valid inputs are ['inlineScript', 'azcliversion']
Internal test / Deploy
`pre` execution is not supported for local action from './.github/actions/release-version'
Internal test / Deploy
`pre` execution is not supported for local action from './.github/actions/release-version'
Staging / Deploy
This deployment mode is not supported for subscription scoped deployments, this parameter will be ignored!
Staging / Deploy
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Staging / Deploy
Unexpected input(s) 'timeout-minutes', valid inputs are ['inlineScript', 'azcliversion']
Staging / Deploy
`pre` execution is not supported for local action from './.github/actions/release-version'
Staging / Deploy
`pre` execution is not supported for local action from './.github/actions/release-version'
Production / Deploy
This deployment mode is not supported for subscription scoped deployments, this parameter will be ignored!
Production / Deploy
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
Production / Deploy
`pre` execution is not supported for local action from './.github/actions/release-version'
Production / Deploy
`pre` execution is not supported for local action from './.github/actions/release-version'