-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use docker to build dashboard app. (as alternative) #5848
Conversation
By using layer for package.json and bower.json file, it saves extra time to get npm or bower dependencies Also, if dashboard files are not modified, the build is faster. it targets as well 5127 By default : "$ mvn clean install" --> use docker "$ mvn clean install -Pnative" --> use native tools Change-Id: Ia65161b58e8ae70f7799500750a3d87687e34819 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
Build # 3216 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/3216/ to view the results. |
…json and bower.json file, it saves extra time to get npm or bower dependencies Change-Id: I30a43ff4d9f6020feb7057f7f1958e51079c8549 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3220/ |
@benoitf can you please mention the profile option here as well : https://github.com/eclipse/che/blob/master/dashboard/README.md |
…json and bower.json file, it saves extra time to get npm or bower dependencies Change-Id: Ie716ff7d34cb86f5c249ad33709b51aa6600bc24 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
@ashumilova done. is it ok now ? |
…json and bower.json file, it saves extra time to get npm or bower dependencies Change-Id: I7ccb4efbe1c78d57ccb9ec2fb8adacd406fc89cb Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
…json and bower.json file, it saves extra time to get npm or bower dependencies Change-Id: I66a04d2b40725f6005733259ad887fc59cf92df0 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
…json and bower.json file, it saves extra time to get npm or bower dependencies Change-Id: I9ee1af388d96a34abfdecd5cfa3d63261f4b946d Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3271/ |
As I understand we wanted use native tools by default and profile for docker. But I'm +1 on this |
@riuvshin yes but after thinking a log around this I was thinking that we have more ppl having docker than all the other required tools. (this is why I used docker by default) |
* Use docker to build dashboard app. By using layer for package.json and bower.json file, it saves extra time to get npm or bower dependencies Also, if dashboard files are not modified, the build is faster. it targets as well 5127 By default : "$ mvn clean install" --> use docker "$ mvn clean install -Pnative" --> use native tools Change-Id: Ia65161b58e8ae70f7799500750a3d87687e34819 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
* Use docker to build dashboard app. By using layer for package.json and bower.json file, it saves extra time to get npm or bower dependencies Also, if dashboard files are not modified, the build is faster. it targets as well 5127 By default : "$ mvn clean install" --> use docker "$ mvn clean install -Pnative" --> use native tools Change-Id: Ia65161b58e8ae70f7799500750a3d87687e34819 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
* Use docker to build dashboard app. By using layer for package.json and bower.json file, it saves extra time to get npm or bower dependencies Also, if dashboard files are not modified, the build is faster. it targets as well 5127 By default : "$ mvn clean install" --> use docker "$ mvn clean install -Pnative" --> use native tools Change-Id: Ia65161b58e8ae70f7799500750a3d87687e34819 Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
What does this PR do?
Use docker to build dashboard app. (as alternative)
By using layer for package.json and bower.json file, it saves extra time to get npm or bower dependencies
Also, if dashboard files are not modified, the build is faster.
it targets as well issue #5127
By default :
"$ mvn clean install" --> use docker
"$ mvn clean install -Pnative" --> use native tools
as a side note, if all files are untouched, mvn clean install of dashboard is taking less than 10 seconds instead of like 5mn+
What issues does this PR fix or reference?
#5127
Changelog
Allow to build dashboard app with docker.
Release Notes
N/A
Docs PR
N/A
Change-Id: Ia65161b58e8ae70f7799500750a3d87687e34819
Signed-off-by: Florent BENOIT fbenoit@redhat.com