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/15 15:18:29 UTC

[camel] 16/17: (chores) camel-hashicorp-vault: cleanup disabling tests on platforms where it's not available

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

commit 7bb332d97e31c7b85b9984d2cfac912aa355d44f
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon May 15 15:10:45 2023 +0200

    (chores) camel-hashicorp-vault: cleanup disabling tests on platforms where it's not available
---
 components/camel-hashicorp-vault/pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/components/camel-hashicorp-vault/pom.xml b/components/camel-hashicorp-vault/pom.xml
index 81dd0eee851..9fd72ba7a0c 100644
--- a/components/camel-hashicorp-vault/pom.xml
+++ b/components/camel-hashicorp-vault/pom.xml
@@ -86,4 +86,30 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <profiles>
+        <profile>
+            <!-- Hashicorp container is only available for x86 64 and ARM-->
+            <id>Notx86</id>
+            <activation>
+                <os>
+                    <arch>!amd64</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipITs>true</skipITs>
+            </properties>
+        </profile>
+        <profile>
+            <id>NotARM</id>
+            <activation>
+                <os>
+                    <arch>!aarch64</arch>
+                </os>
+            </activation>
+            <properties>
+                <skipITs>true</skipITs>
+            </properties>
+        </profile>
+    </profiles>
 </project>