[Git][debian-gis-team/scripts][master] 2 commits: Don't limit KGB webhook to any status, disable job/build events.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Aug 19 14:22:24 BST 2022



Bas Couwenberg pushed to branch master at Debian GIS Project / scripts


Commits:
eb174050 by Bas Couwenberg at 2022-08-19T15:14:40+02:00
Don't limit KGB webhook to any status, disable job/build events.

- - - - -
88e8ad4d by Bas Couwenberg at 2022-08-19T15:21:00+02:00
Enable more KGB webhook events.

- - - - -


2 changed files:

- salsa-configure-repositories.pl
- salsa-create-repository.pl


Changes:

=====================================
salsa-configure-repositories.pl
=====================================
@@ -728,7 +728,6 @@ sub configure_kgb_webhook {
 		my $kgb_url = $cfg{kgb_baseurl}
 		            .'?channel='.uri_escape($cfg{irc_recipients})
 		            .'&network='.uri_escape($cfg{kgb_network})
-		            .'&pipeline_only_status=failed'
 		            ;
 
 
@@ -757,9 +756,11 @@ sub configure_kgb_webhook {
 			              merge_requests_events => 'true',
 			              tag_push_events       => 'true',
 			              note_events           => 'true',
-			              job_events            => 'true',
+			              job_events            => 'false',
 			              pipeline_events       => 'true',
-			              wiki_events           => 'true',
+			              wiki_page_events      => 'true',
+			              deployment_events     => 'true',
+			              releases_events       => 'true',
 			            );
 
 			print "param:\n".Dumper(\%param) if($cfg{debug});
@@ -799,9 +800,11 @@ sub configure_kgb_webhook {
 			              merge_requests_events => 'true',
 			              tag_push_events       => 'true',
 			              note_events           => 'true',
-			              job_events            => 'true',
+			              job_events            => 'false',
 			              pipeline_events       => 'true',
-			              wiki_events           => 'true',
+			              wiki_page_events      => 'true',
+			              deployment_events     => 'true',
+			              releases_events       => 'true',
 			            );
 
 			print "param:\n".Dumper(\%param) if($cfg{debug});


=====================================
salsa-create-repository.pl
=====================================
@@ -620,7 +620,6 @@ sub configure_kgb_webhook {
 		my $kgb_url = $cfg{kgb_baseurl}
 		            .'?channel='.uri_escape($cfg{irc_recipients})
 		            .'&network='.uri_escape($cfg{kgb_network})
-		            .'&pipeline_only_status=failed'
 		            ;
 
 		my $hook_id  = 0;
@@ -648,9 +647,11 @@ sub configure_kgb_webhook {
 			              merge_requests_events => 'true',
 			              tag_push_events       => 'true',
 			              note_events           => 'true',
-			              job_events            => 'true',
+			              job_events            => 'false',
 			              pipeline_events       => 'true',
-			              wiki_events           => 'true',
+			              wiki_page_events      => 'true',
+			              deployment_events     => 'true',
+			              releases_events       => 'true',
 			            );
 
 			print "param:\n".Dumper(\%param) if($cfg{debug});
@@ -690,9 +691,11 @@ sub configure_kgb_webhook {
 			              merge_requests_events => 'true',
 			              tag_push_events       => 'true',
 			              note_events           => 'true',
-			              job_events            => 'true',
+			              job_events            => 'false',
 			              pipeline_events       => 'true',
-			              wiki_events           => 'true',
+			              wiki_page_events      => 'true',
+			              deployment_events     => 'true',
+			              releases_events       => 'true',
 			            );
 
 			print "param:\n".Dumper(\%param) if($cfg{debug});



View it on GitLab: https://salsa.debian.org/debian-gis-team/scripts/-/compare/af024738da1065857152426fdb9ad4dc8afe9bc8...88e8ad4d5e916c826b1578de6b141744b4e1cb93

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/scripts/-/compare/af024738da1065857152426fdb9ad4dc8afe9bc8...88e8ad4d5e916c826b1578de6b141744b4e1cb93
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220819/f98bb551/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list