Skip to content

Commit 2ffe750

Browse files
Remove references to talk.owncloud.com (#1227)
* Remove talk.owncloud.com notification step * Remove unneeded dependsOn call --------- Co-authored-by: Phil Davis <phil@jankaritech.com>
1 parent a4cece9 commit 2ffe750

1 file changed

Lines changed: 1 addition & 51 deletions

File tree

.drone.star

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ OSIXIA_OPEN_LDAP = "osixia/openldap"
1717
PLUGINS_GITHUB_RELEASE = "plugins/github-release"
1818
PLUGINS_S3 = "plugins/s3"
1919
PLUGINS_S3_CACHE = "plugins/s3-cache:1"
20-
PLUGINS_SLACK = "plugins/slack:1"
2120
SELENIUM_STANDALONE_CHROME_DEBUG = "selenium/standalone-chrome-debug:3.141.59-oxygen"
2221
SELENIUM_STANDALONE_FIREFOX_DEBUG = "selenium/standalone-firefox-debug:3.8.1"
2322
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli"
@@ -51,10 +50,6 @@ dir = {
5150
}
5251

5352
config = {
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

222214
def 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-
263250
def 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-
14191369
def databaseService(db):
14201370
dbName = getDbName(db)
14211371
if (dbName == "mariadb") or (dbName == "mysql"):

0 commit comments

Comments
 (0)