sts4 icon indicating copy to clipboard operation
sts4 copied to clipboard

Concourse VSCode Extension: Does not recognize GCS buckets in semver resource

Open stuart-c-moore opened this issue 8 years ago • 2 comments

Hi,

I have the following resource defined in my pipeline:

resources:
- name: resource-name
  type: semver
  check_every: 1h  
  source:
    driver: gcs
    bucket: bucket-name
    key: version
    json_key: ((gcp.key))

This works fine in Concourse, but the VScode plugin shows the following problems:

'gcs' is an unknown 'SemverDriver'. Valid values are: [git, s3, swift]
Unknown property 'bucket' for type 'SemverSource'
Unknown property 'key' for type 'SemverSource'
Unknown property 'json_key' for type 'SemverSource'

Can this support be enabled? It is documented here: https://github.com/concourse/semver-resource

stuart-c-moore avatar Jun 16 '18 08:06 stuart-c-moore

When support for semver was added to our editor, there was no 'gcs' resource. So thanks for the report. We really rely on reports like this to inform us when schema needs updating / fixing.

kdvolder avatar Jun 18 '18 16:06 kdvolder

@migs If you have a change to try it out. This is now implemented in the latest snapshot build.

Instructions on getting and installing the snapshot from a .vsix file can be found in the readme here: http://dist.springsource.com/snapshot/STS4/nightly-distributions.html

kdvolder avatar Jun 18 '18 18:06 kdvolder