Skip to content

Commit

Permalink
Remove unused workflows from circleci config
Browse files Browse the repository at this point in the history
  • Loading branch information
anbsky committed Aug 23, 2019
1 parent a62a1d6 commit 89fa55d
Showing 1 changed file with 2 additions and 44 deletions.
46 changes: 2 additions & 44 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,7 @@ jobs:
key: go-mod-cache-{{ checksum "go.sum" }}
paths:
- /go/pkg/mod
snapshot:
docker:
- image: circleci/golang:1.12
steps:
- checkout
- restore_cache:
keys:
- go-mod-cache-{{ checksum "go.sum" }}
- run: go get ./...
- run: curl -sL https://git.io/goreleaser | bash
- run: make snapshot
- run:
name: Build Docker image
command: make image
release:
docker:
- image: circleci/golang:1.12
steps:
- checkout
- restore_cache:
keys:
- go-mod-cache-{{ checksum "go.sum" }}
- run: curl -sL https://git.io/goreleaser | bash
- run: make snapshot
- run:
name: Build Docker image
command: make image

publish-image:
docker:
- image: circleci/golang:1.12
Expand All @@ -71,7 +45,7 @@ jobs:
workflows:
version: 2
deploy-snapshot:
integrate:
jobs:
- test
- publish-image:
Expand All @@ -80,19 +54,3 @@ workflows:
filters:
branches:
only: master
release:
jobs:
- release:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
- publish-image:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
requires:
- release

0 comments on commit 89fa55d

Please sign in to comment.