Template Validation #1
template-validation.yml
on: workflow_dispatch
template validation
1m 55s
Annotations
7 errors and 2 warnings
template validation
Failed to expand bicep source '/home/runner/work/azureai-basic-python/azureai-basic-python/infra/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/azureai-basic-python/azureai-basic-python/infra/main.test.bicep' was not valid. An error occurred evaluating expression '[format('{0};{1};{2};{3}', split(reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, if(not(empty(parameters('resourceGroupName'))), parameters('resourceGroupName'), format('{0}{1}', variables('abbrs').resourcesResourceGroups, parameters('environmentName')))), 'Microsoft.Resources/deployments', 'ai'), '2022-09-01').outputs.discoveryUrl.value, '/')[2], subscription().subscriptionId, if(not(empty(parameters('resourceGroupName'))), parameters('resourceGroupName'), format('{0}{1}', variables('abbrs').resourcesResourceGroups, parameters('environmentName'))), variables('projectName'))]' line 4753. Index was outside the bounds of the array."
|
template validation
One or more assertions failed. One or more errors occured.
|
template validation
Process completed with exit code 1.
|
template validation
Dev container up failed: Command failed: /bin/sh -c python3 -m pip install -r requirements-dev.txt && python3 -m pip install -e src (exit code: undefined)
The postCreateCommand in the devcontainer.json failed.
|
template validation
Command failed: /bin/sh -c python3 -m pip install -r requirements-dev.txt && python3 -m pip install -e src
|
template validation
Dev container exec failed: (exit code: 127)
|
template validation
Dev container exec failed: (exit code: 127)
|
template validation
Using invariant culture may cause rule infomation to be displayed incorrectly. Consider using -Culture or set the Output.Culture option.
|
template validation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|