You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/05/16 15:24:46 UTC

[camel] branch main updated: (chores) camel-couchdb: disable tests on non-x86/arm architectures

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 46581dda1c5 (chores) camel-couchdb: disable tests on non-x86/arm architectures
46581dda1c5 is described below

commit 46581dda1c52299c291bc95a2d7a33a4eac32b07
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue May 16 17:24:27 2023 +0200

    (chores) camel-couchdb: disable tests on non-x86/arm architectures
---
 components/camel-couchdb/pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/components/camel-couchdb/pom.xml b/components/camel-couchdb/pom.xml
index 8f142dd78e2..1ba52615aff 100644
--- a/components/camel-couchdb/pom.xml
+++ b/components/camel-couchdb/pom.xml
@@ -32,6 +32,7 @@
     <description>Camel CouchDB component</description>
 
     <properties>
+        <skipITs>true</skipITs>
     </properties>
 
     <dependencies>
@@ -76,4 +77,30 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <profiles>
+        <profile>
+            <!-- Localstack container is only available for x86 64 and ARM 64 -->
+            <id>x86</id>
+            <activation>
+                <os>
+                    <arch>amd64</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipITs>false</skipITs>
+            </properties>
+        </profile>
+        <profile>
+            <id>Arm</id>
+            <activation>
+                <os>
+                    <arch>aarch64</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipITs>false</skipITs>
+            </properties>
+        </profile>
+    </profiles>
 </project>