Skip to content

Commit

Permalink
Merge pull request #5 from drone-plugins/feature/additions
Browse files Browse the repository at this point in the history
Makefile, gitignore and MAINTAINERS improvements
  • Loading branch information
kzaitsev committed Feb 24, 2016
2 parents cb13a6d + 811cf99 commit ba3ddf5
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ _testmain.go
*.test
*.prof

coverage.out
drone-dockerhub

19 changes: 17 additions & 2 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
email = "brad@drone.io"
login = "bradrydzewski"
[people.Bugagazavr]
name = "Kirill"
email = ""
login = "Bugagazavr"
[people.donny-dont]
name = "Don Olmstead"
Expand All @@ -23,9 +25,22 @@
login = "nlf"
[people.tboerger]
name = "Thomas Boerger"
email = ""
email = "thomas@webhippie.de"
login = "tboerger"
[people.athieriot]
name = "Aurélien Thieriot"
email = "a.thieriot@gmail.com"
login = "athieriot"

[org]
[org.core]
people = ["bradrydzewski", "Bugagazavr", "donny-dont", "jackspirou", "msteinert", "nlf", "tboerger"]
people = [
"bradrydzewski",
"Bugagazavr",
"donny-dont",
"jackspirou",
"msteinert",
"nlf",
"tboerger",
"athieriot"
]
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
.PHONY: clean deps fmt vet test docker
.PHONY: all clean deps fmt vet test docker

EXECUTABLE ?= drone-dockerhub
IMAGE ?= plugins/$(EXECUTABLE)
CI_BUILD_NUMBER ?= 0
COMMIT ?= $(shell git rev-parse --short HEAD)

LDFLAGS = -X "main.buildDate=$(shell date -u '+%Y-%m-%d %H:%M:%S %Z')"
LDFLAGS = -X "main.buildCommit=$(COMMIT)"
PACKAGES = $(shell go list ./... | grep -v /vendor/)

all: deps build test

clean:
go clean -i ./...

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Coverage Status](https://aircover.co/badges/drone-plugins/drone-dockerhub/coverage.svg)](https://aircover.co/drone-plugins/drone-dockerhub)
[![](https://badge.imagelayers.io/plugins/drone-dockerhub:latest.svg)](https://imagelayers.io/?images=plugins/drone-dockerhub:latest 'Get your own badge on imagelayers.io')

Drone plugin to trigger a DockerHub remote build
Drone plugin to trigger a DockerHub remote build. For the usage information and a listing of the available options please take a look at [the docs](DOCS.md).

## Binary

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ type DockerHub struct {
}

var (
buildDate string
buildCommit string
)

func main() {
fmt.Printf("Drone DockerHub Plugin built at %s\n", buildDate)
fmt.Printf("Drone DockerHub Plugin built from %s\n", buildCommit)

vargs := DockerHub{}

Expand Down

0 comments on commit ba3ddf5

Please sign in to comment.