-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from janboll/update-golang
Refactorings for aws-resource-exporter
- Loading branch information
Showing
446 changed files
with
40 additions
and
147,447 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
FROM registry.centos.org/centos/centos:7 | ||
FROM quay.io/app-sre/golang:1.18.5 as builder | ||
WORKDIR /build | ||
COPY . . | ||
RUN make build | ||
|
||
COPY aws-resource-exporter /bin/aws-resource-exporter | ||
FROM registry.access.redhat.com/ubi8-minimal | ||
COPY --from=builder /build/aws-resource-exporter /bin/aws-resource-exporter | ||
|
||
EXPOSE 9115 | ||
ENTRYPOINT [ "/bin/aws-resource-exporter" ] |
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,15 +1,28 @@ | ||
module github.com/app-sre/aws-resource-exporter | ||
|
||
go 1.12 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go v1.29.2 | ||
github.com/go-kit/kit v0.9.0 | ||
github.com/golang/protobuf v1.3.3 // indirect | ||
github.com/prometheus/client_golang v1.4.1 | ||
github.com/prometheus/common v0.9.1 | ||
golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
gopkg.in/alecthomas/kingpin.v2 v2.2.6 | ||
gopkg.in/yaml.v2 v2.2.5 | ||
) | ||
|
||
require ( | ||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect | ||
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.1 // indirect | ||
github.com/go-logfmt/logfmt v0.4.0 // indirect | ||
github.com/golang/protobuf v1.3.3 // indirect | ||
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af // indirect | ||
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/procfs v0.0.8 // indirect | ||
golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4 // indirect | ||
) |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.