Add Umbra to CI
@@ -59,6 +59,22 @@ jobs:
driver/create-validation-parameters.sh
mv validation_params.csv validation_params_cypher_tiny.csv
cd ..
+ ### Umbra
+ - run:
+ name: Tiny data set - Load Umbra database and create a backup
+ command: |
+ cd postgres
+ export UMBRA_CSV_DIR=`pwd`/test-data/
+ scripts/load-in-one-step.sh
+ scripts/backup-database.sh
+ cd ..
+ - run:
+ name: Tiny data set - Create validation parameters with PostgreSQL
+ command: |
+ cd postgres
+ driver/create-validation-parameters.sh
+ mv validation_params.csv validation_params_postgres_tiny.csv
+ cd ..
### PostgreSQL
- run:
name: Tiny data set - Load PostgreSQL database and create a backup
@@ -92,6 +108,23 @@ jobs:
scripts/restore-database.sh
driver/benchmark.sh
cd ..
+ ### Umbra
+ - run:
+ name: Tiny data set - Cross-validate the Umbra project based on the results from Neo4j
+ command: |
+ mv cypher/validation_params_cypher_tiny.csv umbra/validation_params.csv
+ cd umbra
+ scripts/restore-database.sh
+ driver/validate.sh | tee validation-log.txt
+ grep 'Validation Result: PASS' validation-log.txt
+ cd ..
+ - run:
+ name: Tiny data set - Benchmark Umbra
+ command: |
+ cd postgres
+ scripts/restore-database.sh
+ driver/benchmark.sh
+ cd ..
### PostgreSQL
- run:
name: Tiny data set - Cross-validate the PostgreSQL project based on the results from Neo4j
@@ -117,6 +150,7 @@ jobs:
# substitution parameters and updateStreams for Neo4j
cp ./sf1/substitution_parameters/* ./cypher/test-data/substitution_parameters/
cp ./sf1/social_network-csv_composite-longdateformatter/updateStream* ./cypher/test-data/update_streams/
+ ## Neo4j
- run:
name: SF1 data set - Load Neo4j database
command: |
@@ -133,6 +167,23 @@ jobs:
driver/create-validation-parameters.sh
mv validation_params.csv validation_params_cypher_sf1.csv
cd ..
+ ## Umbra
+ - run:
+ name: SF1 data set - Load Umbra database
+ command: |
+ cd postgres
+ export POSTGRES_UMBRA_DIR=`pwd`/../sf1/social_network-csv_merge_foreign
+ scripts/load-in-one-step.sh
+ cd ..
+ - run:
+ name: SF1 data set - Cross-validate the Umbra project based on the results from Neo4j
+ command: |
+ mv cypher/validation_params_cypher_sf1.csv umbra/validation_params.csv
+ cd umbra
+ driver/validate.sh | tee validation-log.txt
+ grep 'Validation Result: PASS' validation-log.txt
+ cd ..
+ ## PostgreSQL
- run:
name: SF1 data set - Load PostgreSQL database
command: |
