Skip to content

Commit

Permalink
build(maven): skip podman execs when skipITs is true (#681) (#682)
Browse files Browse the repository at this point in the history
(cherry picked from commit 921c830)

Co-authored-by: Elliott Baron <ebaron@redhat.com>
  • Loading branch information
mergify[bot] and ebaron authored Sep 9, 2021
1 parent bc654bd commit 5f44edb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@
<argument>--publish</argument>
<argument>${cryostat.itest.grafana.port}:${cryostat.itest.grafana.port}</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -326,6 +327,7 @@
<argument>--rm</argument>
<argument>${cryostat.itest.jfr-datasource.imageStream}:${cryostat.itest.jfr-datasource.version}</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -348,6 +350,7 @@
<argument>--rm</argument>
<argument>${cryostat.itest.grafana.imageStream}:${cryostat.itest.grafana.version}</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand Down Expand Up @@ -402,6 +405,7 @@
<argument>--rm</argument>
<argument>${cryostat.imageStream}:${cryostat.imageVersion}</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -418,6 +422,7 @@
<argument>-c</argument>
<argument>until curl -sSk http://${cryostat.itest.webHost}:${cryostat.itest.webPort}/health; do sleep 10; done</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -433,6 +438,7 @@
<argument>cryostat-itest</argument>
</arguments>
<outputFile>${project.build.directory}/cryostat-itest-${maven.build.timestamp}.log</outputFile>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -447,6 +453,7 @@
<argument>kill</argument>
<argument>jfr-datasource-itest</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -461,6 +468,7 @@
<argument>kill</argument>
<argument>grafana-itest</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -475,6 +483,7 @@
<argument>kill</argument>
<argument>cryostat-itest</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
<execution>
Expand All @@ -491,6 +500,7 @@
<argument>--force</argument>
<argument>${cryostat.itest.podName}</argument>
</arguments>
<skip>${skipITs}</skip>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 5f44edb

Please sign in to comment.