@@ -19,7 +19,6 @@ OSIXIA_OPENLDAP = "osixia/openldap"
1919PLUGINS_GIT_ACTION = "plugins/git-action:1"
2020PLUGINS_S3 = "plugins/s3"
2121PLUGINS_S3_CACHE = "plugins/s3-cache:1"
22- PLUGINS_SLACK = "plugins/slack:1"
2322POTTAVA_PROXY = "pottava/proxy"
2423SELENIUM_STANDALONE_CHROME_DEBUG = "selenium/standalone-chrome-debug:3.141.59-oxygen"
2524SELENIUM_STANDALONE_FIREFOX_DEBUG = "selenium/standalone-firefox-debug:3.8.1"
@@ -55,10 +54,6 @@ dir = {
5554}
5655
5756config = {
58- "rocketchat" : {
59- "channel" : "server" ,
60- "from_secret" : "rocketchat_talk_webhook" ,
61- },
6257 "branches" : [
6358 "master" ,
6459 ],
@@ -546,10 +541,7 @@ def main(ctx):
546541 afterCoverageTests = afterCoveragePipelines (ctx )
547542 dependsOn (coverageTests , afterCoverageTests )
548543
549- after = afterPipelines (ctx )
550- dependsOn (afterCoverageTests + nonCoverageTests + stages , after )
551-
552- return initial + before + coverageTests + afterCoverageTests + nonCoverageTests + stages + after
544+ return initial + before + coverageTests + afterCoverageTests + nonCoverageTests + stages
553545
554546def initialPipelines (ctx ):
555547 return dependencies (ctx ) + checkStarlark () + checkGitCommit ()
@@ -592,11 +584,6 @@ def afterCoveragePipelines(ctx):
592584 sonarAnalysis (ctx ),
593585 ]
594586
595- def afterPipelines (ctx ):
596- return [
597- notify (),
598- ]
599-
600587def dependencies (ctx ):
601588 pipelines = []
602589
@@ -2024,43 +2011,6 @@ def sonarAnalysis(ctx, phpVersion = DEFAULT_PHP_VERSION):
20242011
20252012 return result
20262013
2027- def notify ():
2028- result = {
2029- "kind" : "pipeline" ,
2030- "type" : "docker" ,
2031- "name" : "chat-notifications" ,
2032- "clone" : {
2033- "disable" : True ,
2034- },
2035- "steps" : [
2036- {
2037- "name" : "notify-rocketchat" ,
2038- "image" : PLUGINS_SLACK ,
2039- "settings" : {
2040- "webhook" : {
2041- "from_secret" : config ["rocketchat" ]["from_secret" ],
2042- },
2043- "channel" : config ["rocketchat" ]["channel" ],
2044- },
2045- },
2046- ],
2047- "depends_on" : [],
2048- "trigger" : {
2049- "ref" : [
2050- "refs/tags/**" ,
2051- ],
2052- "status" : [
2053- "success" ,
2054- "failure" ,
2055- ],
2056- },
2057- }
2058-
2059- for branch in config ["branches" ]:
2060- result ["trigger" ]["ref" ].append ("refs/heads/%s" % branch )
2061-
2062- return result
2063-
20642014def databaseService (db ):
20652015 dbName = getDbName (db )
20662016 if (dbName == "mariadb" ) or (dbName == "mysql" ):
0 commit comments