]> source.dussan.org Git - sonarqube.git/commitdiff
Drop MySQL tests from Cirrus
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 2 Jul 2019 19:00:46 +0000 (21:00 +0200)
committerSonarTech <sonartech@sonarsource.com>
Thu, 17 Oct 2019 13:24:46 +0000 (15:24 +0200)
.cirrus.yml

index 5d79243dee74f92331de8be65580a89401bfc30b..d4941a0c6862af33c3b32cc0e8d874cc21618e00 100644 (file)
@@ -190,43 +190,6 @@ promote_task:
   script:
     - ./private/cirrus/cirrus-promote.sh
 
-test_sql_mysql57_task:
-  depends_on: build
-  # Comment the following line and commit with message "DO NOT MERGE" in order to run
-  # this task on your branch
-  only_if: $CIRRUS_TAG == "nightly-build"
-  gke_container:
-    image: gradle:5.4.1-jdk11
-    cluster_name: cirrus-euw3a-cluster
-    zone: europe-west3-a
-    namespace: default
-    cpu: 1
-    memory: 10Gb
-    additional_containers:
-      - name: mysql
-        image: mysql:5.7 # see https://github.com/mysql/mysql-docker
-        port: 3306
-        cpu: 1
-        memory: 1Gb
-        env:
-          MYSQL_ROOT_PASSWORD: sonarsource
-          MYSQL_DATABASE: sonar
-          MYSQL_USER: sonar
-          MYSQL_PASSWORD: sonar
-  gradle_cache:
-    folder: ~/.gradle/caches
-  script:
-    - ./private/cirrus/cirrus-db-unit-test.sh mysql57
-  cleanup_before_cache_script:
-    - ./private/cirrus/cleanup-gradle-cache.sh
-  on_failure:
-    reports_artifacts:
-      path: "**/build/reports/**/*"
-    junit_artifacts:
-      path: "**/test-results/**/*.xml"
-      format: junit
-
-
 test_sql_mssql2017_task:
   depends_on: build
   # Comment the following line and commit with message "DO NOT MERGE" in order to run
@@ -331,53 +294,6 @@ test_sql_oracle12_task:
       path: "**/test-results/**/*.xml"
       format: junit
 
-
-test_upgrade_mysql57_task:
-  depends_on: build
-  # Comment the following line and commit with message "DO NOT MERGE" in order to run
-  # this task on your branch
-  only_if: $CIRRUS_TAG == "nightly-build"
-  gke_container:
-    dockerfile: private/docker/Dockerfile-build
-    builder_image_project: ci-cd-215716
-    builder_image_name: docker-builder-v1
-    cluster_name: cirrus-euw3a-cluster
-    zone: europe-west3-a
-    namespace: default
-    cpu: 1.5
-    memory: 6Gb
-    additional_containers:
-      - name: mysql
-        image: mysql:5.7 # see https://github.com/mysql/mysql-docker
-        port: 3306
-        cpu: 1
-        memory: 1Gb
-        env:
-          MYSQL_ROOT_PASSWORD: sonarsource
-          MYSQL_DATABASE: sonar
-          MYSQL_USER: sonar
-          MYSQL_PASSWORD: sonar
-  env:
-    # No need to clone the full history.
-    # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
-    # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
-    CIRRUS_CLONE_DEPTH: 50
-    matrix:
-      QA_CATEGORY: Upgrade
-  gradle_cache:
-    folder: ~/.gradle/caches
-  script:
-    - ./private/cirrus/cirrus-qa.sh mysql57
-  cleanup_before_cache_script:
-    - ./private/cirrus/cleanup-gradle-cache.sh
-  on_failure:
-    reports_artifacts:
-      path: "**/build/reports/**/*"
-    junit_artifacts:
-      path: "**/test-results/**/*.xml"
-      format: junit
-
-
 test_upgrade_mssql2017_task:
   depends_on: build
   # Comment the following line and commit with message "DO NOT MERGE" in order to run