redhat-developer / vscode-yaml

YAML support for VS Code with built-in kubernetes syntax support
MIT License
652 stars 221 forks source link

Supports Circle CI Pipeline values and parameters in `resource_class` #1046

Open kohbis opened 1 month ago

kohbis commented 1 month ago

Is your enhancement related to a problem? Please describe.

No.

Describe the solution you would like

Do not output error messages when using Pipeline values and parameters with resource_class in .circleci/config.yaml. https://circleci.com/docs/pipeline-variables/

Currently, when the following is specified:

jobs:
  job1:
    resource_class: << pipeline.parameters.resource-class >>

the following error message is shown.

Value is not accepted. Valid values: "small", "medium", "medium+", "large", "xlarge", "2xlarge", "2xlarge+", "arm.medium", "arm.large", "arm.xlarge", "arm.2xlarge".

Describe alternatives you have considered

Support the use of Pipeline values and parameters with resource_class.

Additional context

N/A