-
Notifications
You must be signed in to change notification settings - Fork 11
fix(path): read multi yaml file separated with --- #81
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
Conversation
Pull Request Test Coverage Report for Build 13682642985Details
💛 - Coveralls |
e28eed8 to
89799d1
Compare
|
@mxcl I would request you to review the PR. |
89799d1 to
4642807
Compare
|
@jhheider, can you pls take a look? I am thinking to spend weekend to fix this in pkgx repo. |
jhheider
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks reasonable as it goes. two notes:
- this is for pkgx v1; pkgx v2 is pure rust (pkgxdev/pkgx)
- some determination of what should be done with a yaml array needs to be made. the simplest is probably just the read the first one and stop. to what end does skaffold.dev multiple documents in its file?
Now with pkgx v2, we should need it at https://github.com/pkgxdev/dev/blob/main/src/sniff.ts#L263 , isn't it?
Say, if we run |
|
that looks correct. got it. |
|
Thanks @jhheider for reviewing it,pls proceed to merge. |
|
Gentle reminder @jhheider if you missed to merge. |
|
Hey sorry I missed this. Are you still using If for |
No, I've switched to I believe the separate dev tool (sniff.ts#L263) uses libpkgx. If that’s incorrect, could you please point me to the right location to address the multi-YAML Skaffold issue with pkgx^2? |
|
Hi @mxcl @jhheider , I have opened a follow-up PR on dev tool: pkgxdev/dev#38 . Please have a look. |
Currently pkgxdev is failing to autodetect skaffold when skaffold.yaml is having multiple documents with following error:
Once this util function is available to read multi-yaml file, I will raise PR to pkgx.
issue ticket: #82