]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-177790 - Update oracle image for ITs for express edition and 21C
authorLéo Geoffroy <99647462+leo-geoffroy-sonarsource@users.noreply.github.com>
Wed, 11 Jan 2023 08:40:55 +0000 (09:40 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 11 Jan 2023 20:02:58 +0000 (20:02 +0000)
.cirrus.yml

index 4545f2eececf8b933f3e771b64c7635109cbc6b0..4323220863fa6dca7b6ab6c218069a8c4d29b660 100644 (file)
@@ -67,12 +67,14 @@ docker_build_container_template: &GKE_CONTAINER_TEMPLATE
 
 oracle_additional_container_template: &ORACLE_ADDITIONAL_CONTAINER_TEMPLATE
   name: oracle
-  image: us.gcr.io/sonarqube-team/oracle12:0.0.1 # see https://github.com/SonarSource/vms/blob/master/docker/README.md#oracle-12c to build it
+  image: gvenzl/oracle-xe:21-faststart
   port: 1521
   cpu: 2
   memory: 5Gb
   env:
-    ORACLE_PWD: sonarqube
+    ORACLE_PASSWORD: sonarqube
+    APP_USER: sonarqube
+    APP_USER_PASSWORD: sonarqube
 
 postgres_additional_container_template: &POSTGRES_ADDITIONAL_CONTAINER_TEMPLATE
   name: postgres
@@ -611,7 +613,7 @@ sql_postgres11_task:
     - ./private/cirrus/cirrus-db-unit-test.sh postgres
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
-sql_oracle12_task:
+sql_oracle21_task:
   <<: *DEFAULT_TEMPLATE
   <<: *BUILD_DEPENDANT_TASK_TEMPLATE
   <<: *DATABASE_RELATED_NIGHTLY_TASK_TEMPLATE
@@ -622,7 +624,7 @@ sql_oracle12_task:
     additional_containers:
       - <<: *ORACLE_ADDITIONAL_CONTAINER_TEMPLATE
   script:
-    - ./private/cirrus/cirrus-db-unit-test.sh oracle12
+    - ./private/cirrus/cirrus-db-unit-test.sh oracle21
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
 upgd_mssql_task:
@@ -651,7 +653,7 @@ upgd_mssql_task:
     - ./private/cirrus/cirrus-qa.sh mssql
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
-upgd_oracle12_task:
+upgd_oracle21_task:
   <<: *DEFAULT_TEMPLATE
   <<: *BUILD_DEPENDANT_TASK_TEMPLATE
   <<: *DATABASE_RELATED_NIGHTLY_TASK_TEMPLATE
@@ -666,7 +668,7 @@ upgd_oracle12_task:
   env:
     QA_CATEGORY: Upgrade
   script:
-    - ./private/cirrus/cirrus-qa.sh oracle12
+    - ./private/cirrus/cirrus-qa.sh oracle21
   <<: *DEFAULT_ARTIFACTS_TEMPLATE
 
 ws_scan_task: