diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-03-20 16:42:45 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-03-22 12:37:49 +0100 |
commit | 340b26f8db2c75cdf32454b8ef27e6f6bd4bb641 (patch) | |
tree | 214096a326ce848992e96399d6fec0529d7a9c90 /cix.sh | |
parent | 6e10e188b203737e1294ac6c59907607efb61bc0 (diff) | |
download | sonarqube-340b26f8db2c75cdf32454b8ef27e6f6bd4bb641.tar.gz sonarqube-340b26f8db2c75cdf32454b8ef27e6f6bd4bb641.zip |
Drop unused files .cix.yml and cix.sh
Diffstat (limited to 'cix.sh')
-rwxr-xr-x | cix.sh | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/cix.sh b/cix.sh deleted file mode 100755 index 3954a87b023..00000000000 --- a/cix.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash -# QA pipeline - -set -euo pipefail - -REPOX_ARGS="-Dorchestrator.artifactory.apiKey=$REPOX_API_KEY -Dorchestrator.artifactory.repositories=sonarsource-qa" -TEST_ARGS="-Pcix=true -DbuildNumber=$CI_BUILD_NUMBER $REPOX_ARGS" - -case "$RUN_ACTIVITY" in - - run-db-unit-tests-*) - DB_ENGINE=$(sed "s/run-db-unit-tests-//g" <<< $RUN_ACTIVITY) - ./run-db-unit-tests.sh "http://infra.internal.sonarsource.com/jenkins/orch-${DB_ENGINE}.properties" \ - ${TEST_ARGS} - ;; - - run-db-integration-tests-*) - DB_ENGINE=$(sed "s/run-db-integration-tests-//g" <<< $RUN_ACTIVITY | cut -d \- -f 1) - CATEGORY=$(sed "s/run-db-integration-tests-//g" <<< $RUN_ACTIVITY | cut -d \- -f 2) - - if [[ "$GITHUB_BRANCH" != "PULLREQUEST-"* ]] && [[ "$GITHUB_BRANCH" != "master" ]] && [[ "$GITHUB_BRANCH" != "branch-"* ]] && [[ "$GITHUB_BRANCH" != "dogfood-on-next" ]]; then - # do not execute QA tests on feature branch outside pull request - exit 0 - - elif [[ "$GITHUB_BRANCH" == "PULLREQUEST-"* ]] && [[ "$DB_ENGINE" != "postgresql93" ]]; then - # restrict QA tests to PostgreSQL on pull requests - exit 0 - - elif [[ "$GITHUB_BRANCH" == "dogfood-on-next" ]] && [[ "$DB_ENGINE" != "postgresql93" ]]; then - # restrict QA tests to PostgreSQL on dogfood branch - exit 0 - - else - ./gradlew --no-daemon --console plain \ - :tests:integrationTest \ - -Dcategory="$CATEGORY" \ - -Dorchestrator.configUrl="http://infra.internal.sonarsource.com/jenkins/orch-$DB_ENGINE.properties" \ - ${TEST_ARGS} - fi - ;; - - run-it-released-plugins) - ./run-integration-tests.sh "Plugins" "http://infra.internal.sonarsource.com/jenkins/orch-h2.properties" \ - ${TEST_ARGS} - ;; - - run-perf-tests) - ./run-perf-tests.sh \ - ${TEST_ARGS} - ;; - - run-upgrade-tests-*) - DB_ENGINE=$(sed "s/run-upgrade-tests-//g" <<< $RUN_ACTIVITY) - ./run-upgrade-tests.sh "http://infra.internal.sonarsource.com/jenkins/orch-${DB_ENGINE}.properties" \ - ${TEST_ARGS} - ;; - - *) - echo "unknown RUN_ACTIVITY = $RUN_ACTIVITY" - exit 1 - ;; - -esac |