aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2017-10-04 15:52:53 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2017-10-04 15:52:53 +0200
commit765a20b3d701be6b6ed3dc57ecb2827344c68e50 (patch)
treec5ded7e5e250354e8696e34a78e4be337cd2bbff
parent67fca73b228779352f10724c3b874d8aa4e06ed4 (diff)
Fix Docker push in integration test
Remove the push to registry when with-integration-tests profile is enabled (tby default) Change-Id: Iee9928577ae9189f846b6d4370aa5464de9ab765 Issue-ID: SO-188 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
-rw-r--r--packages/pom.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/pom.xml b/packages/pom.xml
index e632f82d62..40a9b6efb6 100644
--- a/packages/pom.xml
+++ b/packages/pom.xml
@@ -26,12 +26,17 @@
</modules>
</profile>
+ <!-- Those profile are exclusive, choose docker or with-integration-tests -->
<profile>
<id>docker</id>
<modules>
<module>deliveries</module>
<module>docker</module>
</modules>
+ <properties>
+ <!-- For this profile we probably don't want to skip the docker push (if deploy goal is specified) -->
+ <docker.skip.push>false</docker.skip.push>
+ </properties>
</profile>
<profile>
@@ -41,6 +46,10 @@
<module>docker</module>
<module>arquillian-unit-tests</module>
</modules>
+ <properties>
+ <!-- For this profile we want to skip the docker push (if deploy goal is specified) -->
+ <docker.skip.push>true</docker.skip.push>
+ </properties>
</profile>
</profiles>