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
feat: Webapp-Wildfly supports S2I source builds too #201
Conversation
Codecov Report
@@ Coverage Diff @@
## master #201 +/- ##
============================================
+ Coverage 26.22% 26.27% +0.04%
- Complexity 1577 1589 +12
============================================
Files 350 350
Lines 18276 18296 +20
Branches 2807 2808 +1
============================================
+ Hits 4793 4807 +14
- Misses 12925 12931 +6
Partials 558 558
Continue to review full report at Codecov.
|
cfd946f
to
39c5c9d
Compare
3 build modes: - Docker (Kubernetes) - OpenShift-Docker (S2I Binary) - OpenShift-S2I (S2I Source) Signed-off-by: Marc Nuri <marc@marcnuri.com>
39c5c9d
to
16f5ff6
Compare
Thanks a lot for this 👍 . I thought it's going to be more involved. I would test and take a look at this PR tomorrow. |
SonarCloud Quality Gate failed. 0 Bugs |
Implementation looks simple but it was quite involved. The base S2I image needs to allow some way to be able to provide the packaged war and deploy it (instead of compiling it with the s2i builder image). In this case, It's also important that both the Docker based image and the S2I image are in someway compatible so that we don't need to add too many specifics for each use case. For this case, we've been lucky and most things will work OOTB for both (three in reality) scenarios. I don't think this will be as easy for other S2I images, I'm still investigating this (which is what takes longer). |
|
It's good because you just tested that there is no regression in the WebAppGenerator. |
okay, it seems to be working for |
3 build modes:
mvn k8s:build
mvn oc:build -Djkube.build.strategy=docker
mvn oc:build