aboutsummaryrefslogtreecommitdiffstats
path: root/run-upgrade-tests.sh
blob: 517f52960f43ab188dddd47f7761180c3a0da4a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Run upgrade tests. SonarQube must be already built in order to
# make the ZIP file available for tests.

# Arguments:
# 1. the path to Orchestrator properties file. If empty, then default values are used. Example: "file:///Users/me/orchestrator.properties"
#
# Example:
# ./run-upgrade-tests.sh "Category1" "file:///Users/me/orchestrator-mysql56.properties"

set -euo pipefail

ORCHESTRATOR_CONFIG_URL=$1
shift 1

cd tests/upgrade
mvn verify \
  -Pwith-db-drivers \
  -Dorchestrator.configUrl=$ORCHESTRATOR_CONFIG_URL \
  -B -e -V $*