Code Monkey home page Code Monkey logo

Comments (9)

cipley avatar cipley commented on September 27, 2024 3

@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.

manusa avatar manusa commented on September 27, 2024

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.

cipley avatar cipley commented on September 27, 2024

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.

manusa avatar manusa commented on September 27, 2024

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.

cipley avatar cipley commented on September 27, 2024

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.

manusa avatar manusa commented on September 27, 2024

:( Please if you can open the issue on JKube and provide some way to reproduce.

from fabric8-maven-plugin.

manusa avatar manusa commented on September 27, 2024

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.

cipley avatar cipley commented on September 27, 2024

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})

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:

image

Perhaps it was time to move on to JKube.....

from fabric8-maven-plugin.

manusa avatar manusa commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.