Build and Push API #63
azure-deploy-api.yaml
on: workflow_dispatch
Deployment protection rules
Reviewers, timers, and other rules protecting deployments in this run
Event | Environments |
---|---|
asleboon
approved
|
Production |
Annotations
4 errors and 36 warnings
Deploy to test
WARNING: /home/runner/work/bouvet-developer-survey/bouvet-developer-survey/infra/modules/containerApp.bicep(70,49) : Warning no-hardcoded-env-urls: Environment URLs should not be hardcoded. Use the environment() function to ensure compatibility across clouds. Found this disallowed host: "vault.azure.net" [https://aka.ms/bicep/linter/no-hardcoded-env-urls]
|
Deploy/Production
WARNING: /home/runner/work/bouvet-developer-survey/bouvet-developer-survey/infra/modules/containerApp.bicep(70,49) : Warning no-hardcoded-env-urls: Environment URLs should not be hardcoded. Use the environment() function to ensure compatibility across clouds. Found this disallowed host: "vault.azure.net" [https://aka.ms/bicep/linter/no-hardcoded-env-urls]
|
Deploy/Production
ERROR: ***"status":"Failed","error":***"code":"DeploymentFailed","target":"/subscriptions/***/resourceGroups/***/providers/Microsoft.Resources/deployments/container-api-prod","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/***/providers/Microsoft.Resources/deployments/bds-prod-containerapp-api","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"DeploymentFailed","target":"/subscriptions/***/resourceGroups/***/providers/Microsoft.Resources/deployments/bds-prod-containerapp-api","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/***/providers/Microsoft.App/containerApps/bds-prod-containerapp-api","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[***"code":"ContainerAppOperationError","message":"Failed to provision revision for container app 'bds-prod-containerapp-api'. Error details: The following field(s) are either invalid or missing. Field 'configuration.secrets' is invalid with details: 'Invalid value: \"sql-server-connection-string\": Unable to get value using Managed identity /subscriptions/***/resourceGroups/***/providers/Microsoft.ManagedIdentity/userAssignedIdentities/bds-prod-managedidentity for secret sql-server-connection-string. Error: unable to fetch secret 'sql-server-connection-string' using Managed identity '/subscriptions/***/resourceGroups/***/providers/Microsoft.ManagedIdentity/userAssignedIdentities/bds-prod-managedidentity'';.."***]***]***]***]***
|
Deploy/Production
Error: Deployment failed.
|
Build 🛠️
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/TransferObjects/Import/SurveyStructure/SurveyElementBlockDto.cs#L17
Non-nullable property 'Payload' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/CsvToJsonService.cs#L24
Dereference of a possibly null reference.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/CsvToJsonService.cs#L26
Possible null reference assignment.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Structures/BlockElementService.cs#L131
Possible null reference return.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Structures/BlockElementService.cs#L148
Possible null reference argument for parameter 'source' in 'bool Enumerable.Any<BlockElement>(IEnumerable<BlockElement> source, Func<BlockElement, bool> predicate)'.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Import/ImportSurveyService.cs#L232
Possible null reference assignment.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L152
Dereference of a possibly null reference.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L176
Dereference of a possibly null reference.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L191
Possible null reference argument for parameter 'fieldName' in 'void ResultService.CreateNonMultipleValueResponse(List<NewResponseDto> responseDtos, NewResponseDto? existingResponse, string fieldName, string fieldValue, Guid choiceId, Guid answerId)'.
|
Build 🛠️:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L134
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Test 🧪
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/TransferObjects/Import/SurveyStructure/SurveyElementBlockDto.cs#L17
Non-nullable property 'Payload' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/CsvToJsonService.cs#L24
Dereference of a possibly null reference.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/CsvToJsonService.cs#L26
Possible null reference assignment.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Structures/BlockElementService.cs#L131
Possible null reference return.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Structures/BlockElementService.cs#L148
Possible null reference argument for parameter 'source' in 'bool Enumerable.Any<BlockElement>(IEnumerable<BlockElement> source, Func<BlockElement, bool> predicate)'.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Import/ImportSurveyService.cs#L232
Possible null reference assignment.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L152
Dereference of a possibly null reference.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L176
Dereference of a possibly null reference.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L191
Possible null reference argument for parameter 'fieldName' in 'void ResultService.CreateNonMultipleValueResponse(List<NewResponseDto> responseDtos, NewResponseDto? existingResponse, string fieldName, string fieldValue, Guid choiceId, Guid answerId)'.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L134
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/TransferObjects/Import/SurveyStructure/SurveyElementBlockDto.cs#L17
Non-nullable property 'Payload' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/CsvToJsonService.cs#L24
Dereference of a possibly null reference.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/CsvToJsonService.cs#L26
Possible null reference assignment.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Structures/BlockElementService.cs#L131
Possible null reference return.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Structures/BlockElementService.cs#L148
Possible null reference argument for parameter 'source' in 'bool Enumerable.Any<BlockElement>(IEnumerable<BlockElement> source, Func<BlockElement, bool> predicate)'.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Import/ImportSurveyService.cs#L232
Possible null reference assignment.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L152
Dereference of a possibly null reference.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L176
Dereference of a possibly null reference.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L191
Possible null reference argument for parameter 'fieldName' in 'void ResultService.CreateNonMultipleValueResponse(List<NewResponseDto> responseDtos, NewResponseDto? existingResponse, string fieldName, string fieldValue, Guid choiceId, Guid answerId)'.
|
Test 🧪:
Bouvet.Developer.Survey.Backend/Bouvet.Developer.Survey.Service/Survey/Results/ResultService.cs#L134
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Deploy to test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Deploy to test
WARNING: /home/runner/work/bouvet-developer-survey/bouvet-developer-survey/infra/modules/containerApp.bicep(70,49) : Warning no-hardcoded-env-urls: Environment URLs should not be hardcoded. Use the environment() function to ensure compatibility across clouds. Found this disallowed host: "vault.azure.net" [https://aka.ms/bicep/linter/no-hardcoded-env-urls]
|
Deploy/Production
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Deploy/Production
WARNING: /home/runner/work/bouvet-developer-survey/bouvet-developer-survey/infra/modules/containerApp.bicep(70,49) : Warning no-hardcoded-env-urls: Environment URLs should not be hardcoded. Use the environment() function to ensure compatibility across clouds. Found this disallowed host: "vault.azure.net" [https://aka.ms/bicep/linter/no-hardcoded-env-urls]
|