Commit 8bc2ff6d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

hsql configuration for gitlab ci

parent 07576417
......@@ -16,8 +16,9 @@ variables:
MAVEN_OPTS: "-Dmaven.repo.local=maven.repository"
before_script:
#by default we configure postgres database
- mkdir /etc/minerva/
- cp test-db-ci.properties /etc/minerva/db.properties
- cp test-postgres-db-ci.properties /etc/minerva/db.properties
test:frontend:
stage: test
......@@ -41,6 +42,16 @@ test:frontend:
stage: test
coverage: '/(\d+.\d+) \% covered/'
.hsql_template: &hsql_definition
image: maven:3.6.0-jdk-11
stage: test
coverage: '/(\d+.\d+) \% covered/'
before_script:
#by default we configure postgres database
- rm -rf /etc/minerva/
- mkdir /etc/minerva/
- cp test-hsql-db-ci.properties /etc/minerva/db.properties
.test_backend_commons_template:
script: &test_backend_commons_definition
#xvfb is for X11 connection used by some parts of the java code: https://stackoverflow.com/a/47575851/1127920
......@@ -165,6 +176,10 @@ test:backend:annotation:jdk-11:
<<: *jdk_11_definition
script: *test_backend_annotation_definition
test:backend:annotation:jdk-11-hsql:
<<: *hsql_definition
script: *test_backend_annotation_definition
test:backend:CellDesigner_plugin:jdk-8:
<<: *jdk_8_definition
script: *test_backend_CellDesigner_plugin_definition
......@@ -198,6 +213,10 @@ test:backend:converter_SBGNML:jdk-11:
<<: *jdk_11_definition
script: *test_backend_converter_SBGNML_definition
test:backend:converter_SBGNML:jdk-11-hsql:
<<: *hsql_definition
script: *test_backend_converter_SBGNML_definition
test:backend:converter_SBML:jdk-8:
<<: *jdk_8_definition
script: *test_backend_converter_SBML_definition
......@@ -238,6 +257,10 @@ test:backend:persist:jdk-11:
<<: *jdk_11_definition
script: *test_backend_persist_definition
test:backend:persist:hsql:
<<: *hsql_definition
script: *test_backend_persist_definition
test:backend:rest:jdk-8:
<<: *jdk_8_definition
script: *test_backend_rest_definition
......@@ -246,6 +269,10 @@ test:backend:rest:jdk-11:
<<: *jdk_11_definition
script: *test_backend_rest_definition
test:backend:rest:hsql:
<<: *hsql_definition
script: *test_backend_rest_definition
test:backend:service:jdk-8:
<<: *jdk_8_definition
script: *test_backend_service_definition
......@@ -254,6 +281,10 @@ test:backend:service:jdk-11:
<<: *jdk_11_definition
script: *test_backend_service_definition
test:backend:service:hsql:
<<: *hsql_definition
script: *test_backend_service_definition
test:backend:web:jdk-8:
<<: *jdk_8_definition
script: *test_backend_web_definition
......@@ -262,6 +293,10 @@ test:backend:web:jdk-11:
<<: *jdk_11_definition
script: *test_backend_web_definition
test:backend:web:hsql:
<<: *jdk_11_definition
script: *test_backend_web_definition
build_war:
image: maven:3.6.0-jdk-8
stage: build
......
database.driver=org.hsqldb.jdbcDriver
database.dialect=org.hibernate.dialect.HSQLDialect
database.uri=jdbc:hsqldb:mem:dapi
database.username=sa
database.password=
database.connectionQuery=SELECT 1 FROM INFORMATION_SCHEMA.SYSTEM_USERS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment