Remove unused workflows from circleci config
@@ -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
@@ -71,7 +45,7 @@ jobs:
workflows:
version: 2
- deploy-snapshot:
+ integrate:
jobs:
- test
- publish-image:
@@ -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
