[WIP] Remove version from CI (#111)
* removed version from CI * removed more version deps
This commit is contained in:
parent
3305782ac9
commit
9c605735b7
2 changed files with 9 additions and 22 deletions
1
VERSION
1
VERSION
|
@ -1 +0,0 @@
|
||||||
0.45.14
|
|
30
circle.yml
30
circle.yml
|
@ -9,10 +9,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-{{ checksum "Gopkg.toml" }}
|
||||||
- run: /scripts/build.sh
|
- run: /scripts/build.sh
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: dependency-cache-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-{{ checksum "Gopkg.toml" }}
|
||||||
paths:
|
paths:
|
||||||
- vendor
|
- vendor
|
||||||
- /go/pkg
|
- /go/pkg
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- dependency-cache-{{ .Revision }}
|
- dependency-cache-{{ .Revision }}
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- dependency-cache-cli-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
- dependency-cache-cli-{{ checksum "Gopkg.toml" }}
|
||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
- run:
|
- run:
|
||||||
name: Install Docker client
|
name: Install Docker client
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-{{ checksum "Gopkg.toml" }}
|
||||||
- run: make test
|
- run: make test
|
||||||
vet:
|
vet:
|
||||||
working_directory: /go/src/github.com/CityOfZion/neo-go
|
working_directory: /go/src/github.com/CityOfZion/neo-go
|
||||||
|
@ -55,15 +55,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-{{ checksum "Gopkg.toml" }}
|
||||||
- run: make vet
|
- run: make vet
|
||||||
check_version:
|
|
||||||
working_directory: /go/src/github.com/CityOfZion/neo-go
|
|
||||||
docker:
|
|
||||||
- image: vidsyhq/go-builder:latest
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run: make check-version
|
|
||||||
build_cli:
|
build_cli:
|
||||||
working_directory: /go/src/github.com/CityOfZion/neo-go
|
working_directory: /go/src/github.com/CityOfZion/neo-go
|
||||||
docker:
|
docker:
|
||||||
|
@ -71,10 +64,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-{{ checksum "Gopkg.toml" }}
|
||||||
- run: make build
|
- run: make build
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: dependency-cache-cli-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-cli-{{ checksum "Gopkg.toml" }}
|
||||||
paths:
|
paths:
|
||||||
- bin/neo-go
|
- bin/neo-go
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -85,9 +78,9 @@ jobs:
|
||||||
- run: apk update && apk add git make curl tar
|
- run: apk update && apk add git make curl tar
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-{{ checksum "Gopkg.toml" }}
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: dependency-cache-cli-{{ checksum "Gopkg.toml" }}-{{ checksum "VERSION" }}
|
key: dependency-cache-cli-{{ checksum "Gopkg.toml" }}
|
||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
- run:
|
- run:
|
||||||
name: Install Docker client
|
name: Install Docker client
|
||||||
|
@ -121,10 +114,6 @@ workflows:
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /[0-9]+\.[0-9]+\.[0-9]+/
|
only: /[0-9]+\.[0-9]+\.[0-9]+/
|
||||||
- check_version:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: master
|
|
||||||
- build_cli:
|
- build_cli:
|
||||||
requires:
|
requires:
|
||||||
- install_deps
|
- install_deps
|
||||||
|
@ -143,7 +132,6 @@ workflows:
|
||||||
- build_image
|
- build_image
|
||||||
- test
|
- test
|
||||||
- vet
|
- vet
|
||||||
- check_version
|
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in a new issue