Commit Graph

16 Commits

Author SHA1 Message Date
Stefan Prodan 749a6c4cb7
Update dependencies
- k8s.io/* v0.27.3
- cloud.google.com/go/pubsub v1.31.0
- github.com/Azure/azure-event-hubs-go/v3 v3.6.0
- github.com/getsentry/sentry-go v0.22.0
- github.com/google/go-github/v53 v53.2.0
- github.com/ktrysmt/go-bitbucket v0.9.60
- github.com/xanzy/go-gitlab v0.86.0
- github.com/fluxcd/pkg/runtime v0.39.0

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-06-27 11:16:42 +03:00
Stefan Prodan 13fe515890
Update dependencies
- github.com/Azure/azure-amqp-common-go/v4 v4.1.0
- github.com/Azure/azure-event-hubs-go/v3 v3.5.0
- github.com/fluxcd/pkg/runtime v0.35.0
- github.com/getsentry/sentry-go v0.20.0
- github.com/go-logr/logr v1.2.4
- github.com/google/go-github/v52 v52.0.0
- github.com/ktrysmt/go-bitbucket v0.9.56
- github.com/xanzy/go-gitlab v0.83.0
- golang.org/x/oauth2 v0.7.0
- sigs.k8s.io/controller-runtime v0.14.6

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-08 16:34:30 +03:00
Stefan Prodan 9f2d0e1a6c Generate unique commit status updates
Use the Provider cluster assigned UID to compose a unique commit status
ID to avoid name collisions when multiple clusters write to the same
repository.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-12-09 12:05:51 +00:00
Paulo Gomes 8d95dc087a
build: Improve fuzz tests' reliability
Establish conventions which aligns with what is supported upstream
today, whilst expanding on documentation to ensure folks have
pointers on how to debug/check for issues going forwards.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-11-23 14:56:32 +00:00
Stefan Prodan 224b12a2b8 Refactor notifiers to use Event API v1beta1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2022-11-22 11:00:25 +00:00
Paulo Gomes 5b1d1b1721
fuzz: Refactor Fuzzers based on Go native fuzzing
The existing fuzzers were converted into the Go native format.
Based on how the code was structured on this project, the fuzzers
can be quite effective, allowing for entire E2E fuzzing in some
cases, but with very low execution cost.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-09-07 10:46:29 +01:00
Stefan Prodan 6ffaef2a41
Update dependencies (fix CVE-2021-43565)
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2022-01-11 13:21:26 +02:00
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
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 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
Philip Laine e176655c9d Add gitlab notifier 2020-09-13 21:16:03 +02:00
Philip Laine 92c41630d5 Remove unused test 2020-08-31 20:37:01 +02:00
Philip Laine e321ee70fd Add github notifier 2020-08-26 20:46:10 +02:00