]> source.dussan.org Git - sonarqube.git/commitdiff
full drop usage of cirrus cache
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Mon, 7 Oct 2019 09:49:29 +0000 (11:49 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 7 Oct 2019 18:21:06 +0000 (20:21 +0200)
.cirrus.yml

index 88a4e9e6c8b1c698175de7c0627327a564e2e9d7..5230ff8b5f8b563ba7174a7fb28fd3c1e9d436c8 100644 (file)
@@ -42,8 +42,6 @@ build_task:
     namespace: default
     cpu: 1.7
     memory: 5Gb
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   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
@@ -51,8 +49,6 @@ build_task:
     CIRRUS_CLONE_DEPTH: 50
   script:
     - ./private/cirrus/cirrus-build.sh
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"
@@ -99,12 +95,8 @@ validate_task:
         env:
           POSTGRES_USER: postgres
           POSTGRES_PASSWORD: postgres
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   script:
     - ./private/cirrus/cirrus-validate.sh postgres106
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"
@@ -151,12 +143,8 @@ qa_task:
       QA_CATEGORY: Branch
       QA_CATEGORY: Upgrade
       QA_CATEGORY: HA
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   script:
     - ./private/cirrus/cirrus-qa.sh postgres106
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"
@@ -308,12 +296,8 @@ sql_mssql2017_task:
           MSSQL_PID: Developer # this is the default edition
           ACCEPT_EULA: Y
           SA_PASSWORD: sonarqube!1
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   script:
     - ./private/cirrus/cirrus-db-unit-test.sh mssql2017
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"
@@ -345,12 +329,8 @@ sql_postgres93_task:
         env:
           POSTGRES_USER: postgres
           POSTGRES_PASSWORD: postgres
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   script:
     - ./private/cirrus/cirrus-db-unit-test.sh postgres93
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"
@@ -380,12 +360,8 @@ sql_oracle12_task:
         memory: 5Gb
         env:
           ORACLE_PWD: sonarqube
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   script:
     - ./private/cirrus/cirrus-db-unit-test.sh oracle12
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"
@@ -424,12 +400,8 @@ upgd_mssql2017_task:
     CIRRUS_CLONE_DEPTH: 50
     matrix:
       QA_CATEGORY: Upgrade
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   script:
     - ./private/cirrus/cirrus-qa.sh mssql2017
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"
@@ -467,12 +439,8 @@ upgd_oracle12_task:
     CIRRUS_CLONE_DEPTH: 50
     matrix:
       QA_CATEGORY: Upgrade
-#  gradle_cache:
-#    folder: ~/.gradle/caches
   script:
     - ./private/cirrus/cirrus-qa.sh oracle12
-#  cleanup_before_cache_script:
-#    - ./private/cirrus/cleanup-gradle-cache.sh
   on_failure:
     reports_artifacts:
       path: "**/build/reports/**/*"