aboutsummaryrefslogtreecommitdiffstats
path: root/integration-tests/pom.xml
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2021-05-21 14:50:40 +0200
committerMichael Morris <michael.morris@est.tech>2021-06-02 18:34:00 +0000
commitfcebea12e92e470154d52e07950f2187f72a88fc (patch)
tree6bcbac4839acbe967efe28a97686ae661c228df1 /integration-tests/pom.xml
parent77a93f0ab60737fbee4fa4b007d5b6b842a1b5e0 (diff)
Add maven profiles and testsuite for helm validator
Issue-ID: SDC-3185 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ic6706c64b887fb589d3638fee5de51bf15f59e23
Diffstat (limited to 'integration-tests/pom.xml')
-rw-r--r--integration-tests/pom.xml58
1 files changed, 58 insertions, 0 deletions
diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml
index b79547e876..e6e1bba311 100644
--- a/integration-tests/pom.xml
+++ b/integration-tests/pom.xml
@@ -51,6 +51,8 @@ limitations under the License.
<it.shared.volume>/tmp/sdc-integration-tests</it.shared.volume>
<it.docker.version>latest</it.docker.version>
<it.ui.firefox.version>86.0</it.ui.firefox.version>
+ <it.helm-validator.disabled>true</it.helm-validator.disabled>
+ <it.helm-validator.version>1.2.0</it.helm-validator.version>
<!-- parser-->
<sdc-tosca-parser.version>1.6.5</sdc-tosca-parser.version>
@@ -805,6 +807,32 @@ limitations under the License.
</volumes>
</run>
</image>
+ <image>
+ <name>onap/org.onap.sdc.sdc-helm-validator:${it.helm-validator.version}</name>
+ <alias>helm-validator</alias>
+ <run>
+ <skip>${it.helm-validator.disabled}</skip>
+ <hostname>helm-validator</hostname>
+ <wait>
+ <time>20000</time>
+ <tcp>
+ <host>helm-validator</host>
+ <mode>direct</mode>
+ <ports>
+ <port>8080</port>
+ </ports>
+ </tcp>
+ </wait>
+ <ports>
+ <port>8085:8080</port>
+ </ports>
+ <network>
+ <mode>custom</mode>
+ <name>sdc-network</name>
+ <alias>helm-validator</alias>
+ </network>
+ </run>
+ </image>
</images>
</configuration>
<executions>
@@ -882,5 +910,35 @@ limitations under the License.
<skipTest>false</skipTest>
</properties>
</profile>
+ <profile>
+ <id>integration-tests-with-helm-validator</id>
+ <properties>
+ <it.helm-validator.disabled>false</it.helm-validator.disabled>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <configuration>
+ <forkCount>1</forkCount>
+ <reuseForks>true</reuseForks>
+ <systemProperties>
+ <property>
+ <name>testng.dtd.http</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ <suiteXmlFiles>
+ <file>src/test/resources/ci/testSuites/backend/onapApiSanity.xml</file>
+ <file>src/test/resources/ci/testSuites/frontend/onapUiSanity.xml</file>
+ <file>src/test/resources/ci/testSuites/backend/helmValidatorTests.xml</file>
+ <file>src/test/resources/ci/testSuites/frontend/helmValidatorTests.xml</file>
+ </suiteXmlFiles>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>