jboss-fuse / application-templates

Application Templates for Fuse Integration Services
Apache License 2.0
36 stars 67 forks source link

Include example for Fuse Java image builder #59

Open apupier opened 5 years ago

apupier commented 5 years ago

it will help users to get started with generic Fuse Java builder image

Need to determine which booster to use.

apupier commented 5 years ago

I think the easier to use the springboot camel example https://github.com/fabric8-quickstarts/spring-boot-camel it is the simplest which is also provided as a quickstart directly in the catalog https://github.com/jboss-fuse/application-templates/blob/9b1e6f85e1674c7c278e6032b3ba7984f9b1f98a/quickstarts/spring-boot-camel-template.json#L30

apupier commented 5 years ago

it is no more working. i have reinstalled minishift between both attempts. i now have:

Cloning "https://github.com/fabric8-quickstarts/spring-boot-camel " ...
--
  | Commit: 1abbdf68013f69d55e8a6d06d5d310dabe95f81c (Merge pull request #158 from apupier/patch-5)
  | Author: FuseSource CI <fuse-infra@redhat.com>
  | Date:   Thu Aug 16 13:08:55 2018 +0200
  | pulling image error : unable to retrieve auth token: 401 unauthorized
  | error: build error: unable to get registry.redhat.io/fuse7/fuse-java-openshift@sha256:ba0bb0b1b9bed00d24bd73b59b6a3f7a46714ba1c0e1b900572dc580eedde68c

wonderign if it was that previously i already fetch the mentioned the image when deploying via odo

apupier commented 5 years ago

seems probable. Minishift should have it handled by default since version 1.29.0 https://github.com/minishift/minishift/issues/3050 I am on minishift v1.27.0+5981f99 CDK v3.7.0-1 will try to update

apupier commented 5 years ago

latest CDK released version is still on 1.27 minishift v1.27.0+cbc3048 CDK v3.7.0-2

apupier commented 5 years ago

tried with minishift v1.31.0+d06603e CDK v3.8.0-2

it is still not working by default but it is a different error:

Cloning "https://github.com/fabric8-quickstarts/spring-boot-camel " ...
--
  | Commit: 1abbdf68013f69d55e8a6d06d5d310dabe95f81c (Merge pull request #158 from apupier/patch-5)
  | Author: FuseSource CI <fuse-infra@redhat.com>
  | Date:   Thu Aug 16 13:08:55 2018 +0200
  | pulling image error : unknown blob
  | error: build error: unable to get 172.30.1.1:5000/openshift/fuse7-java-openshift@sha256:d39ef686d2eb56c19942072ac2dff6d7bfacbd5cb9c54ba3501c48ff5d4512f6