Merge pull request #1613 from sdurrheimer/fix-circleci-flanky-go-get
Fix CircleCI flanky go get
This commit is contained in:
commit
d5a9ce18c5
24
.promu.yml
24
.promu.yml
|
@ -7,7 +7,7 @@ build:
|
||||||
path: ./cmd/prometheus
|
path: ./cmd/prometheus
|
||||||
- name: promtool
|
- name: promtool
|
||||||
path: ./cmd/promtool
|
path: ./cmd/promtool
|
||||||
flags: -tags netgo
|
flags: -a -tags netgo
|
||||||
ldflags: |
|
ldflags: |
|
||||||
-X {{repoPath}}/version.Version={{.Version}}
|
-X {{repoPath}}/version.Version={{.Version}}
|
||||||
-X {{repoPath}}/version.Revision={{.Revision}}
|
-X {{repoPath}}/version.Revision={{.Revision}}
|
||||||
|
@ -21,25 +21,3 @@ tarball:
|
||||||
- documentation/examples/prometheus.yml
|
- documentation/examples/prometheus.yml
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- NOTICE
|
- NOTICE
|
||||||
crossbuild:
|
|
||||||
platforms:
|
|
||||||
- linux/amd64
|
|
||||||
- linux/386
|
|
||||||
- darwin/amd64
|
|
||||||
- darwin/386
|
|
||||||
- windows/amd64
|
|
||||||
- windows/386
|
|
||||||
- freebsd/amd64
|
|
||||||
- freebsd/386
|
|
||||||
- openbsd/amd64
|
|
||||||
- openbsd/386
|
|
||||||
- netbsd/amd64
|
|
||||||
- netbsd/386
|
|
||||||
- dragonfly/amd64
|
|
||||||
- linux/arm
|
|
||||||
- linux/arm64
|
|
||||||
- freebsd/arm
|
|
||||||
- openbsd/arm
|
|
||||||
- netbsd/arm
|
|
||||||
- linux/ppc64
|
|
||||||
- linux/ppc64le
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ machine:
|
||||||
environment:
|
environment:
|
||||||
DOCKER_IMAGE_NAME: prom/prometheus
|
DOCKER_IMAGE_NAME: prom/prometheus
|
||||||
QUAY_IMAGE_NAME: quay.io/prometheus/prometheus
|
QUAY_IMAGE_NAME: quay.io/prometheus/prometheus
|
||||||
DOCKER_TEST_IMAGE_NAME: quay.io/prometheus/golang-builder:1.5.4-main
|
DOCKER_TEST_IMAGE_NAME: quay.io/prometheus/golang-builder:1.6.2-main
|
||||||
REPO_PATH: github.com/prometheus/prometheus
|
REPO_PATH: github.com/prometheus/prometheus
|
||||||
pre:
|
pre:
|
||||||
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.1-circleci'
|
- sudo curl -L -o /usr/bin/docker 'https://s3-external-1.amazonaws.com/circle-downloads/docker-1.9.1-circleci'
|
||||||
|
@ -13,7 +13,7 @@ machine:
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
pre:
|
pre:
|
||||||
- go get -u github.com/prometheus/promu
|
- make promu
|
||||||
- docker info
|
- docker info
|
||||||
override:
|
override:
|
||||||
- promu crossbuild
|
- promu crossbuild
|
||||||
|
|
Loading…
Reference in New Issue