Skip to content

Add var_sources to Concourse schema #944

Closed

Description

@ThibaultDelaune-pro

Describe the bug

Concourse CI Pipeline Editor VSCode extensions are falsely reporting a problem with var_sources.

Error message:

Unknown property 'var_sources' for type 'Pipeline' vscode-concourse(YamlSchemaProblem)

This request is really similar to #942, maybe you could combine them...

To Reproduce

---
var_sources:
- name: global_vars
  type: dummy
  config:
    vars:
      pipeline-path: pipelines/example.yml

resources:
  - name: concourse
    type: git
    icon: github
    source:
      uri: https://github.com/concourse/concourse.git
      branch: main

jobs:
  - name: example
    plan:
      - get: concourse
      - set_pipeline: examples
        file: concourse/((global_vars:pipeline-path))

Fix

Please add var_sources to Concourse schema.

cf. https://concourse-ci.org/vars.html#var-sources

Activity

  1. added
    for: eclipse
    for: vscode
    and removed on Jan 9, 2023
  2. added this to the 4.17.2.RELEASE milestone on Jan 9, 2023
  3. self-assigned this
    on Jan 18, 2023
  4. BoykoAlex commented on Jan 18, 2023

    @BoykoAlex
    Contributor

    Fixed with 1812584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: concourse-supporttype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions