synaestic
3f47a32767
Add DRONE_COMMIT_AUTHOR_NAME to commit.author.name mapping targets
2022-05-30 13:40:40 +02:00
Michael de Wit
e265499665
Fix #61 by correctly referencing PLUGIN_FROM.ADDRESS and PLUGIN_FROM.NAME
2022-04-26 18:09:02 +02:00
Michael de Wit
7340d3d417
Flip starttls flag to fix #58
2021-11-01 18:56:45 +01:00
Michael de Wit
c75190e21a
Merge pull request #57 from glaszig/starttls
...
allow disabling starttls
2021-10-31 14:36:27 +01:00
glaszig
16b20ece7a
allow disabling starttls
...
- use more up-to-date gomail fork
- add starttls option
2021-10-29 18:10:24 -03:00
Michael de Wit
5e36812d7f
Merge pull request #56 from tiggerlee2/master
...
Extended from configuration to support utf8 name
2021-10-21 07:12:24 +02:00
lishuangtai
027b1d4ab6
Extended from configuration to support utf8 name
2021-10-21 09:57:04 +08:00
Michael de Wit
13e990499d
Merge pull request #55 from dballard/master
...
upgrade from alpine linux 3.11 to 3.14 for newer SSL root certs (old …
2021-10-01 14:50:23 +02:00
Dan Ballard
258783d694
upgrade from alpine linux 3.11 to 3.14 for newer SSL root certs (old certs were now expired for some lets encrypt certs)
2021-09-30 13:51:18 -07:00
Michael de Wit
0d6a70a9a8
Merge pull request #53 from igal-SX/patch-2
...
add docker create for ARM
2021-09-15 16:21:36 +02:00
Michael de Wit
0d50aa9f2b
Merge pull request #52 from igal-SX/patch-1
...
Update Arm Dockerfile
2021-09-15 16:20:36 +02:00
igal-SX
c232253af7
add docker create for ARM
...
adding all relevant docker buildx commands for arm.
2021-09-14 22:03:03 +03:00
igal-SX
eb4d8f1c75
Update Arm Dockerfile
...
After several tries, the arm dockerfile is not working at all, and there is an error of the binary.
only change to golang 1.15 solve it
2021-09-14 21:58:41 +03:00
Michael de Wit
1d2b6deb8d
Add step settings under settings key in docs
2021-02-08 12:34:16 +01:00
Michael de Wit
5a6dd0b174
Focus docs on Drone v1 ( #46 )
2021-02-08 10:45:02 +01:00
Michael de Wit
537551cd38
Merge pull request #44 from BigeYoung/patch-1
...
solved #43
2020-12-07 09:17:22 +01:00
BigeYoung
e7c7a6ff3e
solved #43
...
When using external url, the character `>` is redundant.
2020-12-07 16:03:05 +08:00
Michael de Wit
5257b5ab04
Merge pull request #39 from xemle/feature/docker-arm
...
Update Dockerfile for arm architecture
2020-12-03 09:45:53 +01:00
Michael de Wit
e861696b04
Merge pull request #42 from s00500/master
...
Add options to load recipients from file (#41 )
2020-12-01 15:02:17 +01:00
Lukas Bachschwell
c139365a67
Add options to load recipients from file
...
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
2020-12-01 13:51:43 +01:00
Michael de Wit
28bc16668a
Merge pull request #40 from immerrr/add-workaround-for-kubernetes-runner
...
Use /run/drone/env as default PLUGIN_ENV_FILE, overwrite env vars with it
2020-08-02 12:28:25 +02:00
immerrr
e60e502514
Use /run/drone/env as default PLUGIN_ENV_FILE, overwrite env vars with it
...
It is required for the plugin to work correctly with Kubernetes runner, where
environment variables are created before the pipeline is finished and thus
initial DRONE_BUILD_STATUS is always "success".
Related discourse topic:
https://discourse.drone.io/t/drone-build-status-always-success-in-kubernetes/6627/2
Similar workaround in drone-slack:
59d3676b1c/main.go (L187-L189)
2020-07-31 19:57:28 +02:00
Sebastian Felis
b5d272586f
Update Dockerfile for arm architecture
2020-05-07 21:45:11 +02:00
Michael de Wit
8b63a0b1e1
Merge pull request #37 from loganmarchione/master
...
Update Go and Alpine
2020-04-30 08:25:10 +02:00
Logan Marchione
b52a299ce6
Update Go and Alpine
2020-04-23 11:33:29 -04:00
Michael de Wit
cac5229ecc
Merge pull request #34 from ekrgb/master
...
Extended configuration to allow to set the hostname of the smtp client.
2019-11-09 12:31:42 +01:00
harald
5203727773
Extended configuration to allow to set the hostname of the smtp client.
...
The value configured by 'clienthostname' is used by the gomail client
as hostname in the HELO command.
2019-11-06 17:57:05 +01:00
Michael de Wit
f39d409f1c
Merge pull request #32 from macejiko/master
...
Docs. Example for drone >=1.0 w settings
2019-10-19 10:22:45 +02:00
Bohdan Sukhov
a4dc88cd5e
Docs. Example for drone >=1.0 w settings
2019-10-07 12:47:52 +03:00
Matthias Wimmer
44396c108b
Make attachments optional ( #31 )
...
Don't fail if a attachment file doesn't exist.
2019-09-06 22:43:01 +02:00
Michael Schlies
17393400a4
Support multiple attachments ( #29 )
...
* Support multiple attachments
* Support single attachment syntax in addition to multiple
* Re-add import Goland removed while optimizing imports for me.
2019-08-23 18:06:45 +02:00
somax
20edd9c7e3
fix: invalid address
2018-02-27 19:00:49 +08:00
Michael de Wit
3d20d75dd8
Trigger automated build
2018-02-08 17:00:26 +01:00
Michael de Wit
0c46942410
Update to Docker Hub automated build
2018-02-08 16:50:01 +01:00
Michael de Wit
0dbfcce537
Update docs for Drone 0.6 and up
2018-01-16 16:48:28 +01:00
Michael de Wit
4242a88488
Fix issue in README example, close #21
2018-01-09 09:33:35 +01:00
Andreas Johansson
5520c5e8fe
Fixed example configuration ( #18 )
2017-09-22 14:04:44 +02:00
Michael de Wit
982dc51fc6
Add ability to attach a file to the sent mail(s)
2017-08-31 11:14:08 +02:00
Michael de Wit
f8088a6429
Exit with error code 1 if a recipient address is incorrect ( #16 )
2017-07-12 15:48:45 +02:00
Michael de Wit
ca0f94098b
Fix an issue where a mail would be sent to the same recipient twice
2017-01-24 14:39:13 +01:00
Michael de Wit
c9430e82e6
Add a temporary workaround for missing DRONE_BUILD_STARTED by using DRONE_BUILD_CREATED. Fixes #14
2017-01-24 14:20:41 +01:00
Michael de Wit
0888ac7f7e
Add all Drone env variables to template context
2017-01-17 10:58:35 +01:00
Michael de Wit
89bfb86f8f
Fix a bug in the Makefile
2017-01-16 15:15:52 +01:00
Michael de Wit
6917c02a54
Finish repository migration
2017-01-16 15:06:10 +01:00
Michael de Wit
f128c947ab
Refactor plugin to be compatible with Drone 0.5 ( #13 )
...
* Refactor plugin to be compatible with Drone 0.5
* Add vendor files
* Re-add logo.svg, make loading environment from .env file optional, and use drone-go/template
* Fix README
* Fix issue with date formatting, update the DOCS, and improve types
* Add working directory and volume mount to README example
2017-01-16 13:20:59 +01:00
Bugagazavr
73b37a0fd6
Merge pull request #9 from igoraj/master
...
Support email notification without SMTP auth.
2016-04-22 16:29:21 +04:00
Igor Ajdišek
f5a7199254
Support email notification without SMTP auth.
...
Even if .drone.yml does not specify username and password,
gomail.NewPlainDialer is still populated with them - albeit empty -
which means they are still being sent to SMTP server. In case of
Google's smtp-relay.gmail.com this will result in an error, even
if CI's server IP address is added to exclusion list allowing it to
skip auth entirely.
This commit constructs gomail.Dialer without username and password
if there was no username found in .drone.yml.
* Constructs gomail.Dialer without username when no username in .drone.yml
* Replaces gomail.NewPlainDialer with gomail.NewDialer
2016-04-22 13:55:28 +02:00
Thomas Boerger
725e06f997
Merge pull request #8 from drone-plugins/feature/additions
...
Makefile, gitignore and MAINTAINERS improvements
2016-02-26 00:02:01 +01:00
Thomas Boerger
b8b6558f87
Reference to DOCS.md from README.md for usage information
2016-02-26 00:00:29 +01:00
Thomas Boerger
98042fa960
Updated gitignore to respect also coverage.out
2016-02-21 11:38:17 +01:00