@@ -17,7 +17,6 @@ OSIXIA_OPEN_LDAP = "osixia/openldap"
1717PLUGINS_GITHUB_RELEASE = "plugins/github-release"
1818PLUGINS_S3 = "plugins/s3"
1919PLUGINS_S3_CACHE = "plugins/s3-cache:1"
20- PLUGINS_SLACK = "plugins/slack:1"
2120SELENIUM_STANDALONE_CHROME_DEBUG = "selenium/standalone-chrome-debug:3.141.59-oxygen"
2221SELENIUM_STANDALONE_FIREFOX_DEBUG = "selenium/standalone-firefox-debug:3.8.1"
2322SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli"
@@ -51,10 +50,6 @@ dir = {
5150}
5251
5352config = {
54- "rocketchat" : {
55- "channel" : "builds" ,
56- "from_secret" : "rocketchat_talk_webhook" ,
57- },
5853 "branches" : [
5954 "master" ,
6055 ],
@@ -214,10 +209,7 @@ def main(ctx):
214209 afterCoverageTests = afterCoveragePipelines (ctx )
215210 dependsOn (coverageTests , afterCoverageTests )
216211
217- after = afterPipelines (ctx )
218- dependsOn (afterCoverageTests + nonCoverageTests + stages , after )
219-
220- return before + coverageTests + afterCoverageTests + nonCoverageTests + stages + after
212+ return before + coverageTests + afterCoverageTests + nonCoverageTests + stages
221213
222214def beforePipelines (ctx ):
223215 return validateDailyTarballBuild () + codestyle (ctx ) + jscodestyle (ctx ) + phpstan (ctx ) + phan (ctx ) + phplint (ctx ) + checkStarlark ()
@@ -255,11 +247,6 @@ def afterCoveragePipelines(ctx):
255247 sonarAnalysis (ctx ),
256248 ]
257249
258- def afterPipelines (ctx ):
259- return [
260- notify (),
261- ]
262-
263250def codestyle (ctx ):
264251 pipelines = []
265252
@@ -1379,43 +1366,6 @@ def sonarAnalysis(ctx, phpVersion = DEFAULT_PHP_VERSION):
13791366
13801367 return result
13811368
1382- def notify ():
1383- result = {
1384- "kind" : "pipeline" ,
1385- "type" : "docker" ,
1386- "name" : "chat-notifications" ,
1387- "clone" : {
1388- "disable" : True ,
1389- },
1390- "steps" : [
1391- {
1392- "name" : "notify-rocketchat" ,
1393- "image" : PLUGINS_SLACK ,
1394- "settings" : {
1395- "webhook" : {
1396- "from_secret" : config ["rocketchat" ]["from_secret" ],
1397- },
1398- "channel" : config ["rocketchat" ]["channel" ],
1399- },
1400- },
1401- ],
1402- "depends_on" : [],
1403- "trigger" : {
1404- "ref" : [
1405- "refs/tags/**" ,
1406- ],
1407- "status" : [
1408- "success" ,
1409- "failure" ,
1410- ],
1411- },
1412- }
1413-
1414- for branch in config ["branches" ]:
1415- result ["trigger" ]["ref" ].append ("refs/heads/%s" % branch )
1416-
1417- return result
1418-
14191369def databaseService (db ):
14201370 dbName = getDbName (db )
14211371 if (dbName == "mariadb" ) or (dbName == "mysql" ):
0 commit comments