From 8496d9deab211fdfa26c5e4192f2dc569d640ffc Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Wed, 3 Jan 2024 18:31:28 +0000 Subject: [PATCH 1/3] schema update --- schemas/v1.0/azure.yaml.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/schemas/v1.0/azure.yaml.json b/schemas/v1.0/azure.yaml.json index 85afe8d44f6..e61720d34c6 100644 --- a/schemas/v1.0/azure.yaml.json +++ b/schemas/v1.0/azure.yaml.json @@ -239,6 +239,28 @@ "github", "azdo" ] + }, + "variables": { + "type": "array", + "title": "Optional. List of azd environment variables to be used in the pipeline as variables.", + "description": "If variable is found on azd environment, it is set as a variable for the pipeline.", + "items": { + "type": "string" + } + }, + "secrets": { + "type": "array", + "title": "Optional. List of azd environment variables to be used in the pipeline as secrets.", + "description": "If variable is found on azd environment, it is set as a secret for the pipeline.", + "items": { + "type": "string" + } + }, + "additionalVariablesAsSecrets": { + "type": "boolean", + "default": false, + "title": "Optional. Whether to add all azd environment variables as secrets to the pipeline.", + "description": "If set to true, all variables found on azd environment are set as secrets for the pipeline. (Default: false)" } } }, From 0f1b091918104c2920a738a1a7c6600652bd4ec9 Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Wed, 24 Jan 2024 01:04:36 +0000 Subject: [PATCH 2/3] remove all vars as secrets --- schemas/v1.0/azure.yaml.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/schemas/v1.0/azure.yaml.json b/schemas/v1.0/azure.yaml.json index e61720d34c6..7e41026a2dd 100644 --- a/schemas/v1.0/azure.yaml.json +++ b/schemas/v1.0/azure.yaml.json @@ -255,12 +255,6 @@ "items": { "type": "string" } - }, - "additionalVariablesAsSecrets": { - "type": "boolean", - "default": false, - "title": "Optional. Whether to add all azd environment variables as secrets to the pipeline.", - "description": "If set to true, all variables found on azd environment are set as secrets for the pipeline. (Default: false)" } } }, From 2a58e38f740caf5f4bec6846bdb523444328d000 Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Wed, 7 Feb 2024 20:25:58 -0800 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Jon Gallant <2163001+jongio@users.noreply.github.com> --- schemas/v1.0/azure.yaml.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/v1.0/azure.yaml.json b/schemas/v1.0/azure.yaml.json index 7e41026a2dd..4ee013b783b 100644 --- a/schemas/v1.0/azure.yaml.json +++ b/schemas/v1.0/azure.yaml.json @@ -242,7 +242,7 @@ }, "variables": { "type": "array", - "title": "Optional. List of azd environment variables to be used in the pipeline as variables.", + "title": "Optional. List of azd environment variable names to be used in the pipeline as variables.", "description": "If variable is found on azd environment, it is set as a variable for the pipeline.", "items": { "type": "string" @@ -250,7 +250,7 @@ }, "secrets": { "type": "array", - "title": "Optional. List of azd environment variables to be used in the pipeline as secrets.", + "title": "Optional. List of azd environment variable names to be used in the pipeline as secrets.", "description": "If variable is found on azd environment, it is set as a secret for the pipeline.", "items": { "type": "string"