Skip to content

Commit

Permalink
Updates azure.yaml schema for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wbreza committed Feb 5, 2024
1 parent 139dbc7 commit 2286573
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions schemas/alpha/azure.yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@
"type": "object",
"additionalProperties": false,
"required": [
"project",
"language"
"host"
],
"properties": {
"resourceName": {
Expand All @@ -81,10 +80,9 @@
},
"host": {
"type": "string",
"title": "Type of Azure resource used for service implementation",
"description": "If omitted, App Service will be assumed.",
"title": "Required. The type of Azure resource used for service implementation",
"description": "The Azure service that will be used as the target for deployment operations for the service.",
"enum": [
"",
"appservice",
"containerapp",
"function",
Expand Down Expand Up @@ -176,6 +174,10 @@
}
},
"then": {
"required": [
"project",
"language"
],
"properties": {
"docker": false
}
Expand Down Expand Up @@ -541,16 +543,21 @@
"title": "The platform target",
"default": "amd64"
},
"tag": {
"type": "string",
"title": "The tag that will be applied to the built container image.",
"description": "If omitted, a unique tag will be generated based on the format: {appName}/{serviceName}-{environmentName}:azd-deploy-{unix time (seconds)}. Supports environment variable substitution. For example, to generate unique tags for a given release: myapp/myimage:${DOCKER_IMAGE_TAG}"
},
"registry": {
"type": "string",
"title": "The container registry to push the image to.",
"title": "Optional. The container registry to push the image to.",
"description": "If omitted, will default to value of AZURE_CONTAINER_REGISTRY_ENDPOINT environment variable. Supports environment variable substitution."
},
"image": {
"type": "string",
"title": "Optional. The name of the container image to use for the service.",
"description": "If omitted, will default to the '{appName}/{serviceName}-{environmentName}'. Supports environment variable substitution."
},
"tag": {
"type": "string",
"title": "The tag that will be applied to the built container image.",
"description": "If omitted, will default to 'azd-deploy-{unix time (seconds)}'. Supports environment variable substitution. For example, to generate unique tags for a given release: myapp/myimage:${DOCKER_IMAGE_TAG}"
},
"buildArgs": {
"type": "array",
"title": "Optional. Build arguments to pass to the docker build command",
Expand Down

0 comments on commit 2286573

Please sign in to comment.