Skip to content

Commit bc73cb2

Browse files
CI: fix release builds
For some reason running "go mod vendor" edited the sum file. Lets make sure there are no more surprises by running it in CI as well.
1 parent 920e58b commit bc73cb2

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.circleci/Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:latest
1+
FROM golang:1.11
22

33
## Warm apt cache
44
RUN apt-get update
@@ -26,11 +26,6 @@ RUN apt-get install -y wget bzip2 && \
2626
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && \
2727
apt-get remove -y wget
2828

29-
# Install dep
30-
RUN apt-get install -y wget && \
31-
wget -qO- https://raw.githubusercontent.com/golang/dep/master/install.sh | sh && \
32-
apt-get remove -y wget
33-
3429
# Clean up
3530
RUN apt-get autoremove -y && \
3631
rm -rf /var/lib/apt/lists/*

.circleci/config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- run: make realclean
4040
- run: make examples SWAGGER_CODEGEN="${SWAGGER_CODEGEN}" # Set in Docker image
4141
- run: go mod tidy
42+
- run: go mod vendor
4243
- run: git diff --exit-code
4344
lint:
4445
docker:
@@ -81,7 +82,7 @@ jobs:
8182
steps:
8283
- checkout
8384
- run: go mod vendor
84-
- run: curl -sL https://git.io/goreleaser | bash
85+
- run: curl -sL https://git.io/goreleaser | bash -s -- --skip-validate
8586
workflows:
8687
version: 2
8788
all:
@@ -95,6 +96,7 @@ workflows:
9596
- release:
9697
filters:
9798
branches:
98-
ignore: /.*/
99-
tags:
100-
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
99+
#ignore: /.*/
100+
only: fix-release-builds
101+
#tags:
102+
#only: /v[0-9]+(\.[0-9]+)*(-.*)*/

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8=
3636
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
3737
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
3838
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
39+
gopkg.in/resty.v1 v1.9.0 h1:mCx5NxFISl+YcVKcz4u69YktLtuKwRAhdL2ByPlFIbg=
3940
gopkg.in/resty.v1 v1.9.0/go.mod h1:vo52Hzryw9PnPHcJfPsBiFW62XhNx5OczbV9y+IMpgc=
4041
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 h1:+t9dhfO+GNOIGJof6kPOAenx7YgrZMTdRPV+EsnPabk=
4142
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=

0 commit comments

Comments
 (0)