Skip to content

Commit 17a00b0

Browse files
committed
add deploy cmd
Signed-off-by: Stephanie <yangcao@redhat.com>
1 parent f6c6131 commit 17a00b0

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

devfile.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
version: 1.0.0
55
provider: Red Hat
66
supportUrl: https://github.com/devfile-samples/devfile-support#support-information
7-
attributes:
7+
attributes:
88
alpha.dockerimage-port: 8081
99
starterProjects:
1010
- name: python-example
@@ -52,3 +52,17 @@ commands:
5252
component: py-web
5353
group:
5454
kind: debug
55+
- id: build-image
56+
apply:
57+
component: outerloop-build
58+
- id: deployk8s
59+
apply:
60+
component: outerloop-deploy
61+
- id: deploy
62+
composite:
63+
commands:
64+
- build-image
65+
- deployk8s
66+
group:
67+
kind: deploy
68+
isDefault: true

0 commit comments

Comments
 (0)