Comments (9)
@manusa I confirmed the above error does not show up with JKube.
So I guess I have to move on to JKube as you suggested. Still, many thanks for your inputs!
I'll close this issue.
from fabric8-maven-plugin.
It probably is related to #1663
It looks like the generated Assembly artifact is no longer compatible with the S2I build image.
We are currently shifting all our development efforts towards Eclipse JKube. I think our current alpha-4 version should be stable enough for your use case (we'll be releasing an RC-1 very soon too). It would be very helpful ❤️ for us if you tried JKube and shared your feedback for your current use cases.
from fabric8-maven-plugin.
Ah, I see. I checked out the JKube some time ago, upon discovering that it is the successor of FMP, however I shied away from it since it is still in alpha.
I guess I have to give it a try now that FMP is unsupported.
Since I want to try the S2I capability, is there any workaround for my current setup or should I just change to JKube altogether?
from fabric8-maven-plugin.
Since I want to try the S2I capability, is there any workaround for my current setup or should I just change to JKube altogether?
It should work OOTB for you. Just be sure to use openshift-maven-plugin:
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>openshift-maven-plugin</artifactId>
<version>1.0.0-alpha-4</version>
</plugin>
It will create an S2I build in your OpenShift cluster, and hopefully 🤞 you won't get any assembly related problems.
from fabric8-maven-plugin.
HI @manusa , I have tried to use JKube with the version that you provided, however I still have the same error.
I'm not sure whether to continue the issue here or should I open another one in JKube page instead?
from fabric8-maven-plugin.
:( Please if you can open the issue on JKube and provide some way to reproduce.
from fabric8-maven-plugin.
OK, just saw your attached project
Image is not S2I compatible. Try to replace your base image with ours quay.io/jkube/jkube-java-binary-s2i:0.0.7
. (${docker-from}
)
from fabric8-maven-plugin.
OK, just saw your attached project
Image is not S2I compatible. Try to replace your base image with oursquay.io/jkube/jkube-java-binary-s2i:0.0.7
. (${docker-from}
)
Hi @manusa your suggestion worked!
Granted, I was not aware that the base image was not compatible, since I was just tried the DMP in order to deploy to OpenShift.
I retried my build using the FMP 4.4.1 just like my initial configuration.
The s2i build was succeeded for the first deployment. Alas, for the subsequent deployments, it still throws error while trying to build as attached:
Perhaps it was time to move on to JKube.....
from fabric8-maven-plugin.
Perhaps it was time to move on to JKube.....
Time to move on ;)
I'm sorry, I was unclear, the base image I proposed is specifically designed for JKube and its provided generators.
from fabric8-maven-plugin.
Related Issues (20)
- Update samples/quarkus HOT 2
- Warning messages in Jenkins logs from java.util.concurrent.RejectedExecutionException HOT 5
- Missing documentation for Ingress Enricher HOT 1
- Simple Dockerfile mode: provided Dockerfile is always skipped HOT 1
- Execution default of goal io.fabric8:fabric8-maven-plugin:3.5.42:resource failed: Container null has no Docker image configured. HOT 4
- Add generator and enricher for WildFly bootable JAR HOT 3
- ISTIO artifact Enrichment HOT 4
- Deployment to OpenShift 4.6 not working using login parameters instead of oc login HOT 7
- config annotations for configmap
- -D options don't work in IntelliJ Ultimate 2021.2.2 anymore HOT 5
- How to solve this problem:push failed: Service hub created without a docker access to a docker daemon HOT 1
- Liveness and readiness TCP ports are not serialized as numbers when defined as numbers HOT 3
- Multiple assemblies use the name "maven". Please assign each assembly a unique name. - using only single assembly HOT 2
- Multi-Architecture Build query HOT 8
- mac m1 install fabric8-maven-plugin error HOT 7
- Fallback to default docker driver to speed-up build time in buildx mode HOT 1
- build error [125] on mac M2 HOT 5
- multi-arch image with different native architecture giving issues HOT 1
- podPodResource.watchLog().getOutput(); error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric8-maven-plugin.