Last active
September 6, 2023 09:02
-
-
Save rm3l/5691e926a4cfe37e369d93695187bdd6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
- exec: | |
commandLine: echo exec-1 succeeding after 5s... && sleep 5 && exit 0 | |
component: runtime | |
id: exec-1 | |
- exec: | |
commandLine: echo from exec-2 | |
component: runtime | |
id: exec-2 | |
- exec: | |
commandLine: echo from exec-3 | |
component: runtime | |
id: exec-3 | |
- exec: | |
commandLine: echo run-1 passing after 5s... && sleep 5 && exit 0 | |
component: runtime | |
id: run-1 | |
- exec: | |
commandLine: echo from run-2 | |
component: runtime | |
id: run-2 | |
- exec: | |
commandLine: echo from run-3 | |
component: runtime | |
id: run-3 | |
- composite: | |
commands: | |
- exec-1 | |
- exec-2 | |
- exec-3 | |
group: | |
isDefault: true | |
kind: build | |
parallel: true | |
id: build | |
- composite: | |
commands: | |
- run-1 | |
- run-2 | |
- run-3 | |
group: | |
isDefault: true | |
kind: run | |
parallel: true | |
id: run | |
components: | |
- container: | |
args: | |
- -f | |
- /dev/null | |
command: | |
- tail | |
image: busybox | |
memoryLimit: 10Mi | |
mountSources: true | |
name: runtime | |
metadata: | |
name: my-component-with-parallel-commands | |
schemaVersion: 2.2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Devfile used for reproducing the following issue: redhat-developer/odo#6681