Skip to content

VS Code Extensions missing Cloud Foundry params options #330

Closed

Description

@mjnorman

Hello all. For VSCODE extensions, It does not look like all of the appropriate options are available via intellisense, and errors occur for those not included. For example including vars results in an error.:

  - put: cloud-foundry-g1
    params:
      vars:
        MYVAR: myvalue
      manifest: manifest.yml

This looks like where it would need to be added, although my familiarity with VS Code Extensions is limited.

https://github.com/spring-projects/sts4/blob/073d6fa98a5e518e4555440e345546437da9145b/headless-services/concourse-language-server/src/main/java/org/springframework/ide/vscode/concourse/PipelineYmlSchema.java#L736

Activity

  1. kdvolder commented on Jul 22, 2019

    @kdvolder
    Member

    Thanks for the report. Likely these are attributes that were added after we created the editor. We try to keep it up to date, but realistically we need people like yourself to tell us when something new got added that is ''missing' from our editor.

    For example including vars ...

    Is that the only missing attribute you are aware of? I am asking because your title suggest there are more than one. So if there are others that you are aware of, it would be helpful to list explicitly as well.

  2. mjnorman commented on Jul 22, 2019

    @mjnorman
    Author

    Yes I didn't want to bloat the issue, but you're right I should be complete!

    I see these as missing when comparing docs from original repo, https://github.com/concourse/cf-resource

    Source attributes:

    • client_id: Optional. The client id used to authenticate.
    • client_secret: Optional. The client secret used to authenticate.
    • verbose: Optional. Invoke cf cli using CF_TRACE=true to print all API calls made to Cloud Foundry.

    Param Attributes

    • vars: Optional. Map of variables to pass to manifest
    • vars_files: Optional. List of variables files to pass to manifest
    • docker_username: Optional. This is used as the username to authenticate against a protected docker registry.
    • docker_password: Optional. This should be the users password when authenticating against a protected docker registry.
    • show_app_log: Optional. Tails the app log during startup, useful to debug issues when using blue/green deploys together with the current_app_name option.
    • no_start: Optional. Deploys the app but does not start it. This parameter is ignored when current_app_name is specified.
  3. kdvolder commented on Jul 22, 2019

    @kdvolder
    Member

    Thank you, that is very helpful :-)

  4. kdvolder commented on Jul 24, 2019

    @kdvolder
    Member
  5. mjnorman commented on Jul 26, 2019

    @mjnorman
    Author

    This seems to be working fine, thanks for the quick update!

  6. added this to the 4.3.2.RELEASE milestone on Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions