mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-15 14:21:22 +00:00
quick fix for CircleCI (#2279)
See https://discuss.circleci.com/t/saving-cache-stopped-working-warning-skipping-this-step-disabled-in-configuration/24423/2
This commit is contained in:
@ -41,10 +41,10 @@ jobs:
|
|||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
paths:
|
paths:
|
||||||
- /go/pkg
|
- /go/pkg
|
||||||
- save_cache:
|
# - save_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
||||||
paths:
|
# paths:
|
||||||
- /go/src/github.com/tendermint/tendermint
|
# - /go/src/github.com/tendermint/tendermint
|
||||||
|
|
||||||
build_slate:
|
build_slate:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
@ -53,8 +53,23 @@ jobs:
|
|||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
- restore_cache:
|
# https://discuss.circleci.com/t/saving-cache-stopped-working-warning-skipping-this-step-disabled-in-configuration/24423/2
|
||||||
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:
|
- run:
|
||||||
name: slate docs
|
name: slate docs
|
||||||
command: |
|
command: |
|
||||||
@ -69,8 +84,22 @@ jobs:
|
|||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# 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:
|
- run:
|
||||||
name: metalinter
|
name: metalinter
|
||||||
command: |
|
command: |
|
||||||
@ -91,8 +120,22 @@ jobs:
|
|||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# 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:
|
- run:
|
||||||
name: Run abci apps tests
|
name: Run abci apps tests
|
||||||
command: |
|
command: |
|
||||||
@ -108,8 +151,22 @@ jobs:
|
|||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# 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:
|
- run:
|
||||||
name: Run abci-cli tests
|
name: Run abci-cli tests
|
||||||
command: |
|
command: |
|
||||||
@ -123,8 +180,22 @@ jobs:
|
|||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# 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: sudo apt-get update && sudo apt-get install -y --no-install-recommends bsdmainutils
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
@ -138,8 +209,22 @@ jobs:
|
|||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# 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: mkdir -p /tmp/logs
|
||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
@ -163,8 +248,22 @@ jobs:
|
|||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: v3-pkg-cache
|
key: v3-pkg-cache
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# 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:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: bash test/persist/test_failure_indices.sh
|
command: bash test/persist/test_failure_indices.sh
|
||||||
@ -186,8 +285,22 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /tmp/workspace
|
at: /tmp/workspace
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: v3-tree-{{ .Environment.CIRCLE_SHA1 }}
|
# 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:
|
- run:
|
||||||
name: gather
|
name: gather
|
||||||
command: |
|
command: |
|
||||||
|
Reference in New Issue
Block a user