Improve the workflow for creating a new workspace from scratch
Is your enhancement related to a problem? Please describe
There currently is not an intuitive workflow for bootstrapping a new workspace.
- Create an empty workspace
- Clone or create your target code repository
- Create a devfile
- Test the devfile by restarting from local devfile
- Commit the changes to the git repository
- Delete the initial empty workspace
- Create a new workspace from the git repository
This workflow is very cumbersome and requires a fair amount of forethought.
Describe the solution you'd like
An initial iteration for simplifying the workflow -
- Allow users to give a new workspace a name from the dashboard, potentially overriding the name in a devfile.
- Add an action to the Welcome tab to generate a new devfile. For example, when using the empty workspace or when the git repo does not include a devfile.
- The generated devfile should be generated in a folder of the users choosing.
- The generated devfile should reflect the configuration of the default devfile as defined in the CheCluster CR.
- The generated devfile should use the name given to the workspace.
Describe alternatives you've considered
No response
Additional context
No response
Hi @cgruver , you can simplify the bootstrapping of a new workspace a bit if you have a target code repository: instead of creating an empty workspace, use the Import from Git form:
This will create a new workspace and clone the source code from the repository.
cc @ibuziuk
@akurinnoy understood.
I still believe that it would be nice to be able to declare a workspace name rather than have one auto-generated.
I've observed a lot of users struggle to get started with a devfile. Being about to click a button to generate one from the default devfile would be a good start.
Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.
Mark the issue as fresh with /remove-lifecycle stale in a new comment.
If this issue is safe to close now please do so.
Moderators: Add lifecycle/frozen label to avoid stale mode.