Commit Graph

12 Commits

Author SHA1 Message Date
8ac84bd4c4
refactor: add more linters and fix findings (#27) 2023-02-08 10:16:01 +01:00
0a9d469dff
fix v2 imports 2022-05-29 13:41:22 +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
50ca21ff81
initial commit after fork 2022-05-03 22:03:37 +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
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
34686a8639 Fix documentation typo 2020-09-10 13:19:39 -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
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
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