Commit Graph

58 Commits

Author SHA1 Message Date
renovate[bot]
5a0679f63b
Update module sirupsen/logrus to v1.5.0 (#13)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-24 08:58:27 -07:00
Thomas Boerger
2fa2b198ab
Merge pull request #12 from drone-plugins/renovate/github.com-urfave-cli-v2-2.x
Update module urfave/cli/v2 to v2.2.0
2020-03-12 10:53:20 +01:00
Renovate Bot
acef46d661
Update module urfave/cli/v2 to v2.2.0 2020-03-10 22:28:31 +00:00
Thomas Boerger
30ce1c10b2
Merge pull request #11 from drone-plugins/renovate/docker-golang-1.x
Update golang Docker tag to v1.14
2020-02-26 09:42:15 +01:00
Renovate Bot
a8f5728aa4
Update golang Docker tag to v1.14 2020-02-26 00:48:00 +00:00
Thomas Boerger
243861c706
Merge pull request #10 from drone-plugins/errors-pkg
Add errors package for exit code handling
2020-01-22 11:49:15 +01:00
Thomas Boerger
5f7190189d
Add errors package for exit code handling
To get a better exit code handling including logrus logging I have
defined a custom errors package which uses logrus to log error messages.
2020-01-22 11:46:49 +01:00
Thomas Boerger
7d346ea6f4
Merge pull request #9 from drone-plugins/better-separation
Better separation of network, logging and pipeline
2020-01-20 23:05:43 +01:00
Thomas Boerger
c46cfdde19
Better separation of network, logging and pipeline
I have reverted some last changes to get logging and network extraction
from context separated from the pipeline again as it has been before.
Feels much better to have it separated within the generated plugins.
2020-01-20 22:58:54 +01:00
renovate[bot]
ffc6705536 Update module urfave/cli/v2 to v2.1.1 (#8)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-03 12:49:21 -08:00
Thomas Boerger
f1d2fec0db
Merge pull request #7 from drone-plugins/restructure
Restructure the code accross more files
2019-12-21 23:36:02 +01:00
Thomas Boerger
54216f2c6a
Add description and badges to readme 2019-12-21 22:01:33 +01:00
Thomas Boerger
a20f13fdb0
Restructure the code accross more files
I have split the code into various files and beside that I have also
used more flat package structure. I have removed the whole constants for
flag names and environment variables, since nobody got to write these
flags manually anyway as all these variables are assigned to structs
all can benefit form code completion while this lib stays more readable.

Signed-off-by: Thomas Boerger <thomas@webhippie.de>
2019-12-21 21:55:01 +01:00
Don
b771a2a224 Expose whether SSL verification is skipped 2019-12-18 15:37:07 -08:00
renovate[bot]
8fb8284d71 chore(deps): add renovate.json (#2) 2019-12-17 12:54:59 -08:00
Thomas Boerger
1735ee431c
Merge pull request #6 from appleboy/cli
chore: upgrade urfave/cli to v2 version
2019-12-17 21:15:53 +01:00
Bo-Yi Wu
d1409d8531 chore: upgrade urfave/cli to v2 version 2019-11-23 11:56:16 +08:00
Don
a8475a3999 Add env var for log level 2019-10-29 15:16:36 -07:00
Don
049cce9e39 Skip should be regular bool flag 2019-10-29 14:37:15 -07:00
Don
f59267804f Downgrade to go 1.12 2019-10-11 16:56:51 -07:00
Don
60574b42f0 Remove golang 1.13 only value 2019-10-11 16:56:15 -07:00
Don
4914fdebc7 Just expose a single Flags function 2019-10-11 16:21:11 -07:00
Don
0324ae7edb Add SSL skip verify flag 2019-10-11 16:20:53 -07:00
Don
537cb2c489 Dont hard code trace level name 2019-10-11 15:50:57 -07:00
Don
c4d3e25a63 Remove timeout on client otherwise large files won't download 2019-10-11 15:27:55 -07:00
Don
0efd1b3902 Add opinionated Plugin interface 2019-10-11 11:38:22 -07:00
Don
d893f6373c Start fleshing out network helpers 2019-10-11 11:37:45 -07:00
Don
8ff841fbeb Add httptrace facility 2019-10-11 11:36:49 -07:00
Don
b693e76822 Add logging for urfave 2019-10-11 11:34:47 -07:00
Don
5c771365c5 Update urfave package docs 2019-10-10 13:42:02 -07:00
Don
e8e8ddcb17 Simplify exported urfave flags 2019-10-10 13:36:20 -07:00
Don
294ca8c890 Add Pipeline type 2019-10-10 13:05:11 -07:00
Don
99e18f9a03 Move environment variable definitions to an internal lib 2019-10-10 12:59:12 -07:00
Thomas Boerger
6b33d765ac
Merge pull request #1 from drone-plugins/start
Initial fleshing out of lib
2019-09-16 22:45:27 +02:00
Don
2955306f8d Add Transport to urfave 2019-09-09 18:04:09 -07:00
Don
3a8710d533 Cleanup pkg/plugin 2019-09-09 17:48:26 -07:00
Don
578305b3b6 Cleanup 2019-09-09 17:35:43 -07:00
Don
c7b7745e10 Add Context struct 2019-09-09 17:34:39 -07:00
Don
a3ef97d454 Add Build support in urfave 2019-09-09 17:14:53 -07:00
Don
799bb0f53a Sort lines 2019-09-09 17:03:34 -07:00
Don
703857da2f Add Build struct 2019-09-09 16:54:52 -07:00
Don
b9b4a23880 Add Commit support in urfave 2019-09-09 16:27:59 -07:00
Don
62b9912e0b Add Commit struct 2019-09-09 16:16:32 -07:00
Don
ac3fef34db Add SemVer support in urfave 2019-09-09 14:27:12 -07:00
Don
353ef0da17 Add SemVer struct 2019-09-09 14:26:56 -07:00
Don
364de76c24 Add Repo support in urfave 2019-09-09 14:02:13 -07:00
Don
25dcc45148 Add Repo struct 2019-09-09 14:02:00 -07:00
Don
df0859e244 Fix flag names for stage in urfave 2019-09-09 12:43:15 -07:00
Don
bd5c4ad55e Add parsing from the environment 2019-09-09 11:06:21 -07:00
Don
9095879384 Add BaseConfig 2019-09-06 17:33:15 -07:00