-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to Go 1.15 Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com> * Build CI image dependencies in container Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com> * Fix compiler errors Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com> * Use gimme go version for netlify Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
- Loading branch information
Showing
10 changed files
with
71 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/prometheus | ||
/thanos | ||
/vendor/ | ||
/mixin/vendor/ | ||
node_modules/ | ||
|
||
# Ignore minikube setup working dirs. | ||
kube/bin | ||
kube/.kube | ||
kube/.minikube | ||
|
||
# Ignore e2e working dirs. | ||
data/ | ||
test/e2e/e2e_integration_test* | ||
|
||
# Ignore promu artifacts. | ||
/.build | ||
/.release | ||
/.tarballs | ||
|
||
/.idea | ||
/*.iml | ||
|
||
website/public/ | ||
website/docs-pre-processed/ | ||
!website/data | ||
|
||
# React build assets | ||
pkg/ui/static/react | ||
|
||
tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.14.2 | ||
1.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
go: | ||
version: 1.14.2 | ||
version: 1.15.0 | ||
repository: | ||
path: github.com/thanos-io/thanos | ||
path: github.com/thanos-io/thanos | ||
build: | ||
binaries: | ||
- name: thanos | ||
path: ./cmd/thanos | ||
flags: -a -tags netgo | ||
ldflags: | | ||
-X github.com/prometheus/common/version.Version={{.Version}} | ||
-X github.com/prometheus/common/version.Revision={{.Revision}} | ||
-X github.com/prometheus/common/version.Branch={{.Branch}} | ||
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}} | ||
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} | ||
binaries: | ||
- name: thanos | ||
path: ./cmd/thanos | ||
flags: -a -tags netgo | ||
ldflags: | | ||
-X github.com/prometheus/common/version.Version={{.Version}} | ||
-X github.com/prometheus/common/version.Revision={{.Revision}} | ||
-X github.com/prometheus/common/version.Branch={{.Branch}} | ||
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}} | ||
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} | ||
crossbuild: | ||
platforms: | ||
- linux/amd64 | ||
- darwin/amd64 | ||
- linux/arm64 | ||
- windows/amd64 | ||
- freebsd/amd64 | ||
platforms: | ||
- linux/amd64 | ||
- darwin/amd64 | ||
- linux/arm64 | ||
- windows/amd64 | ||
- freebsd/amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
# Available from https://hub.docker.com/r/circleci/golang/ | ||
FROM circleci/golang:1.14.2-node | ||
FROM circleci/golang:1.15 AS builder | ||
|
||
ENV GOBIN=/home/circleci/.local/bin | ||
ENV GOBIN=/go/bin | ||
ENV BIN_DIR=/go/bin | ||
|
||
COPY --chown=circleci tmp/bin/* ${GOBIN}/ | ||
WORKDIR opt | ||
COPY Makefile . | ||
COPY .bingo ./.bingo | ||
RUN make install-deps | ||
|
||
FROM circleci/golang:1.15-node | ||
COPY --from=builder --chown=circleci /go/bin /go/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters