Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
feat(cd): smaller num document for benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Sep 27, 2019
1 parent 54e7053 commit f8b9e00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .drone-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ steps:
BOT_URL:
from_secret: BOT_URL
commands:
- export MSG_LINK=$DRONE_REPO_LINK
- export MSG_LINK="https://github.com/gnes-ai/benchmark"
- export MSG_TITLE="✅🏍️ New benchmark is updated!"
- export MSG_CONTENT=""
- ./shell/push-wechatwork.sh
Expand Down
8 changes: 7 additions & 1 deletion benchmark-eval.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8b9e00

Please sign in to comment.