-
Notifications
You must be signed in to change notification settings - Fork 63
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
Command group (application lifecycle) #27
Comments
For reference vscode uses |
I also prefer Here we're more thinking of partitioning / grouping Exec commands into several categories, which is why I like the |
Completely agree. |
We reviewed this proposal and agreed on the following specs:
We started discussing whether we should have or not a default command for a given commands:
- exec:
name: "package"
commandLine: "mvn package"
component: build-tools
group:
name: build
- exec:
name: "install"
commandLine: "mvn install"
component: build-tools
group:
name: build
isDefault: true or commands:
- exec:
name: "package"
commandLine: "mvn package"
component: build-tools
group: build
- exec:
name: "install"
commandLine: "mvn install"
component: build-tools
group: build
- groupsDefaults:
- group: "build"
command: "install" or commands:
- exec:
name: "package"
commandLine: "mvn package"
component: build-tools
group: build
- exec:
name: "install"
commandLine: "mvn install"
component: build-tools
group: build
- groupsDefaults:
- build: "install" |
Is there a list of recognized 'group's? |
@gorkem we haven't discussed that but haven't finished to discuss this issue. We will continue next week. |
I assume that, in the second example proposed in comment #27 (comment), adding a single commands:
- exec:
name: "package"
commandLine: "mvn package"
component: build-tools
type: build
- exec:
name: "install"
commandLine: "mvn install"
component: build-tools
type: build
- groupsDefaults:
- group: "build"
command: "install" |
Discussed and agreed |
Is there any way to define different commandLines dependant on which Operating System is being used, specifically for |
@groeges given that the commands are supposed to be executed in a container (components are k8s/openshift/container objects) and not as a local processes, supporting multiple OSes doesn't look like a valid use case. |
@l0rd I agree that most of the commands will be running within the container so a single script is OK, however I thought there was a |
Signed-off-by: David Festal <dfestal@redhat.com>
* Implement agreement on issue #18 * Implement agreement on issue #17 * Implement agreement on issue #21 * Implement agreement on issue #22 * Implement agreement on issue #27 * Implement agreement on issue #9 * Implement agreement on issue #10 * Fix PR comments about issue #9 PR comment #35 (comment) * Fix PR comments about issue #17 PR comment #35 (comment) * Implement agreement on issue #14 and #19 * Add the spring boot example * Implement agreement on issue #32 * Fix last PR comments Signed-off-by: David Festal <dfestal@redhat.com> Co-Authored-By: Sergii Leshchenko <sleshche@redhat.com>
Implemented |
Commands should have a
group
field that will specify in what point of application lifecycle the command should be executed (or type of the command like, build, incremental-build, run etc..).group
field is optionalgroup
build
,run
,test
,debug
The text was updated successfully, but these errors were encountered: