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

Advanced stack configuration form #2316

Closed
8 tasks done
slemeur opened this issue Sep 2, 2016 · 1 comment
Closed
8 tasks done

Advanced stack configuration form #2316

slemeur opened this issue Sep 2, 2016 · 1 comment
Assignees
Labels
kind/enhancement A feature request - must adhere to the feature request template. kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed.

Comments

@slemeur
Copy link
Contributor

slemeur commented Sep 2, 2016

Goal:

  • Provide the ability to author a stack with advanced configuration options.
  • Handle authoring for multi-containers based stack.
  • Provide the ability to test the stack while authoring it.

Preliminary:
The scope of this issue is pretty large and will be handled step by step. It is the natural extension of the basic flow that we started with the issue #2207.

Advanced Form
The form is going to be extended with more and more parameters that are handled by the Environment Model.
This form will be used similarly to edit a stack.

6 - stacks - create new

1- User provides the name for the stack

2- User can provide the source of the stack. He can either:

  • customize a stack already registered in the system
  • provide a dockerfile
  • provide a composefile (for multi-container)
  • start from a blank template.

3- User configures the machines composing the stack's environment. It can be single machine or multi-machine. The list of machines is collapsible/expendable. By expending a machine, its details and configuration options are displayed,
Each machine have:

  • a name
  • RAM
  • can be defined as dev-machine (meaning it will be the primary machine where Che will injects agents for IDE tooling) (it is a toggle, activating the dev-machine in one machine of the environment will toggle-off in the other machines)
  • a list of agents (if selected, they'll be injected in the machine)
  • configuration for environment variables
  • configuration for ports
  • a list of commands

4- User provides meta-datas for the stack:

  • the category in which the stack will be displayed to other
  • the list of components included in the stack
  • the list of tags (which are used to filter the project templates)

5- User is able to see the raw JSON configuration of the stack.

Test the Stack
Once the user is done with the configuration of the stack, we provide the ability to test the stack with a temporary workspace, which will be used only for this purpose.
While editing the stack configuration, two buttons are displayed to the user to "test" the stack. Those buttons are displayed in the header and in the footer overlay.

6 - stacks - testing - step 1

When the user hits the "test" button, we show a popup where he can select the templates that are matching the tags he provided to the stack. This step is optional, user is not forced to inject project templates in the temporary workspace, he could also import projects from git, subversion sources.

6 - stacks - testing - step 2

After this step is handle, the system boot the temporary workspace and use the stack. The IDE is displayed over the dashboard as it is a temporary one. If user closes the IDE view, the workspace is automatically destroyed.
All machines outputs are displayed as usual inside of the "Consoles" panel.

@bmicklea bmicklea added the kind/enhancement A feature request - must adhere to the feature request template. label Sep 5, 2016
@bmicklea
Copy link

bmicklea commented Sep 5, 2016

@slemeur who should this be assigned to? Please take it yourself or assign to a team lead to asses.

@ashumilova ashumilova self-assigned this Sep 5, 2016
@ashumilova ashumilova added status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. sprint/next labels Sep 5, 2016
@ashumilova ashumilova added kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. and removed kind/enhancement A feature request - must adhere to the feature request template. sprint/next status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. labels Sep 21, 2016
@bmicklea bmicklea added the kind/enhancement A feature request - must adhere to the feature request template. label Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template. kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed.
Projects
None yet
Development

No branches or pull requests

3 participants