[WIP] Remove version from CI (#111)

* removed version from CI

* removed more version deps
This commit is contained in:
Anthony De Meulemeester 2018-12-06 11:32:52 +01:00 committed by GitHub
parent 3305782ac9
commit 9c605735b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 22 deletions

View file

@ -1 +0,0 @@
0.45.14

View file

@ -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: