Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting manually added changes in the pipeline json #465

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 28 additions & 129 deletions v0/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@
},
"deploymentType" : {
"type" : "string",
"enum" : [ "Kubernetes", "NativeHelm", "Ssh", "WinRm", "ServerlessAwsLambda", "AzureWebApp", "AzureFunction", "CustomDeployment", "ECS", "Elastigroup", "TAS", "Asg", "GoogleCloudFunctions", "AwsLambda", "AWS_SAM" ]
"enum" : [ "Kubernetes", "NativeHelm", "Ssh", "WinRm", "ServerlessAwsLambda", "AzureWebApp", "CustomDeployment", "ECS", "Elastigroup", "TAS", "Asg", "GoogleCloudFunctions", "AwsLambda", "AWS_SAM" ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what change we are trying to revert ?

},
"environment" : {
"$ref" : "#/definitions/pipeline/stages/cd/EnvironmentYamlV2"
Expand Down Expand Up @@ -1145,22 +1145,7 @@
}
}
}
}, {
"if" : {
"properties" : {
"deploymentType" : {
"const" : "AzureFunction"
}
}
},
"then" : {
"properties" : {
"deploymentMetadata" : {
"$ref" : "#/definitions/pipeline/stages/cd/AzureFunctionDeploymentMetaData"
}
}
}
},{
}, {
"if" : {
"properties" : {
"deploymentType" : {
Expand Down Expand Up @@ -2542,7 +2527,7 @@
},
"type" : {
"type" : "string",
"enum" : [ "KubernetesDirect", "KubernetesGcp", "KubernetesAzure", "Pdc", "SshWinRmAzure", "ServerlessAwsLambda", "AzureWebApp", "AzureFunction", "SshWinRmAws", "CustomDeployment", "ECS", "Elastigroup", "TAS", "Asg", "GoogleCloudFunctions", "AWS_SAM", "AwsLambda", "KubernetesAws", "KubernetesRancher" ]
"enum" : [ "KubernetesDirect", "KubernetesGcp", "KubernetesAzure", "Pdc", "SshWinRmAzure", "ServerlessAwsLambda", "AzureWebApp", "SshWinRmAws", "CustomDeployment", "ECS", "Elastigroup", "TAS", "Asg", "GoogleCloudFunctions", "AWS_SAM", "AwsLambda", "KubernetesAws", "KubernetesRancher" ]
},
"description" : {
"desc" : "This is the description for InfrastructureDef"
Expand Down Expand Up @@ -2609,21 +2594,6 @@
}
}
}
}, {
"if" : {
"properties" : {
"type" : {
"const" : "AzureFunction"
}
}
},
"then" : {
"properties" : {
"spec" : {
"$ref" : "#/definitions/pipeline/stages/cd/AzureFunctionInfrastructure"
}
}
}
}, {
"if" : {
"properties" : {
Expand Down Expand Up @@ -2963,38 +2933,6 @@
}
}
},
"AzureFunctionInfrastructure" : {
"title" : "AzureFunctionInfrastructure",
"allOf" : [ {
"$ref" : "#/definitions/pipeline/steps/common/Infrastructure"
}, {
"type" : "object",
"required" : [ "connectorRef", "resourceGroup", "subscriptionId" ],
"properties" : {
"connectorRef" : {
"type" : "string",
"minLength" : 1
},
"provisioner" : {
"type" : "string"
},
"resourceGroup" : {
"type" : "string",
"minLength" : 1
},
"subscriptionId" : {
"type" : "string",
"minLength" : 1
}
}
} ],
"$schema" : "http://json-schema.org/draft-07/schema#",
"properties" : {
"description" : {
"desc" : "This is the description for AzureFunctionInfrastructure"
}
}
},
"CustomDeploymentInfrastructure" : {
"title" : "CustomDeploymentInfrastructure",
"allOf" : [ {
Expand Down Expand Up @@ -4034,7 +3972,7 @@
"properties" : {
"type" : {
"type" : "string",
"enum" : [ "Kubernetes", "NativeHelm", "Ssh", "WinRm", "ServerlessAwsLambda", "AzureWebApp", "AzureFunction", "CustomDeployment", "ECS", "Elastigroup", "TAS", "Asg", "GoogleCloudFunctions", "AwsLambda", "AWS_SAM" ]
"enum" : [ "Kubernetes", "NativeHelm", "Ssh", "WinRm", "ServerlessAwsLambda", "AzureWebApp", "CustomDeployment", "ECS", "Elastigroup", "TAS", "Asg", "GoogleCloudFunctions", "AwsLambda", "AWS_SAM" ]
},
"description" : {
"desc" : "This is the description for ServiceDefinition"
Expand Down Expand Up @@ -4101,21 +4039,6 @@
}
}
}
}, {
"if" : {
"properties" : {
"type" : {
"const" : "AzureFunction"
}
}
},
"then" : {
"properties" : {
"spec" : {
"$ref" : "#/definitions/pipeline/stages/cd/AzureFunctionServiceSpec"
}
}
}
}, {
"if" : {
"properties" : {
Expand Down Expand Up @@ -6678,22 +6601,6 @@
}
}
},
"AzureFunctionServiceSpec" : {
"title" : "AzureFunctionServiceSpec",
"allOf" : [ {
"$ref" : "#/definitions/pipeline/stages/cd/ServiceSpec"
}, {
"type" : "object",
"properties" : {
}
} ],
"$schema" : "http://json-schema.org/draft-07/schema#",
"properties" : {
"description" : {
"desc" : "This is the description for AzureFunctionServiceSpec"
}
}
},
"AzureWebAppServiceSpec" : {
"title" : "AzureWebAppServiceSpec",
"allOf" : [ {
Expand Down Expand Up @@ -7639,20 +7546,6 @@
}
}
},
"AzureFunctionDeploymentMetaData" : {
"title" : "AzureFunctionDeploymentMetaData",
"allOf" : [ {
"$ref" : "#/definitions/pipeline/stages/cd/DeploymentMetaData"
}, {
"type" : "object"
} ],
"$schema" : "http://json-schema.org/draft-07/schema#",
"properties" : {
"description" : {
"desc" : "This is the description for AzureFunctionDeploymentMetaData"
}
}
},
"CustomDeploymentMetaData" : {
"title" : "CustomDeploymentMetaData",
"allOf" : [ {
Expand Down Expand Up @@ -60447,19 +60340,13 @@
}
}, {
"type" : "string",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|default|regex)\\(.+?\\)))*$",
"minLength" : 1
} ]
},
"image" : {
"type" : "string"
},
"functionApp" : {
"type" : "string"
},
"deploymentSlot" : {
"type" : "string"
},
"imagePullPolicy" : {
"oneOf" : [ {
"type" : "string",
Expand All @@ -60475,7 +60362,7 @@
"type" : "boolean"
}, {
"type" : "string",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|default|regex)\\(.+?\\)))*$",
"minLength" : 1
} ]
},
Expand All @@ -60490,13 +60377,20 @@
"type" : "string"
} ]
},
"deploymentSlot" : {
"type" : "string"
},
"webApp" : {
"type" : "string"
},
"preExecution" : {
"type" : "string"
}
}
} ],
"$schema" : "http://json-schema.org/draft-07/schema#",
"type" : "object",
"required" : [ "deploymentSlot", "webApp" ],
"properties" : {
"connectorRef" : {
"type" : "string"
Expand All @@ -60521,19 +60415,13 @@
}
}, {
"type" : "string",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|default|regex)\\(.+?\\)))*$",
"minLength" : 1
} ]
},
"image" : {
"type" : "string"
},
"functionApp" : {
"type" : "string"
},
"deploymentSlot" : {
"type" : "string"
},
"imagePullPolicy" : {
"oneOf" : [ {
"type" : "string",
Expand All @@ -60549,7 +60437,7 @@
"type" : "boolean"
}, {
"type" : "string",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|default|regex)\\(.+?\\)))*$",
"minLength" : 1
} ]
},
Expand All @@ -60564,6 +60452,14 @@
"type" : "string"
} ]
},
"deploymentSlot" : {
"type" : "string",
"minLength" : 1
},
"webApp" : {
"type" : "string",
"minLength" : 1
},
"preExecution" : {
"type" : "string"
},
Expand Down Expand Up @@ -60689,7 +60585,7 @@
"type" : "boolean"
}, {
"type" : "string",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|default|regex)\\(.+?\\)))*$",
"minLength" : 1
} ]
},
Expand Down Expand Up @@ -60745,7 +60641,7 @@
"type" : "boolean"
}, {
"type" : "string",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|default|regex)\\(.+?\\)))*$",
"pattern" : "^<\\+input>((\\.)((executionInput\\(\\))|(allowedValues|selectOneFrom|default|regex)\\(.+?\\)))*$",
"minLength" : 1
} ]
},
Expand All @@ -60760,6 +60656,9 @@
"type" : "string"
} ]
},
"serverlessVersion" : {
"type" : "string"
},
"preExecution" : {
"type" : "string"
},
Expand Down
Loading