Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.4.0 #85

Merged
merged 2 commits into from
Jun 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/linux/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w"
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w"
Expand Down
2 changes: 1 addition & 1 deletion docker/linux/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -v -a -tags netgo -installsuffix netgo -ldflags "-s -w"
Expand Down
2 changes: 1 addition & 1 deletion docker/windows/amd64/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN go build -v -a -tags netgo -installsuffix netgo
Expand Down
2 changes: 1 addition & 1 deletion docker/windows/amd64/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM golang:1.12

# download the source
WORKDIR /go/src/github.com/nats-io/prometheus-nats-exporter
RUN git clone --branch v0.3.0 https://github.com/nats-io/prometheus-nats-exporter.git .
RUN git clone --branch v0.4.0 https://github.com/nats-io/prometheus-nats-exporter.git .

# build
RUN go build -v -a -tags netgo -installsuffix netgo
Expand Down
2 changes: 1 addition & 1 deletion prometheus_nats_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/nats-io/prometheus-nats-exporter/exporter"
)

var version = "dev"
var version = "0.4.0"

// parseServerIDAndURL parses the url argument the optional id for the server ID.
func parseServerIDAndURL(urlArg string) (string, string, error) {
Expand Down