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

[concourse] Support validation and completions inside params of resource_type #390

Closed
kdvolder opened this issue Nov 4, 2019 · 0 comments
Milestone

Comments

@kdvolder
Copy link
Member

kdvolder commented Nov 4, 2019

Example:

resource_types:

- name: cogito
  type: registry-image
  check_every: 24h
  params:
    <*>
  source:
    repository: ((docker-registry))/cogito

Invoking completions where the cursor <*> is should suggest attributes as in the params of a get step of a registry_image resource. These are documented here: https://github.com/concourse/registry-image-resource#in-fetch-the-images-rootfs-and-metadata

At the moment it only has one valid attribute called format

Similarly any attributes below the params should be validated (i.e. at the moment the only valid attribute is format.

Related discussion: concourse/docs#273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants