Skip to content

Commit 1d7d189

Browse files
committed
syncing code with internal repo
1 parent 3abe829 commit 1d7d189

File tree

1,122 files changed

+198
-345053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,122 files changed

+198
-345053
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
prometheus-isilon-exporter
2-
bin/*
2+
bin/*

.travis.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: go
22
go:
3-
- "1.10.x"
3+
- "1.12.x"
44

55
before_install:
6-
- go get -u github.com/golang/dep/cmd/dep
76

87
install:
98
- make

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [1.0.0] - 2018-05-17
8-
Initial release - [Mark DeNeve](https://github.com/xphyr)
8+
Initial release - [Mark DeNeve](https://github.com/xphyr)
9+
10+
## [1.2.0] - 2018-05-17
11+
Changed client handling to improve on memory usage
12+
Updated code layout for easier management
13+
Moved to go modules for building
14+
[Mark DeNeve](https://github.com/xphyr)

Gopkg.lock

-165
This file was deleted.

Gopkg.toml

-42
This file was deleted.

Makefile

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1+
# Get the location of this makefile.
2+
ROOT_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
3+
TARGET_BINARY := prometheus-isilon-exporter
4+
BUILD_TIME?=$(shell date -u '+%Y-%m-%d_%H:%M:%S')
5+
RELEASE?=$(shell git describe --abbrev=4 --dirty --always --tags)
6+
COMMIT?=$(shell git rev-parse --short HEAD)
7+
BUILD_TIME?=$(shell date -u '+%Y-%m-%d_%H:%M:%S')
8+
PROJECT_NAME?=github.com/paychex/prometheus-isilon-exporter
9+
110
all: build
211

312
build:
4-
dep ensure
5-
go test
6-
go build
7-
13+
GO111MODULE=on go build -o bin/${TARGET_BINARY} \
14+
-ldflags="-X main.Commit=${COMMIT} \
15+
-X main.BuildTime=${BUILD_TIME} \
16+
-X main.Release=${RELEASE}" \
17+
./cmd

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ scrape_configs:
8484
8585
## Building
8686
87-
This exporter can run on any go supported platform. To build run:
87+
This exporter can run on any go supported platform. As of version 1.2 we have moved to using Go 1.11 and higher. Testing is done with Go 1.12 but go 1.11 should work for anyone using it.
88+
89+
To build run:
8890
`go build`
8991
9092
You can also run:

0 commit comments

Comments
 (0)