-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Task: Changing a command in the devfile of an existing workspace is not taken in account #13994
Comments
I think the issue can be fixed when we provide synchronization for |
There is no conflict, changes on tasks.json should be applied to the devfile (synch). Don't spend time to resolve the conflicts. |
Do we have ability to recognize on plugin side - is it workspace start/restart or user is refreshing a page? |
export async function start(context: theia.PluginContext) { is invoked at every browser refresh. |
Yes, and the same is invoked when workspace has started. So do you mean |
I would behave like if synchronisation were implemented. |
Even if user adds own custom task? Should it be reflected in devfile? |
I would say yes if synchronisation is implemented |
setting |
This should be addressed by my work on #15540 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Describe the bug
Changing any of the devfile commands of an existing (and started) workspace from the dashboard is not affecting the workspace (even after restart).
Che version
Steps to reproduce
start a workspace with this devfile containing a command that would run on a plugin side car container. For instance:
open the workspace and execute the task: it works well
stop the workspace
go to the dashboard and edit the devfile. Change the command to display 'hello che world'
restart the workspace
rerun the task. It is displaying 'hello world' and not 'hello che world'
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
Environment
Additional context
The text was updated successfully, but these errors were encountered: