forked from ldbc/ldbc_snb_bi
-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.yml
110 lines (108 loc) · 3.42 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
version: 2.1
orbs:
slack: circleci/[email protected]
workflows:
version: 2
build:
jobs:
- test
jobs:
test:
resource_class: large
machine:
image: ubuntu-2004:202008-01
steps:
- checkout
- run:
name: Load Umbra Docker image
command: |
. umbra/scripts/vars.sh
# ${UMBRA_URL_PREFIX} should be set as a sercet variable
curl -s ${UMBRA_URL_PREFIX}${UMBRA_VERSION}.tar.gz | docker load
- run:
name: Setup
command: |
export DEBIAN_FRONTEND=noninteractive
sudo apt update
# install dependencies
sudo apt install -y wget unzip
scripts/install-dependencies.sh
- run:
name: Download data sets
command: |
# Cypher
cd cypher
## compressed CSVs for Cypher
scripts/get-sample-data-set.sh
## uncompressed CSVs for Cypher
wget -q https://ldbcouncil.org/ldbc_snb_datagen_spark/social-network-sf0.003-bi-composite-projected-fk-neo4j.zip
unzip -q social-network-sf0.003-bi-composite-projected-fk-neo4j.zip
cd ..
# Umbra
cd umbra
## uncompressed CSVs for Umbra
scripts/get-sample-data-set.sh
cd ..
# TigerGraph
cd tigergraph
scripts/get-sample-data-set.sh
cd ..
- run:
name: Download factors and temporal attributes
command: |
cd paramgen
scripts/get-sample-all.sh
cd ..
- run:
name: Generate parameters
command: |
cd paramgen
scripts/paramgen.sh
cd ..
head -n 5 parameters/*.csv
- run:
name: Test Umbra toolchain with uncompressed CSVs
command: |
cd umbra
. scripts/use-sample-data-set.sh
scripts/load-in-one-step.sh
scripts/backup-database.sh
scripts/restore-database.sh
scripts/benchmark.sh --test
scripts/stop.sh
cd ..
- run:
name: Test Cypher toolchain with uncompressed CSVs
command: |
cd cypher
export NEO4J_CSV_DIR=`pwd`/social-network-sf0.003-bi-composite-projected-fk-neo4j/graphs/csv/bi/composite-projected-fk/
scripts/load-in-one-step.sh
scripts/benchmark.sh --test
scripts/stop.sh
cd ..
scripts/cross-validate.sh cypher umbra
- run:
name: Test Cypher toolchain with compressed CSVs
command: |
# the sample data set contains compressed CSVs
cd cypher
. scripts/use-sample-data-set.sh
scripts/load-in-one-step.sh
scripts/backup-database.sh
scripts/restore-database.sh
scripts/benchmark.sh --test
scripts/stop.sh
cd ..
scripts/cross-validate.sh cypher umbra
- run:
name: Test TigerGraph toolchain with uncompressed CSVs
command: |
# the sample data set contains compressed CSVs
cd tigergraph
. scripts/use-sample-data-set.sh
scripts/load-in-one-step.sh
scripts/benchmark.sh --test
scripts/stop.sh
cd ..
scripts/cross-validate.sh tigergraph umbra
- slack/status