-
Notifications
You must be signed in to change notification settings - Fork 59
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
Plugin reports "no modules defined" when there are modules defined in skaffold.yaml #3157
Comments
Thanks for the report @dallasvaughan! What is your version of skaffold on CLI you use to run, vs. bundled skaffold version in IDE (Tools -> Google Cloud Code -> Tools -> Terminal, and then |
Another question - current version of your skaffold.yaml ( |
The My locally-installed version is 2.6.2:
|
Apparently, the presence of However, having this comment at the top of the Can the plugin's module processing logic be updated to ignore comments on the first line of |
@dallasvaughan we tried to reproduce same steps, with K8s plugin installed and |
Okay, it's weird. It seems to have "worked itself out" somehow... I noticed while trying to edit my own project with different which seems like it might be why the UI doesn't display the modules at that moment (but this seems like a temporary state that eventually is corrected). |
Thank you for the log, indeed, this is the command used for getting module list behind the scenes, and it fails (intermittent, as you said):
One possibility is somehow corrupted state of the skaffold.yaml file not saved yet, or not in valid state when a run configuration was opened - do you recall anything like this - opening a run configuration while in the middle of editing cycle? It looks like around the same time when all skaffold inspection / configuration command failed for a selected |
@dallasvaughan any updates on the last comment - do you think this could be a probable cause of what you are seeing? |
Yes, that is a definite possibility since I was frequently editing the skaffold.yaml at the time. |
Expected Behavior
When there are multiple
skaffold.yaml
modules defined, these modules aren't listed in theBuild/Deploy
configuration "Skaffold modules" section and cannot be selected to be run for a particular Run/Debug config.Running with a particular module works correctly via CLI:
Actual Behavior
When there are multiple
skaffold.yaml
modules defined, these modules are listed in theBuild/Deploy
configuration "Skaffold modules" section and are able to be selected to be run for a particular Run/Debug config.Additional Information
The text was updated successfully, but these errors were encountered: