[
https://issues.apache.org/jira/browse/CAMEL-19208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705343#comment-17705343
]
Otavio Rodolfo Piske commented on CAMEL-19208:
----------------------------------------------
You can do this in one of the two ways:
# By setting the zookeeper.container property on the build command line:
`{{{}mvn -Dzookeeper.container=name test{}}}`
# Or by configuring the same property on the Maven Surefire or Maven Failsafe
plugin on the pom.xml file of the component you want to support on PPC 64.
Similar to the following:
{code:java}
<profiles>
<profile>
<id>ppc64le</id>
<activation>
<os>
<arch>PUT HERE WHATEVER IS RETURNED BY
System.getProperty("os.arch") on PPC 64 LE</arch>
</os>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skipITs>${skipTests}</skipITs>
<reuseForks>true</reuseForks>
<systemPropertyVariables>
<zookeeper.container>icr.io/ppc64le-oss/zookeeper-ppc64le:v3.8.0-bv</zookeeper.container>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
{code}
The second option is better for a permanent solution / CI / etc. The first one
is for adhoc testing.
Obs.: Please make sure to also to try on both x86 to make sure it doesn't break.
> Adding power support for zookeeper image
> ----------------------------------------
>
> Key: CAMEL-19208
> URL: https://issues.apache.org/jira/browse/CAMEL-19208
> Project: Camel
> Issue Type: Test
> Components: camel-zookeeper
> Affects Versions: 4.0-M1
> Reporter: Balavva Mirji
> Priority: Major
>
> Camel-zookeeper component has a dependency on image zookeeper:3.5, which is
> not supported on ppc64le architecture.
> To execute test suites for camel-zookeeper component on power arch, we want
> to add a zookeeper image which has power support.
> Link for the same:
> https://github.com/apache/camel/blob/main/test-infra/camel-test-infra-zookeeper/src/test/java/org/apache/camel/test/infra/zookeeper/services/ZooKeeperContainer.java#L26
--
This message was sent by Atlassian Jira
(v8.20.10#820010)