Skip to content

Commit e87158c

Browse files
committed
use a script instead of submodules for test data
1 parent 4137629 commit e87158c

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ node_modules
1717

1818
.idea/
1919
.DS_Store
20+
21+
/sdk-test-data/

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Eppo is a modular flagging and experimentation analysis tool. Eppo's SDKs are bu
1818

1919
1. Install [rustup](https://rustup.rs/).
2020
2. Install Ruby using your preferred package manager.
21+
3. Get the latest test data by running `./clone-test-data.sh`
2122

2223
### Release process
2324

clone-test-data.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
testDataDir=sdk-test-data
4+
branchName=${TEST_DATA_BRANCH:-main}
5+
githubRepoLink=https://github.com/Eppo-exp/sdk-test-data.git
6+
7+
echo "Cloning sdk-test-data@${branchName}"
8+
rm -rf ${testDataDir}
9+
git clone -b ${branchName} --depth 1 --single-branch ${githubRepoLink} ${testDataDir}

sdk-test-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit 11dace62a7ce97792bd54e48aaf354f62a034d63
1+
Subproject commit 6f9cac5846f7d89d4d893e0062b737ecb6b6e557

0 commit comments

Comments
 (0)