Commit 4acf44c5 authored by Nicholas Karsky's avatar Nicholas Karsky Committed by Daniel Scholl
Browse files

Azure Python Test Changes

parent 4ced7c96
......@@ -105,6 +105,14 @@
TIME_ZONE: "UTC+0"
#WKS
OS_WKS_SCHEMA_KIND: opendes:wks:wellbore:1.0.0
#Unit
client_id: $AZURE_PRINCIPAL_ID
VIRTUAL_SERVICE_HOST_NAME: $AZURE_DNS_NAME
#Crs_Catalog
AZURE_DEPLOY_TENANT: $AZURE_TENANT_ID
AZURE_DEPLOY_CLIENT_ID: $AZURE_PRINCIPAL_ID
AZURE_DEPLOY_CLIENT_SECRET: $AZURE_PRINCIPAL_SECRET
# JOBS
......@@ -181,6 +189,7 @@ azure_deploy:
- $AZURE == 'true'
azure_test:
image: $CI_REGISTRY/danielscholl/azure-maven/azure-maven:v1.0
stage: integration
needs: ["azure_deploy"]
extends:
......@@ -188,10 +197,16 @@ azure_test:
- .azure_variables
script:
- |
if [ "$AZURE_SERVICE" == "file" ] || [ "$AZURE_SERVICE" == "delivery" ] || [ "$AZURE_SERVICE" == "ingestion-workflow" ]; then
$MAVEN clean verify -f $AZURE_TEST_SUBDIR/pom.xml # This Variable comes from the individual pipeline
if [ "$AZURE_TEST_TYPE" == "python" ]; then
cd $AZURE_TEST_SUBDIR
chmod +x ./run-integration-tests.sh
./run-integration-tests.sh
else
mvn clean verify -f $AZURE_TEST_SUBDIR/pom.xml
if [ "$AZURE_SERVICE" == "file" ] || [ "$AZURE_SERVICE" == "delivery" ] || [ "$AZURE_SERVICE" == "ingestion-workflow" ]; then
$MAVEN clean verify -f $AZURE_TEST_SUBDIR/pom.xml # This Variable comes from the individual pipeline
else
mvn clean verify -f $AZURE_TEST_SUBDIR/pom.xml
fi
fi
only:
variables:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment