You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.cirrus.yml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. # content of service-account-credentials.json, used to access to Google Cloud Platform
  2. gcp_credentials: ENCRYPTED[534d4b89444f3e4e3ba299769a98010609e71992355c132fd6e448f1d8fcb039184224c8b4cdf7933b0aec16d6a8896d]
  3. env:
  4. GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-XX:+PrintFlagsFinal -XshowSettings:vm -XX:+HeapDumpOnOutOfMemoryError -XX:+UnlockExperimentalVMOptions -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8 -Duser.language=en -Duser.country=US"
  5. # to be replaced by other credentials
  6. ARTIFACTORY_PRIVATE_USERNAME: ENCRYPTED[c0baa3376daa1e08d602435081d07653799cf34ab09ca92e575f3dc4176bc6cf2ebf87120e83f3aa6804f072013e8e2b]
  7. ARTIFACTORY_PRIVATE_PASSWORD: ENCRYPTED[f13d32d218c3da8008114d2c8857b2956047fbdab2163bbf186b8b89f789f0efa7504f499749a59ad5988c14e5360353]
  8. ARTIFACTORY_DEPLOY_USERNAME: public-qa-deployer
  9. ARTIFACTORY_DEPLOY_PASSWORD: ENCRYPTED[9362d735843b21b375b6e19d91e0de5216e053e229e39e2ce33a0c866306e6e3f9b08db8a0e126ca5e986fea97e975fd]
  10. ARTIFACTORY_DEPLOY_USERNAME_PRIVATE: private-qa-deployer
  11. ARTIFACTORY_DEPLOY_PASSWORD_PRIVATE: ENCRYPTED[61769719e9b775afe103dbee22141eeaa0116b3332eafb993be2a5919ff7bf017cdc519afed07dc6cac8ebbc0846f191]
  12. ARTIFACTORY_API_KEY: ENCRYPTED[d52910db749f2678f43084b18c849486d68fbc02c2f5489c7ee1085c395de9dc7575313a8b348bb5361a693dd782e07e]
  13. # download licenses for testing commercial editions
  14. GITHUB_TOKEN: ENCRYPTED[bd3d5f7fe5901d9d9f2564caebb52af285262177294eae67ba5f1a3a1df1316449ce6e09c5e1b68eeff37e024e2d167a]
  15. # use a permanent GitHub access token to perform a clone (by default CirrusCI uses a temporary one)
  16. CIRRUS_REPO_CLONE_TOKEN: ENCRYPTED[f20fee6519296187a473964e60afb08a1bbdc889a624fad0297b41a21d8697f8d2da4d2d245194ade630dcf46b4b581e]
  17. # notifications to burgr
  18. BURGR_URL: ENCRYPTED[06b8fcc9aaa4b495043aa08bc4450b89588902ad9a60cc8525f53d14810aff84558812e4b7eb01131dd64f33916ac941]
  19. BURGR_USERNAME: ENCRYPTED[cf7bfb936025fb763013bbfef0ab5723c0d9b53f135d79af36f9defa933f4b5fc72842bd83a97ce9b614503c1b77e6da]
  20. BURGR_PASSWORD: ENCRYPTED[bc554fc6a06c9f14cc9924cefad0a69e962a905b6d1609fc9357d458b45fc52ac74c960ad9c7382a0691433fa9dcd483]
  21. # ops-jenkins credentials required to trigger docs deployment
  22. OPS_JENKINS_URL: ENCRYPTED[00ea2b88c762e374c02a3d29a306cc1cf3ceb4b3d807bda2a601486e0d483fd67a556ef295830231390f45e7d512b54d]
  23. OPS_JENKINS_USERNAME: ENCRYPTED[c778b1483a7ca000dc760ef731c2fbe1dc05a9af38f2a85206cfbcdf649e50715ca447ac291485d513aa9120b0c9abad]
  24. OPS_JENKINS_PASSWORD: ENCRYPTED[a035a2826c3bc971288284a59bd00dda193d8a81e7809e08bf4ec59b68894c16f30095a567e65755240bb7f919c2e0bf]
  25. # DOCS_JOB_TOKEN: token required to launch the deployment of documentation job on ops-jenkins (see private/cirrus/cirrus-trigger-deploy-docs.sh)
  26. DOCS_JOB_TOKEN: ENCRYPTED[7771f76a0fc0038f9929c32d98588963c8dcda6148ba054f57358bc17faa109ac638134c89067f3bacc8933d2fa2c541]
  27. # analysis on next.sonarqube.com
  28. SONARQUBE_NEXT_TOKEN: ENCRYPTED[e3d98fa0ecceb015e9803d47f78c3040f5a710d678a631107635d69f650d4e53ecaf2e2334cc1fe0c47037ec915dcda0]
  29. auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'branch.*'
  30. build_task:
  31. only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master"
  32. timeout_in: 90m
  33. gke_container:
  34. dockerfile: private/docker/Dockerfile-build
  35. builder_image_project: ci-cd-215716
  36. builder_image_name: docker-builder-v1
  37. cluster_name: cirrus-uscentral1a-cluster
  38. zone: us-central1-a
  39. namespace: default
  40. cpu: 1.7
  41. memory: 5Gb
  42. env:
  43. # No need to clone the full history.
  44. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  45. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  46. CIRRUS_CLONE_DEPTH: 50
  47. script:
  48. - ./private/cirrus/cirrus-build.sh
  49. on_failure:
  50. reports_artifacts:
  51. path: "**/build/reports/**/*"
  52. deploy_docs_task:
  53. depends_on: build
  54. only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
  55. gke_container:
  56. dockerfile: private/docker/Dockerfile-build
  57. builder_image_project: ci-cd-215716
  58. builder_image_name: docker-builder-v1
  59. cluster_name: cirrus-uscentral1a-cluster
  60. zone: us-central1-a
  61. namespace: default
  62. cpu: 1
  63. memory: 1Gb
  64. env:
  65. # No need to clone the full history.
  66. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  67. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  68. CIRRUS_CLONE_DEPTH: 50
  69. script:
  70. - ./private/cirrus/cirrus-trigger-deploy-docs.sh
  71. validate_task:
  72. depends_on: build
  73. only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "branch-nightly-build"
  74. timeout_in: 90m
  75. gke_container:
  76. dockerfile: private/docker/Dockerfile-build
  77. builder_image_project: ci-cd-215716
  78. builder_image_name: docker-builder-v1
  79. cluster_name: cirrus-uscentral1a-cluster
  80. zone: us-central1-a
  81. namespace: default
  82. cpu: 2.4
  83. memory: 10Gb
  84. additional_containers:
  85. - name: postgres
  86. image: postgres:12.1
  87. port: 5432
  88. cpu: 1
  89. memory: 1Gb
  90. env:
  91. POSTGRES_USER: postgres
  92. POSTGRES_PASSWORD: postgres
  93. script:
  94. - ./private/cirrus/cirrus-validate.sh postgres106
  95. on_failure:
  96. reports_artifacts:
  97. path: "**/build/reports/**/*"
  98. junit_artifacts:
  99. path: "**/test-results/**/*.xml"
  100. format: junit
  101. qa_task:
  102. depends_on: build
  103. only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "branch-nightly-build"
  104. gke_container:
  105. dockerfile: private/docker/Dockerfile-build
  106. builder_image_project: ci-cd-215716
  107. builder_image_name: docker-builder-v1
  108. cluster_name: cirrus-uscentral1a-cluster
  109. zone: us-central1-a
  110. namespace: default
  111. cpu: 2.4
  112. memory: 10Gb
  113. additional_containers:
  114. - name: postgres
  115. image: postgres:12.1
  116. port: 5432
  117. cpu: 1
  118. memory: 1Gb
  119. env:
  120. POSTGRES_USER: postgres
  121. POSTGRES_PASSWORD: postgres
  122. env:
  123. # No need to clone the full history.
  124. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  125. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  126. CIRRUS_CLONE_DEPTH: 50
  127. matrix:
  128. QA_CATEGORY: Cat1
  129. QA_CATEGORY: Cat2
  130. QA_CATEGORY: Cat3
  131. QA_CATEGORY: Cat4
  132. QA_CATEGORY: Cat5
  133. QA_CATEGORY: Cat6
  134. QA_CATEGORY: Cat7
  135. QA_CATEGORY: Authentication
  136. QA_CATEGORY: Gov
  137. QA_CATEGORY: License
  138. QA_CATEGORY: Branch
  139. QA_CATEGORY: Upgrade
  140. script:
  141. - ./private/cirrus/cirrus-qa.sh postgres106
  142. on_failure:
  143. reports_artifacts:
  144. path: "**/build/reports/**/*"
  145. screenshots_artifacts:
  146. path: "**/build/screenshots/**/*"
  147. junit_artifacts:
  148. path: "**/test-results/**/*.xml"
  149. format: junit
  150. qa_ha_task:
  151. depends_on: build
  152. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  153. # this task on your branch
  154. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  155. gke_container:
  156. dockerfile: private/docker/Dockerfile-build
  157. builder_image_project: ci-cd-215716
  158. builder_image_name: docker-builder-v1
  159. cluster_name: cirrus-uscentral1a-cluster
  160. zone: us-central1-a
  161. namespace: default
  162. cpu: 2.4
  163. memory: 10Gb
  164. additional_containers:
  165. - name: postgres
  166. image: postgres:12.1
  167. port: 5432
  168. cpu: 1
  169. memory: 1Gb
  170. env:
  171. POSTGRES_USER: postgres
  172. POSTGRES_PASSWORD: postgres
  173. env:
  174. # No need to clone the full history.
  175. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  176. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  177. CIRRUS_CLONE_DEPTH: 50
  178. QA_CATEGORY: HA
  179. gradle_cache:
  180. folder: ~/.gradle/caches
  181. script:
  182. - ./private/cirrus/cirrus-qa.sh postgres106
  183. cleanup_before_cache_script:
  184. - ./private/cirrus/cleanup-gradle-cache.sh
  185. on_failure:
  186. reports_artifacts:
  187. path: "**/build/reports/**/*"
  188. screenshots_artifacts:
  189. path: "**/build/screenshots/**/*"
  190. junit_artifacts:
  191. path: "**/test-results/**/*.xml"
  192. format: junit
  193. # SAML QA is executed in a dedicated task in order to not slow down the pipeline, as a Keycloak server docker image is required.
  194. qa_saml_task:
  195. depends_on: build
  196. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  197. # this task on your branch
  198. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  199. gke_container:
  200. dockerfile: private/docker/Dockerfile-build
  201. builder_image_project: ci-cd-215716
  202. builder_image_name: docker-builder-v1
  203. cluster_name: cirrus-uscentral1a-cluster
  204. zone: us-central1-a
  205. namespace: default
  206. cpu: 2.4
  207. memory: 10Gb
  208. additional_containers:
  209. - name: keycloak
  210. image: jboss/keycloak:7.0.0
  211. port: 8080
  212. cpu: 1
  213. memory: 1Gb
  214. env:
  215. KEYCLOAK_USER: admin
  216. KEYCLOAK_PASSWORD: admin
  217. env:
  218. # No need to clone the full history.
  219. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  220. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  221. CIRRUS_CLONE_DEPTH: 50
  222. QA_CATEGORY: SAML
  223. gradle_cache:
  224. folder: ~/.gradle/caches
  225. script:
  226. - ./private/cirrus/cirrus-qa.sh h2
  227. cleanup_before_cache_script:
  228. - ./private/cirrus/cleanup-gradle-cache.sh
  229. on_failure:
  230. reports_artifacts:
  231. path: "**/build/reports/**/*"
  232. screenshots_artifacts:
  233. path: "**/build/screenshots/**/*"
  234. junit_artifacts:
  235. path: "**/test-results/**/*.xml"
  236. format: junit
  237. # LDAP QA is executed in a dedicated task in order to not slow down the pipeline, as a LDAP server and SonarQube server are re-started on each test.
  238. qa_ldap_task:
  239. depends_on: build
  240. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  241. # this task on your branch
  242. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  243. gke_container:
  244. dockerfile: private/docker/Dockerfile-build
  245. builder_image_project: ci-cd-215716
  246. builder_image_name: docker-builder-v1
  247. cluster_name: cirrus-uscentral1a-cluster
  248. zone: us-central1-a
  249. namespace: default
  250. cpu: 2.4
  251. memory: 10Gb
  252. env:
  253. # No need to clone the full history.
  254. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  255. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  256. CIRRUS_CLONE_DEPTH: 50
  257. QA_CATEGORY: LDAP
  258. gradle_cache:
  259. folder: ~/.gradle/caches
  260. script:
  261. - ./private/cirrus/cirrus-qa.sh h2
  262. cleanup_before_cache_script:
  263. - ./private/cirrus/cleanup-gradle-cache.sh
  264. on_failure:
  265. reports_artifacts:
  266. path: "**/build/reports/**/*"
  267. screenshots_artifacts:
  268. path: "**/build/screenshots/**/*"
  269. junit_artifacts:
  270. path: "**/test-results/**/*.xml"
  271. format: junit
  272. promote_task:
  273. depends_on:
  274. - build
  275. - validate
  276. - qa
  277. - qa_saml
  278. - qa_ldap
  279. only_if: $CIRRUS_BRANCH !=~ "dogfood/.*" && $CIRRUS_BRANCH != "public_master" && $CIRRUS_BRANCH != "branch-nightly-build"
  280. gke_container:
  281. dockerfile: private/docker/Dockerfile-build
  282. builder_image_project: ci-cd-215716
  283. builder_image_name: docker-builder-v1
  284. cluster_name: cirrus-uscentral1a-cluster
  285. zone: us-central1-a
  286. namespace: default
  287. cpu: 1
  288. memory: 1Gb
  289. env:
  290. # No need to clone the full history.
  291. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  292. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  293. CIRRUS_CLONE_DEPTH: 50
  294. script:
  295. - ./private/cirrus/cirrus-promote.sh
  296. dogfood_docker_build_task:
  297. name: build docker
  298. only_if: $CIRRUS_BRANCH == 'dogfood-on-next'
  299. depends_on:
  300. - build
  301. - validate
  302. - promote
  303. env:
  304. CIRRUS_CLONE_DEPTH: 50
  305. gce_instance:
  306. image_project: ci-cd-215716
  307. image_name: docker-builder-v1
  308. zone: us-central1-a
  309. disk: 10
  310. cpu: 1
  311. memory: 1G
  312. preemptible: false
  313. build_script:
  314. - ./private/cirrus/cirrus-build-dogfood-docker.sh
  315. sql_mssql2017_task:
  316. depends_on: build
  317. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  318. # this task on your branch
  319. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  320. gke_container:
  321. dockerfile: private/docker/Dockerfile-build
  322. builder_image_project: ci-cd-215716
  323. builder_image_name: docker-builder-v1
  324. cluster_name: cirrus-uscentral1a-cluster
  325. zone: us-central1-a
  326. namespace: default
  327. cpu: 1
  328. memory: 5Gb
  329. additional_containers:
  330. - name: mssql
  331. image: mcr.microsoft.com/mssql/server:2017-GA-ubuntu
  332. port: 1433
  333. cpu: 2
  334. memory: 5Gb
  335. env:
  336. MSSQL_PID: Developer # this is the default edition
  337. ACCEPT_EULA: Y
  338. SA_PASSWORD: sonarqube!1
  339. script:
  340. - ./private/cirrus/cirrus-db-unit-test.sh mssql2017
  341. on_failure:
  342. reports_artifacts:
  343. path: "**/build/reports/**/*"
  344. junit_artifacts:
  345. path: "**/test-results/**/*.xml"
  346. format: junit
  347. # this is the oldest compatible version of PostgreSQL
  348. sql_postgres93_task:
  349. depends_on: build
  350. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  351. # this task on your branch
  352. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  353. gke_container:
  354. dockerfile: private/docker/Dockerfile-build
  355. builder_image_project: ci-cd-215716
  356. builder_image_name: docker-builder-v1
  357. cluster_name: cirrus-uscentral1a-cluster
  358. zone: us-central1-a
  359. namespace: default
  360. cpu: 1
  361. memory: 5Gb
  362. additional_containers:
  363. - name: postgres
  364. image: postgres:9.3
  365. port: 5432
  366. cpu: 1
  367. memory: 1Gb
  368. env:
  369. POSTGRES_USER: postgres
  370. POSTGRES_PASSWORD: postgres
  371. script:
  372. - ./private/cirrus/cirrus-db-unit-test.sh postgres93
  373. on_failure:
  374. reports_artifacts:
  375. path: "**/build/reports/**/*"
  376. junit_artifacts:
  377. path: "**/test-results/**/*.xml"
  378. format: junit
  379. sql_oracle12_task:
  380. depends_on: build
  381. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  382. # this task on your branch
  383. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  384. gke_container:
  385. dockerfile: private/docker/Dockerfile-build
  386. builder_image_project: ci-cd-215716
  387. builder_image_name: docker-builder-v1
  388. cluster_name: cirrus-uscentral1a-cluster
  389. zone: us-central1-a
  390. namespace: default
  391. cpu: 1
  392. memory: 5Gb
  393. additional_containers:
  394. - name: oracle
  395. image: gcr.io/ci-cd-215716/oracle12:0.0.1 # see https://github.com/SonarSource/vms/blob/master/docker/README.md#oracle-12c to build it
  396. port: 1521
  397. cpu: 2
  398. memory: 5Gb
  399. env:
  400. ORACLE_PWD: sonarqube
  401. script:
  402. - ./private/cirrus/cirrus-db-unit-test.sh oracle12
  403. on_failure:
  404. reports_artifacts:
  405. path: "**/build/reports/**/*"
  406. junit_artifacts:
  407. path: "**/test-results/**/*.xml"
  408. format: junit
  409. upgd_mssql2017_task:
  410. depends_on: build
  411. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  412. # this task on your branch
  413. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  414. gke_container:
  415. dockerfile: private/docker/Dockerfile-build
  416. builder_image_project: ci-cd-215716
  417. builder_image_name: docker-builder-v1
  418. cluster_name: cirrus-uscentral1a-cluster
  419. zone: us-central1-a
  420. namespace: default
  421. cpu: 1.5
  422. memory: 6Gb
  423. additional_containers:
  424. - name: mssql
  425. image: mcr.microsoft.com/mssql/server:2017-GA-ubuntu
  426. port: 1433
  427. cpu: 2
  428. memory: 5Gb
  429. env:
  430. MSSQL_PID: Developer # this is the default edition
  431. ACCEPT_EULA: Y
  432. SA_PASSWORD: sonarqube!1
  433. env:
  434. # No need to clone the full history.
  435. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  436. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  437. CIRRUS_CLONE_DEPTH: 50
  438. matrix:
  439. QA_CATEGORY: Upgrade
  440. script:
  441. - ./private/cirrus/cirrus-qa.sh mssql2017
  442. on_failure:
  443. reports_artifacts:
  444. path: "**/build/reports/**/*"
  445. junit_artifacts:
  446. path: "**/test-results/**/*.xml"
  447. format: junit
  448. upgd_oracle12_task:
  449. depends_on: build
  450. # Comment the following line and commit with message "DO NOT MERGE" in order to run
  451. # this task on your branch
  452. only_if: $CIRRUS_BRANCH == "branch-nightly-build"
  453. gke_container:
  454. dockerfile: private/docker/Dockerfile-build
  455. builder_image_project: ci-cd-215716
  456. builder_image_name: docker-builder-v1
  457. cluster_name: cirrus-uscentral1a-cluster
  458. zone: us-central1-a
  459. namespace: default
  460. cpu: 1.5
  461. memory: 6Gb
  462. additional_containers:
  463. - name: oracle
  464. image: gcr.io/ci-cd-215716/oracle12:0.0.1 # see https://github.com/SonarSource/vms/blob/master/docker/README.md#oracle-12c to build it
  465. port: 1521
  466. cpu: 2
  467. memory: 5Gb
  468. env:
  469. ORACLE_PWD: sonarqube
  470. env:
  471. # No need to clone the full history.
  472. # Depth of 1 is not enough because it would fail the build in case of consecutive pushes
  473. # (example of error: "Hard resetting to c968ecaf7a1942dacecd78480b3751ac74d53c33...Failed to force reset to c968ecaf7a1942dacecd78480b3751ac74d53c33: object not found!")
  474. CIRRUS_CLONE_DEPTH: 50
  475. matrix:
  476. QA_CATEGORY: Upgrade
  477. script:
  478. - ./private/cirrus/cirrus-qa.sh oracle12
  479. on_failure:
  480. reports_artifacts:
  481. path: "**/build/reports/**/*"
  482. junit_artifacts:
  483. path: "**/test-results/**/*.xml"
  484. format: junit