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

extension doesn't support multiple kinds in a single file #580

Open
VickyWinner opened this issue May 16, 2021 · 13 comments
Open

extension doesn't support multiple kinds in a single file #580

VickyWinner opened this issue May 16, 2021 · 13 comments
Labels
kind/bug Something isn't working points/5

Comments

@VickyWinner
Copy link

I am using a single .yaml file to create all the resources required for the pipeline by separating them with ---. I get error after I installed this extension. Not sure if its by design or a bug.

yaml: expected a single document in the stream, but found more
@evidolob evidolob added the kind/bug Something isn't working label May 17, 2021
@sudhirverma
Copy link
Contributor

sudhirverma commented May 17, 2021

yaml: expected a single document in the stream, but found more

Hi, @VickyWinner this error you get while creating multiple resources in a single file? If yes which command you were using to create resources.

@VickyWinner
Copy link
Author

@sudhirverma just take any resource required by the pipeline. Task, TaskRun, Pipeline, PipelineRun etc.

@siamaksade siamaksade added this to the 0.17.0 milestone May 20, 2021
@evidolob evidolob self-assigned this Jun 2, 2021
@evidolob
Copy link
Collaborator

evidolob commented Jun 3, 2021

@VickyWinner I cannot to reproduce this, could you share more detailed steps to reproduce?

@VickyWinner
Copy link
Author

its not erroring out while running the kubectl or oc. Its just the vscode pops errors.

@evidolob
Copy link
Collaborator

evidolob commented Jun 3, 2021

@VickyWinner
Copy link
Author

this is what I see
image

@evidolob
Copy link
Collaborator

evidolob commented Jun 3, 2021

@VickyWinner Are you using latest version of vscode-tekton?

@VickyWinner
Copy link
Author

I am using v0.14.0

@evidolob
Copy link
Collaborator

evidolob commented Jun 3, 2021

Latest is 0.16.1 try that version

@VickyWinner
Copy link
Author

I just did install 0.16.1 but still the same issue. just an update that I am running vscode in administrator mode.

@evidolob
Copy link
Collaborator

evidolob commented Jun 3, 2021

Do you have any other extension related to yaml? Like Ansible?

@VickyWinner
Copy link
Author

No. I am using only .yaml extension for all tekton stuff. I ran vscode in non-administrator mode, same issue. looks like it has nothing to do with that.

@evidolob
Copy link
Collaborator

evidolob commented Jun 3, 2021

I mean any other vscode extensions(plugins) which can handle/provide some editor features for yaml files.

@mohitsuman mohitsuman removed this from the 0.17.0 milestone Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working points/5
Projects
None yet
Development

No branches or pull requests

5 participants