Skip to content

Commit

Permalink
[ENTESB-15980] Fuse 7.9 Boosters not migrated to Eclipse JKube
Browse files Browse the repository at this point in the history
  • Loading branch information
rnetuka committed Mar 15, 2021
1 parent efc80b2 commit 840f8c4
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $ cd my_openshift/fuse-rest-http-booster
+
[source,bash,options="nowrap",subs="attributes+"]
----
$ mvn clean -DskipTests fabric8:deploy -Popenshift
$ mvn clean -DskipTests oc:deploy -Popenshift
----

. In your browser, navigate to the `MY_PROJECT_NAME` project in the OpenShift console.
Expand Down Expand Up @@ -109,7 +109,7 @@ $ oc import-image {image-name-version} --from={image-registry}{image-prefix}{ima
+
[source,bash,options="nowrap",subs="attributes+"]
----
$ mvn clean -DskipTests fabric8:deploy -Popenshift -Dfabric8.generator.fromMode=istag -Dfabric8.generator.from=MY_PROJECT_NAME/{image-name-version}
$ mvn clean -DskipTests oc:deploy -Popenshift -Djkube.generator.fromMode=istag -Djkube.generator.from=MY_PROJECT_NAME/{image-name-version}
----

. In your browser, navigate to the `MY_PROJECT_NAME` project in the OpenShift console.
Expand Down
35 changes: 34 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<fuse.bom.version>7.8.0.fuse-sb2-780038-redhat-00001</fuse.bom.version>
<docker.image.version>1.9</docker.image.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -210,20 +211,52 @@
<profiles>
<profile>
<id>openshift</id>
<properties>
<jkube.generator.from>registry.redhat.io/fuse7/fuse-java-openshift:${docker.image.version}</jkube.generator.from>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<artifactId>openshift-maven-plugin</artifactId>
<version>${fuse.bom.version}</version>
<executions>
<execution>
<goals>
<goal>resource</goal>
<goal>build</goal>
<goal>apply</goal>
</goals>
</execution>
</executions>
<configuration>
<resources>
<labels>
<pod>
<property>
<name>com.company</name>
<value>Red_Hat</value>
</property>
<property>
<name>rht.prod_name</name>
<value>Red_Hat_Integration</value>
</property>
<property>
<name>rht.prod_ver</name>
<value>7.9</value>
</property>
<property>
<name>rht.comp</name>
<value>${project.artifactId} </value>
</property>
<property>
<name>rht.comp_ver</name>
<value>${fuse.bom.version}</value>
</property>
</pod>
</labels>
</resources>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
File renamed without changes.

0 comments on commit 840f8c4

Please sign in to comment.