|
2 | 2 | = Migrating commands
|
3 | 3 |
|
4 | 4 | [role="_abstract"]
|
5 |
| -This section describes how to migrate plug-ins to devfile v2. There ARE major changes in the `commands` section of the devfile. A command specified in a v1.0 devfile will NOT work as it is in a devfile v2.0. |
| 5 | +This section describes how to migrate the `commands` section to devfile v2.x. A command specified in a v1.0 devfile does not work as it is in a devfile v2.x. |
6 | 6 |
|
7 | 7 | .Procedure
|
8 | 8 |
|
9 |
| -. Command Groups: build,run,test,debug. |
10 |
| -. Apply Command. |
11 |
| -. Environment Varibables for a Specific Command. |
12 |
| -. Renaming workdir into workingDir. |
13 |
| -. Id and label for Composite Commands. |
14 |
| -. Run exec Commands as Specific User. |
| 9 | +. Command groups: build, run, test, debug. |
| 10 | +. Apply command. |
| 11 | +. Environment variables for a specific command. |
| 12 | +. Renaming workdir into workingDir. |
| 13 | +. Id and label for composite commands. |
| 14 | +. Run exec commands as specific user. |
15 | 15 | . Devfile metadata: add a link to an external website.
|
16 |
| -. Stack/Devfile Matching Rules. |
| 16 | +. Stack and devfile matching rules. |
17 | 17 |
|
18 | 18 | [role="_additional-resources"]
|
19 | 19 | .Additional resources
|
20 | 20 |
|
21 |
| -* Command Groups: build,run,test,debug. See https://github.com/che-incubator/devworkspace-api/issues/27[corresponding issue]. |
| 21 | +* Command groups: build, run, test, debug. See https://github.com/che-incubator/devworkspace-api/issues/27[corresponding issue]. |
22 | 22 | * Apply Command. See https://github.com/devfile/api/issues/56[corresponding issue].
|
23 | 23 |
|
24 |
| -* Environment Varibables for a Specific Command. See https://github.com/che-incubator/devworkspace-api/issues/21[corresponding issue]. |
| 24 | +* Environment variables for a specific command. See https://github.com/che-incubator/devworkspace-api/issues/21[corresponding issue]. |
25 | 25 |
|
26 | 26 | * Renaming workdir into workingDir. See https://github.com/che-incubator/devworkspace-api/issues/22[corresponding issue].
|
27 | 27 |
|
28 |
| -* Id and label for Composite Commands. See https://github.com/che-incubator/devworkspace-api/issues/18[corresponding issue]. |
| 28 | +* Id and label for composite commands. See https://github.com/che-incubator/devworkspace-api/issues/18[corresponding issue]. |
29 | 29 |
|
30 |
| -* Run exec Commands as Specific User. See https://github.com/che-incubator/devworkspace-api/issues/34[corresponding issue]. |
| 30 | +* Run exec commands as specific user. See https://github.com/che-incubator/devworkspace-api/issues/34[corresponding issue]. |
31 | 31 |
|
32 | 32 | * Devfile metadata: add a link to an external website. See https://github.com/che-incubator/devworkspace-api/issues/38[corresponding issue].
|
33 | 33 |
|
34 |
| -* Stack/Devfile Matching Rules. See https://github.com/che-incubator/devworkspace-api/issues/40[corresponding issue]. |
| 34 | +* Stack and devfile matching rules. See https://github.com/che-incubator/devworkspace-api/issues/40[corresponding issue]. |
0 commit comments