File tree 1 file changed +69
-0
lines changed
1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : 1.0.0
2
+ metadata :
3
+ generateName : package-local-postit-app-
4
+
5
+ projects :
6
+
7
+ - source :
8
+ type : git
9
+ location : ' https://github.com/redhat-developer-demos/quarkus-reactjs-postit-app'
10
+ name : postit-app
11
+
12
+ components :
13
+
14
+ - alias : quarkus-backend-dev
15
+ type : dockerimage
16
+ image : quay.io/quarkus/centos-quarkus-maven:19.2.1
17
+ memoryLimit : 1Gi
18
+ command : ['sleep']
19
+ args : ['infinity']
20
+ mountSources : true
21
+
22
+ - alias : node-frontend-dev
23
+ mountSources : true
24
+ image : ' quay.io/eclipse/che-nodejs8-centos:7.2.0'
25
+ memoryLimit : 768Mi
26
+ type : dockerimage
27
+
28
+ - alias : git
29
+ type : dockerimage
30
+ image : sunix/git-devtools
31
+ mountSources : true
32
+ memoryLimit : 64M
33
+ args : ['sleep', 'infinity']
34
+
35
+ commands :
36
+
37
+ - name : prepare local quarkus-backend
38
+ actions :
39
+ - type : exec
40
+ command : |-
41
+ mkdir -p /projects/local/m2repo;
42
+ rm /projects/local/m2repo/* -rf ;
43
+ mvn dependency:go-offline
44
+ component : quarkus-backend-dev
45
+ workdir : /projects/postit-app/quarkus-backend
46
+
47
+
48
+ - name : prepare local node_modules
49
+ actions :
50
+ - type : exec
51
+ command : |-
52
+ mkdir -p /projects/local;
53
+ rm /projects/local/node_modules.tar.gz -rf;
54
+ rm /projects/postit-app/node-frontend/node_modules -rf;
55
+ npm install;
56
+ tar -zcvf /projects/local/node_modules.tar.gz node_modules;
57
+ component : node-frontend-dev
58
+ workdir : /projects/postit-app/node-frontend/
59
+
60
+
61
+
62
+ - name : zip everything
63
+ actions :
64
+ - type : exec
65
+ command : |-
66
+ rm local.zip;
67
+ zip -r local.zip *;
68
+ component : git
69
+ workdir : /projects/local/
You can’t perform that action at this time.
0 commit comments