aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-03-29 09:59:51 +0100
committerSonarTech <sonartech@sonarsource.com>2019-03-29 20:21:43 +0100
commitd656879c8da4615445ea827f0c120148c38c2c20 (patch)
tree6ae46d8f1d8be7e7eec210fe923edfba2151892d /.cirrus.yml
parentac9d6846fb7bfe46305da85f6dcaff4ed8521a1e (diff)
downloadsonarqube-d656879c8da4615445ea827f0c120148c38c2c20.tar.gz
sonarqube-d656879c8da4615445ea827f0c120148c38c2c20.zip
Improve readability of env sections of .cirrus.yml
[skip ci]
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml32
1 files changed, 16 insertions, 16 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index c2cee3987a8..df3ed854c2f 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -129,6 +129,10 @@ qa_task:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
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: Cat1
QA_CATEGORY: Cat2
@@ -142,10 +146,6 @@ qa_task:
QA_CATEGORY: License
QA_CATEGORY: Branch
QA_CATEGORY: Upgrade
- # 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
gradle_cache:
folder: ~/.gradle/caches
script:
@@ -368,12 +368,12 @@ test_upgrade_mysql57_task:
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
- # 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
gradle_cache:
folder: ~/.gradle/caches
script:
@@ -410,12 +410,12 @@ test_upgrade_mssql2017_task:
ACCEPT_EULA: Y
SA_PASSWORD: sonarqube!1
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
- # 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
gradle_cache:
folder: ~/.gradle/caches
script:
@@ -450,12 +450,12 @@ test_upgrade_oracle12_task:
env:
ORACLE_PWD: sonarqube
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
- # 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
gradle_cache:
folder: ~/.gradle/caches
script: