From 340b26f8db2c75cdf32454b8ef27e6f6bd4bb641 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 20 Mar 2018 16:42:45 +0100 Subject: [PATCH] Drop unused files .cix.yml and cix.sh --- .cix.yml | 189 ------------------------------------------------------- cix.sh | 63 ------------------- 2 files changed, 252 deletions(-) delete mode 100644 .cix.yml delete mode 100755 cix.sh diff --git a/.cix.yml b/.cix.yml deleted file mode 100644 index 768bcbd87b9..00000000000 --- a/.cix.yml +++ /dev/null @@ -1,189 +0,0 @@ -# QA pipeline at SonarSource -# Based on https://wiki.jenkins-ci.org/display/JENKINS/Yaml+Axis+Plugin - -RUN_ACTIVITY: - - run-db-unit-tests-mysql56 - - run-db-unit-tests-mssql2014 - - run-db-unit-tests-mssql2016 - # temporarily disabled because of FP. Oracle DB is too far away from server - #- run-db-unit-tests-oracle11g - #- run-db-unit-tests-oracle12c - - run-db-unit-tests-postgresql93 - - run-db-integration-tests-mysql56-Category1 - - run-db-integration-tests-mysql56-Category2 - - run-db-integration-tests-mysql56-Category3 - - run-db-integration-tests-mysql56-Category4 - - run-db-integration-tests-mysql56-Category5 - - run-db-integration-tests-mysql56-Category6 - - run-db-integration-tests-mssql2014-Category1 - - run-db-integration-tests-mssql2014-Category2 - - run-db-integration-tests-mssql2014-Category3 - - run-db-integration-tests-mssql2014-Category4 - - run-db-integration-tests-mssql2014-Category5 - - run-db-integration-tests-mssql2014-Category6 - # temporarily disabled because of FP. Oracle DB is too far away from server - #- run-db-integration-tests-oracle12c-Category1 - #- run-db-integration-tests-oracle12c-Category2 - #- run-db-integration-tests-oracle12c-Category3 - #- run-db-integration-tests-oracle12c-Category4 - #- run-db-integration-tests-oracle12c-Category5 - #- run-db-integration-tests-oracle12c-Category6 - - run-db-integration-tests-postgresql93-Category1 - - run-db-integration-tests-postgresql93-Category2 - - run-db-integration-tests-postgresql93-Category3 - - run-db-integration-tests-postgresql93-Category4 - - run-db-integration-tests-postgresql93-Category5 - - run-db-integration-tests-postgresql93-Category6 - - run-upgrade-tests-mysql56 - - run-upgrade-tests-mssql2014 - # temporarily disabled because of FP. Oracle DB is too far away from server - #- run-upgrade-tests-oracle12c - - run-upgrade-tests-postgresql93 - - run-it-released-plugins - - run-perf-tests - -exclude: - - RUN_ACTIVITY: run-db-unit-tests-mysql56 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-unit-tests-mssql2014 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-unit-tests-mssql2016 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-unit-tests-oracle11g - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-unit-tests-oracle12c - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-unit-tests-postgresql93 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category1 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category2 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category3 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category4 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category5 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category6 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category1 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category2 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category3 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category4 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category5 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category6 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category1 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category2 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category3 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category4 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category5 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category6 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category1 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category2 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category3 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category4 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category5 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category6 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-upgrade-tests-mysql56 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-upgrade-tests-mssql2014 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-upgrade-tests-oracle12c - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-upgrade-tests-postgresql93 - SLAVE_TYPE: performance - - RUN_ACTIVITY: run-it-released-plugins - SLAVE_TYPE: performance - - - RUN_ACTIVITY: run-perf-tests - SLAVE_TYPE: dblinux - - - RUN_ACTIVITY: run-db-unit-tests-mysql56 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-unit-tests-mssql2014 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-unit-tests-mssql2016 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-unit-tests-oracle11g - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-unit-tests-oracle12c - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-unit-tests-postgresql93 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category1 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category2 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category3 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category4 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category5 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mysql56-Category6 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category1 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category2 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category3 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category4 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category5 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-mssql2014-Category6 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category1 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category2 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category3 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category4 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category5 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-oracle12c-Category6 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category1 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category2 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category3 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category4 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category5 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-db-integration-tests-postgresql93-Category6 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-upgrade-tests-mysql56 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-upgrade-tests-mssql2014 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-upgrade-tests-oracle12c - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-upgrade-tests-postgresql93 - SLAVE_TYPE: windows - - RUN_ACTIVITY: run-perf-tests - SLAVE_TYPE: windows 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 -- 2.39.5