From 64afb5f0ca076a002c68472a6c8976f825a3b6c5 Mon Sep 17 00:00:00 2001 From: Karol Zadora-Przylecki Date: Thu, 14 Jul 2022 11:30:10 -0700 Subject: [PATCH] Update azure.yaml schema reference --- cli/azd/pkg/project/project.go | 3 +-- templates/todo/projects/csharp-cosmos-sql/azure.yaml | 2 +- templates/todo/projects/csharp-mongo/azure.yaml | 2 +- templates/todo/projects/csharp-sql/azure.yaml | 2 +- templates/todo/projects/nodejs-mongo-aca/azure.yaml | 2 +- templates/todo/projects/nodejs-mongo-swa-func/azure.yaml | 2 +- templates/todo/projects/nodejs-mongo/azure.yaml | 2 +- templates/todo/projects/python-mongo-aca/azure.yaml | 2 +- templates/todo/projects/python-mongo-swa-func/azure.yaml | 2 +- templates/todo/projects/python-mongo/azure.yaml | 2 +- 10 files changed, 10 insertions(+), 11 deletions(-) diff --git a/cli/azd/pkg/project/project.go b/cli/azd/pkg/project/project.go index 103845c5b88..8f760f710fb 100644 --- a/cli/azd/pkg/project/project.go +++ b/cli/azd/pkg/project/project.go @@ -16,8 +16,7 @@ import ( ) const ( - // TODO: update this to point directly to schema file on GitHub after public preview for AZD ships. - projectSchemaAnnotation = "# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json" + projectSchemaAnnotation = "# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json" ) type Project struct { diff --git a/templates/todo/projects/csharp-cosmos-sql/azure.yaml b/templates/todo/projects/csharp-cosmos-sql/azure.yaml index c90f4d7b276..7404153dd16 100644 --- a/templates/todo/projects/csharp-cosmos-sql/azure.yaml +++ b/templates/todo/projects/csharp-cosmos-sql/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-csharp-mongo metadata: diff --git a/templates/todo/projects/csharp-mongo/azure.yaml b/templates/todo/projects/csharp-mongo/azure.yaml index c07ce0457a3..aabc7e328da 100644 --- a/templates/todo/projects/csharp-mongo/azure.yaml +++ b/templates/todo/projects/csharp-mongo/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-csharp-mongo metadata: diff --git a/templates/todo/projects/csharp-sql/azure.yaml b/templates/todo/projects/csharp-sql/azure.yaml index 691cad677b2..cb1f5dfdaf0 100644 --- a/templates/todo/projects/csharp-sql/azure.yaml +++ b/templates/todo/projects/csharp-sql/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-csharp-sql metadata: diff --git a/templates/todo/projects/nodejs-mongo-aca/azure.yaml b/templates/todo/projects/nodejs-mongo-aca/azure.yaml index 8daacb8be7f..3d4a7d12bbf 100644 --- a/templates/todo/projects/nodejs-mongo-aca/azure.yaml +++ b/templates/todo/projects/nodejs-mongo-aca/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-nodejs-mongo-aca metadata: diff --git a/templates/todo/projects/nodejs-mongo-swa-func/azure.yaml b/templates/todo/projects/nodejs-mongo-swa-func/azure.yaml index a3d0bca4733..4653610f48b 100644 --- a/templates/todo/projects/nodejs-mongo-swa-func/azure.yaml +++ b/templates/todo/projects/nodejs-mongo-swa-func/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-nodejs-mongo-swa-func metadata: diff --git a/templates/todo/projects/nodejs-mongo/azure.yaml b/templates/todo/projects/nodejs-mongo/azure.yaml index 9584bf2b3f0..24808327a5d 100644 --- a/templates/todo/projects/nodejs-mongo/azure.yaml +++ b/templates/todo/projects/nodejs-mongo/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-nodejs-mongo metadata: diff --git a/templates/todo/projects/python-mongo-aca/azure.yaml b/templates/todo/projects/python-mongo-aca/azure.yaml index cb8a302636a..6ca46f0248b 100644 --- a/templates/todo/projects/python-mongo-aca/azure.yaml +++ b/templates/todo/projects/python-mongo-aca/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-python-mongo-aca metadata: diff --git a/templates/todo/projects/python-mongo-swa-func/azure.yaml b/templates/todo/projects/python-mongo-swa-func/azure.yaml index 4974064f429..4f42664cda8 100644 --- a/templates/todo/projects/python-mongo-swa-func/azure.yaml +++ b/templates/todo/projects/python-mongo-swa-func/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-python-mongo-swa-func metadata: diff --git a/templates/todo/projects/python-mongo/azure.yaml b/templates/todo/projects/python-mongo/azure.yaml index 4f715ab3b93..ad99d4beefb 100644 --- a/templates/todo/projects/python-mongo/azure.yaml +++ b/templates/todo/projects/python-mongo/azure.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json name: todo-python-mongo metadata: