Skip to content

Commit 9e12c00

Browse files
committed
fix CI
1 parent ca13919 commit 9e12c00

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
test:
3030
resource_class: xlarge
3131
executor: my-executor
32+
environment:
33+
PLATFORM_VERSION: 2.12_spark3.1
34+
DATAGEN_VERSION: 0.4.0-SNAPSHOT
3235
steps:
3336
- checkout
3437
- run: |

tools/docker-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

3-
[ ! -f target/ldbc_snb_datagen_2.11_spark2.4-0.4.0-SNAPSHOT-jar-with-dependencies.jar ] && echo "target/ldbc_snb_datagen_2.11_spark2.4-0.4.0-SNAPSHOT-jar-with-dependencies.jar does not exist, exiting" && exit 1
3+
[ ! -f target/ldbc_snb_datagen_${PLATFORM_VERSION}-${DATAGEN_VERSION}-jar-with-dependencies.jar ] && echo "target/ldbc_snb_datagen_${PLATFORM_VERSION}-${DATAGEN_VERSION}-jar-with-dependencies.jar does not exist, exiting" && exit 1
44

55
# make sure that out directory exists and clean previously generated data
66
mkdir -p out/
77
rm -rf out/*
88
docker run \
99
--env uid=`id -u` \
1010
--volume `pwd`/out:/mnt/data \
11-
--volume `pwd`/target/ldbc_snb_datagen_2.11_spark2.4-0.4.0-SNAPSHOT-jar-with-dependencies.jar:/mnt/datagen.jar \
11+
--volume `pwd`/target/ldbc_snb_datagen_${PLATFORM_VERSION}-${DATAGEN_VERSION}-jar-with-dependencies.jar:/mnt/datagen.jar \
1212
ldbc/spark \
1313
--output-dir /mnt/data \
1414
${@} # pass arguments of this script to the submit.sh script (Docker entrypoint)

0 commit comments

Comments
 (0)