Commit Graph

5 Commits

Author SHA1 Message Date
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