This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cd): smaller num document for benchmarking
- Loading branch information
hanhxiao
committed
Sep 27, 2019
1 parent
54e7053
commit f8b9e00
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,13 @@ cd /workspace && rm -rf benchmark && git clone https://github.com/gnes-ai/benchm | |
git remote rm origin && git remote add origin https://$GITHUB_USER:$GITHUB_PWD@github.com/gnes-ai/benchmark.git | ||
git config --global user.email "[email protected]" && git config --global user.name "Han Xiao" | ||
|
||
export GNES_IMG_TAG=latest-alpine | ||
if [[ -z "${DRONE_TAG}" ]]; then | ||
VER_TAG="latest" | ||
else | ||
VER_TAG=${DRONE_TAG} | ||
fi | ||
|
||
export GNES_IMG_TAG=${VER_TAG}-alpine | ||
|
||
docker swarm init | ||
make pull && make build | ||
|