Skip to content

Deploy-Main-Single #191

Deploy-Main-Single

Deploy-Main-Single #191

Manually triggered January 2, 2024 19:15
Status Success
Total duration 31m 10s
Artifacts 6

deploy-main-single.yml

on: workflow_dispatch
Build Application
3m 18s
Build Application
dev  /  Deploy Infrastructure
4m 18s
dev / Deploy Infrastructure
dev  /  Configure DNS and SSL Certificate
36s
dev / Configure DNS and SSL Certificate
dev  /  Playwright Testing
9m 16s
dev / Playwright Testing
dev  /  Approve Deployment
0s
dev / Approve Deployment
Fit to window
Zoom out
Zoom in

Deployment protection rules

Reviewers, timers, and other rules protecting deployments in this run
Event Environments Comment
PagelsR
approved Jan 2, 2024
dev

Good!

Waiting
Wait timer
completed Jan 2, 2024
dev

2 minute wait timer

Annotations

9 errors and 32 warnings
dev / Deploy Infrastructure
Error: az cli script failed.
dev / Deploy Infrastructure
az cli script failed.
dev / Deploy Database
Error: az cli script failed.
dev / Deploy Database
az cli script failed.
dev / Configure DNS and SSL Certificate
WARNING: /home/runner/work/MercuryHealth/MercuryHealth/MercuryHealth.IaC/main-99-DNSCertificateBindings.bicep(5,7) : Warning no-unused-params: Parameter "resourceGroup" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
dev / Configure DNS and SSL Certificate
ERROR: /home/runner/work/MercuryHealth/MercuryHealth/MercuryHealth.IaC/main-2.bicep(4,25) : Error BCP265: The name "resourceGroup" is not a function. Did you mean "az.resourceGroup"? /home/runner/work/MercuryHealth/MercuryHealth/MercuryHealth.IaC/main-2.bicep(7,28) : Error BCP008: Expected the "=" token, or a newline at this location.
dev / Configure DNS and SSL Certificate
Deployment failed.
dev / Playwright Testing
Process completed with exit code 1.
dev / Playwright Testing
Process completed with exit code 1.
Build Application
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build Application: MercuryHealth.Web/GetAssemblyVersion.cs#L13
Possible null reference argument for parameter 'element' in 'AssemblyFileVersionAttribute? CustomAttributeExtensions.GetCustomAttribute<AssemblyFileVersionAttribute>(Assembly element)'.
Build Application: MercuryHealth.Web/GetAssemblyVersion.cs#L13
Dereference of a possibly null reference.
Build Application: MercuryHealth.Web/Controllers/NutritionsController.cs#L27
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.
Build Application: MercuryHealth.Web/Controllers/HomeController.cs#L54
Dereference of a possibly null reference.
Build Application: MercuryHealth.Web/Controllers/HomeController.cs#L56
Dereference of a possibly null reference.
Build Application: MercuryHealth.Web/Controllers/ExercisesController.cs#L34
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.
Build Application: MercuryHealth.UnitTests/NutritionsControllerTests.cs#L42
Dereference of a possibly null reference.
Build Application: MercuryHealth.UnitTests/HomeControlerTests.cs#L57
Dereference of a possibly null reference.
Build Application: MercuryHealth.UnitTests/HomeControlerTests.cs#L62
Dereference of a possibly null reference.
Build Application: MercuryHealth.UnitTests/HomeControlerTests.cs#L74
Dereference of a possibly null reference.
Build Application
No files were found with the provided path: /home/runner/work/MercuryHealth/MercuryHealth/MercuryHealth.Website/*.ps1. No artifacts will be uploaded.
Build Application
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/
Build Application: MercuryHealth.Web/GetAssemblyVersion.cs#L13
Possible null reference argument for parameter 'element' in 'AssemblyFileVersionAttribute? CustomAttributeExtensions.GetCustomAttribute<AssemblyFileVersionAttribute>(Assembly element)'.
Build Application: MercuryHealth.Web/GetAssemblyVersion.cs#L13
Dereference of a possibly null reference.
Build Application: MercuryHealth.Web/Controllers/NutritionsController.cs#L27
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.
Build Application: MercuryHealth.Web/Controllers/HomeController.cs#L54
Dereference of a possibly null reference.
Build Application: MercuryHealth.Web/Controllers/HomeController.cs#L56
Dereference of a possibly null reference.
Build Application: MercuryHealth.Web/Controllers/ExercisesController.cs#L34
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.
Build Application: MercuryHealth.Web/GetAssemblyVersion.cs#L13
Possible null reference argument for parameter 'element' in 'AssemblyFileVersionAttribute? CustomAttributeExtensions.GetCustomAttribute<AssemblyFileVersionAttribute>(Assembly element)'.
Build Application: MercuryHealth.Web/GetAssemblyVersion.cs#L13
Dereference of a possibly null reference.
Build Application: MercuryHealth.Web/Controllers/NutritionsController.cs#L27
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.
Build Application: MercuryHealth.Web/Controllers/HomeController.cs#L54
Dereference of a possibly null reference.
dev / Deploy Infrastructure
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
dev / Deploy Database
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2, Azure/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
dev / Deploy Application
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
dev / Configure DNS and SSL Certificate
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
dev / Configure DNS and SSL Certificate
WARNING: /home/runner/work/MercuryHealth/MercuryHealth/MercuryHealth.IaC/main-99-DNSCertificateBindings.bicep(5,7) : Warning no-unused-params: Parameter "resourceGroup" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
dev / Configure DNS and SSL Certificate
ERROR: /home/runner/work/MercuryHealth/MercuryHealth/MercuryHealth.IaC/main-2.bicep(4,25) : Error BCP265: The name "resourceGroup" is not a function. Did you mean "az.resourceGroup"? /home/runner/work/MercuryHealth/MercuryHealth/MercuryHealth.IaC/main-2.bicep(7,28) : Error BCP008: Expected the "=" token, or a newline at this location.
dev / Configure DNS and SSL Certificate
Template validation failed.
dev / Load Testing
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
dev / Approve Deployment
Environment URL 'app-okhgzqoexg6jy.azurewebsites.net' is not a valid http(s) URL, so it will not be shown as a link in the workflow graph.

Artifacts

Produced during runtime
Name Size
MercuryHealth.Database Expired
9.39 KB
MercuryHealth.FunctionApp Expired
68.2 MB
MercuryHealth.IaC Expired
339 KB
MercuryHealth.LoadTests Expired
52.9 KB
MercuryHealth.Website Expired
77.8 MB
playwright-report Expired
3.36 MB