Commit Graph

89 Commits

Author SHA1 Message Date
renovate[bot]
ddb37a6505
fix(deps): update module github.com/urfave/cli/v2 to v2.10.1 (#8) 2022-06-20 10:26:43 +02:00
Renovate Bot
bfefabf5c7 chore(deps): update dependency golangci/golangci-lint to v1.46.2 2022-05-30 04:29:07 +00:00
0a9d469dff
fix v2 imports 2022-05-29 13:41:22 +02:00
2732be2d93
bump major version in go mod 2022-05-29 13:34:04 +02:00
341056af2a
refcator: remove errors package (#5)
BREAKING CHANGE: The `errors` package was removed. Plugins should switch to the native `logrus.fatal()` function instead.
2022-05-29 13:16:06 +02:00
dcb03e1fa3
feat: group flags by categories (#6) 2022-05-29 13:15:31 +02:00
renovate[bot]
69400ab6b2
fix(deps): update module github.com/urfave/cli/v2 to v2.8.1 (#4) 2022-05-29 12:37:06 +02:00
renovate[bot]
6865da7ddc
fix(deps): update module github.com/urfave/cli/v2 to v2.7.1 (#3) 2022-05-20 16:16:46 +02:00
1629658a12
refactor: switch to forked thegeeklab/drone-plugin-lib (#2) 2022-05-03 22:43:18 +02:00
52c2cb457d
fix spellcheck 2022-05-03 22:09:18 +02:00
6f52970f95
update drone config 2022-05-03 22:05:50 +02:00
50ca21ff81
initial commit after fork 2022-05-03 22:03:37 +02:00
Thomas Boerger
bb91c11271
Merge pull request #25 from drone-plugins/renovate/github.com-urfave-cli-v2-2.x
Update module urfave/cli/v2 to v2.3.0
2020-11-22 23:03:32 +01:00
Renovate Bot
fc0e1a7fba
Update module urfave/cli/v2 to v2.3.0 2020-11-01 13:44:19 +00:00
Renovate Bot
8072074b1b Update module gotest.tools/v3 to v3.0.3 2020-10-22 07:29:16 -07:00
Renovate Bot
0adda039f6 Update module sirupsen/logrus to v1.7.0 2020-09-28 10:09:36 -07:00
Thomas Boerger
d9ee2016a8
Merge pull request #21 from drone-plugins/parse-message
Move commit message parsing to drone library
2020-09-16 14:43:57 +02:00
Don
156b01377d Move commit message parsing to drone library 2020-09-14 13:28:34 -07:00
Don
0ce4bf8655
Add CalVer support (#18) 2020-09-11 06:36:36 -07:00
Don
5113109fd1
Add String() implementations for some structs (#20) 2020-09-11 06:36:07 -07:00
Don
be2c206c20
Add missing fields for Build (#19)
Both DRONE_BUILD_LINK and DRONE_DEPLOY_ID were missing from the list of environment
variables in the drone-runner library.
2020-09-11 06:35:41 -07:00
Don
1f4e8862b8 Remove obsolete fields from Commit 2020-09-10 14:16:39 -07:00
Don
34686a8639 Fix documentation typo 2020-09-10 13:19:39 -07:00
Don
1304e6261a Format code 2020-09-10 13:06:29 -07:00
Don
c5ec06ee53 Split Author and Message from Commit
The drone-slack plugin has structs for Author and Message. Since this is the most
popular notification plugin it makes sense to follow along with it.
2020-09-10 11:58:01 -07:00
Don
a8409c1215 Remove deprecated field usage 2020-09-10 11:17:05 -07:00
Renovate Bot
d58d602210 Update golang Docker tag to v1.15 2020-09-10 11:17:05 -07:00
Thomas Boerger
29db00764f
Merge pull request #15 from drone-plugins/exitmessagef
Add errors.ExitMessagef
2020-06-01 22:37:37 +02:00
Don
e4701dca7e Add errors.ExitMessagef 2020-06-01 12:40:28 -07:00
Thomas Boerger
d945fc6a48
Merge pull request #14 from drone-plugins/renovate/github.com-sirupsen-logrus-1.x
Update module sirupsen/logrus to v1.6.0
2020-05-18 09:27:18 +02:00
Renovate Bot
d5deba5115
Update module sirupsen/logrus to v1.6.0 2020-05-02 13:30:46 +00:00
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