Commit Graph

18 Commits

Author SHA1 Message Date
Stefan Prodan 9b5d9d0b2b
Update Git providers
- go-github v39.0.0
- go-bitbucket v0.9.26
- go-gitlab v0.50.4

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-09-17 12:43:51 +03:00
Philip Laine 8f3b685f17 Add self signed cert to provider
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-04-15 00:08:59 +02:00
Somtochi Onyekwere a99a0bc50d Use deepcopy method for event
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-03-22 09:40:16 +01:00
Philip Laine f030be325c Add support for GitHub enterprise client
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-03-17 20:30:01 +01:00
Philip Laine 11f732d852 Respect schema set by the provider url
Modify the Azure DevOps notifier to allow compatibiliy
with running behind a proxy.
Check existing commit statuses to avoid spamming the
same status when reconciling.

Signed-off-by: Philip Laine <philip.laine@xenit.se>
2021-03-05 16:12:59 +01:00
Philip Laine 2390a39b4b Add check for duplicate status to avoid spamming the same status
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-12-02 19:41:48 +01:00
Philip Laine bec9f9a32f Change error messages to start with lowercase
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-17 18:30:03 +01:00
Philip Laine feb2794f3a Change error message quoting
Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-17 15:11:41 +01:00
Philip Laine e812068c63 Verify repository id in git notifiers
The different git notifiers need repository ids in different formats.
On top of that some git providers support repositories in subgroups
while others do not support nesting. Each notifier needs test to verify
that they support their specific functionality.

Signed-off-by: Philip Laine <philip.laine@xenit.se>
2020-11-17 13:51:22 +01:00
Stefan Prodan 2437884a97
Change copyright to Flux authors
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-27 18:52:14 +02:00
Philip Laine c292355431 Skip progressing events for git notifiers 2020-09-19 12:10:07 +02:00
Philip Laine c17be73792 Change eventseverity check to use constant 2020-09-13 21:33:23 +02:00
Philip Laine e176655c9d Add gitlab notifier 2020-09-13 21:16:03 +02:00
Philip Laine 1e8230d55d Add revision to error message 2020-08-30 13:04:02 +02:00
Philip Laine c071b5e154 Make description lowercase and remove namespace from context 2020-08-29 16:56:30 +02:00
Philip Laine 029630b9ed Update status context and description 2020-08-26 20:46:17 +02:00
Philip Laine 8d81f037e3 Split reason camelcase into words 2020-08-26 20:46:17 +02:00
Philip Laine e321ee70fd Add github notifier 2020-08-26 20:46:10 +02:00