mirror of
https://github.com/thegeeklab/wp-s3-action.git
synced 2024-11-25 10:20:39 +00:00
Merge pull request #9 from drone-plugins/feature/additions
Makefile, gitignore and MAINTAINERS improvements
This commit is contained in:
commit
f33b520646
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,4 +23,5 @@ _testmain.go
|
|||||||
*.test
|
*.test
|
||||||
*.prof
|
*.prof
|
||||||
|
|
||||||
|
coverage.out
|
||||||
drone-s3-sync
|
drone-s3-sync
|
19
MAINTAINERS
19
MAINTAINERS
@ -4,6 +4,8 @@
|
|||||||
email = "brad@drone.io"
|
email = "brad@drone.io"
|
||||||
login = "bradrydzewski"
|
login = "bradrydzewski"
|
||||||
[people.Bugagazavr]
|
[people.Bugagazavr]
|
||||||
|
name = "Kirill"
|
||||||
|
email = ""
|
||||||
login = "Bugagazavr"
|
login = "Bugagazavr"
|
||||||
[people.donny-dont]
|
[people.donny-dont]
|
||||||
name = "Don Olmstead"
|
name = "Don Olmstead"
|
||||||
@ -23,9 +25,22 @@
|
|||||||
login = "nlf"
|
login = "nlf"
|
||||||
[people.tboerger]
|
[people.tboerger]
|
||||||
name = "Thomas Boerger"
|
name = "Thomas Boerger"
|
||||||
email = ""
|
email = "thomas@webhippie.de"
|
||||||
login = "tboerger"
|
login = "tboerger"
|
||||||
|
[people.athieriot]
|
||||||
|
name = "Aurélien Thieriot"
|
||||||
|
email = "a.thieriot@gmail.com"
|
||||||
|
login = "athieriot"
|
||||||
|
|
||||||
[org]
|
[org]
|
||||||
[org.core]
|
[org.core]
|
||||||
people = ["bradrydzewski", "Bugagazavr", "donny-dont", "jackspirou", "msteinert", "nlf", "tboerger"]
|
people = [
|
||||||
|
"bradrydzewski",
|
||||||
|
"Bugagazavr",
|
||||||
|
"donny-dont",
|
||||||
|
"jackspirou",
|
||||||
|
"msteinert",
|
||||||
|
"nlf",
|
||||||
|
"tboerger",
|
||||||
|
"athieriot"
|
||||||
|
]
|
||||||
|
8
Makefile
8
Makefile
@ -1,12 +1,14 @@
|
|||||||
.PHONY: clean deps fmt vet test docker
|
.PHONY: all clean deps fmt vet test docker
|
||||||
|
|
||||||
EXECUTABLE ?= drone-s3-sync
|
EXECUTABLE ?= drone-s3-sync
|
||||||
IMAGE ?= plugins/$(EXECUTABLE)
|
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/)
|
PACKAGES = $(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
|
all: deps build test
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
go clean -i ./...
|
go clean -i ./...
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
[![Coverage Status](https://aircover.co/badges/drone-plugins/drone-s3-sync/coverage.svg)](https://aircover.co/drone-plugins/drone-s3-sync)
|
[![Coverage Status](https://aircover.co/badges/drone-plugins/drone-s3-sync/coverage.svg)](https://aircover.co/drone-plugins/drone-s3-sync)
|
||||||
[![](https://badge.imagelayers.io/plugins/drone-s3-sync:latest.svg)](https://imagelayers.io/?images=plugins/drone-s3-sync:latest 'Get your own badge on imagelayers.io')
|
[![](https://badge.imagelayers.io/plugins/drone-s3-sync:latest.svg)](https://imagelayers.io/?images=plugins/drone-s3-sync:latest 'Get your own badge on imagelayers.io')
|
||||||
|
|
||||||
Drone plugin to synchronize a directory with an Amazon S3 Bucket
|
Drone plugin to synchronize a directory with an Amazon S3 Bucket. For the usage information and a listing of the available options please take a look at [the docs](DOCS.md).
|
||||||
|
|
||||||
## Binary
|
## Binary
|
||||||
|
|
||||||
|
4
main.go
4
main.go
@ -24,11 +24,11 @@ type result struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
buildDate string
|
buildCommit string
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Printf("Drone S3 Sync Plugin built at %s\n", buildDate)
|
fmt.Printf("Drone S3 Sync Plugin built from %s\n", buildCommit)
|
||||||
|
|
||||||
vargs := PluginArgs{}
|
vargs := PluginArgs{}
|
||||||
workspace := drone.Workspace{}
|
workspace := drone.Workspace{}
|
||||||
|
Loading…
Reference in New Issue
Block a user