|
|
@ -41,10 +41,10 @@ jobs: |
|
|
|
key: v3-pkg-cache |
|
|
|
paths: |
|
|
|
- /go/pkg |
|
|
|
- save_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
paths: |
|
|
|
- /go/src/github.com/tendermint/tendermint |
|
|
|
# - save_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# paths: |
|
|
|
# - /go/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
build_slate: |
|
|
|
<<: *defaults |
|
|
@ -53,8 +53,23 @@ jobs: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# https://discuss.circleci.com/t/saving-cache-stopped-working-warning-skipping-this-step-disabled-in-configuration/24423/2 |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: |
|
|
|
name: slate docs |
|
|
|
command: | |
|
|
@ -69,8 +84,22 @@ jobs: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: |
|
|
|
name: metalinter |
|
|
|
command: | |
|
|
@ -91,8 +120,22 @@ jobs: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: |
|
|
|
name: Run abci apps tests |
|
|
|
command: | |
|
|
@ -108,8 +151,22 @@ jobs: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: |
|
|
|
name: Run abci-cli tests |
|
|
|
command: | |
|
|
@ -123,8 +180,22 @@ jobs: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends bsdmainutils |
|
|
|
- run: |
|
|
|
name: Run tests |
|
|
@ -138,8 +209,22 @@ jobs: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: mkdir -p /tmp/logs |
|
|
|
- run: |
|
|
|
name: Run tests |
|
|
@ -163,8 +248,22 @@ jobs: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-pkg-cache |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: |
|
|
|
name: Run tests |
|
|
|
command: bash test/persist/test_failure_indices.sh |
|
|
@ -186,8 +285,22 @@ jobs: |
|
|
|
steps: |
|
|
|
- attach_workspace: |
|
|
|
at: /tmp/workspace |
|
|
|
- restore_cache: |
|
|
|
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
# - restore_cache: |
|
|
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }} |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
name: tools |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_tools |
|
|
|
- run: |
|
|
|
name: dependencies |
|
|
|
command: | |
|
|
|
export PATH="$GOBIN:$PATH" |
|
|
|
make get_vendor_deps |
|
|
|
- run: mkdir -p $GOPATH/src/github.com/tendermint |
|
|
|
- run: ln -sf /home/circleci/project $GOPATH/src/github.com/tendermint/tendermint |
|
|
|
|
|
|
|
- run: |
|
|
|
name: gather |
|
|
|
command: | |
|
|
|