Skip to content

Commit ae2ccb8

Browse files
authored
Merge pull request #1010 from owncloud/change-mailhog-to-inbucket
[full-ci] [tests-only] Change mailhog test tag to email
2 parents 8045f08 + a1d8f01 commit ae2ccb8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.drone.star

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BANST_AWS_CLI = "banst/awscli"
22
DRONE_CLI = "drone/cli:alpine"
3-
MAILHOG_MAILHOG = "mailhog/mailhog"
3+
INBUCKET_INBUCKET = "inbucket/inbucket"
44
MINIO_MC = "minio/mc:RELEASE.2020-12-18T10-53-53Z"
55
OC_CI_ALPINE = "owncloudci/alpine:latest"
66
OC_CI_BAZEL_BUILDIFIER = "owncloudci/bazel-buildifier"
@@ -1133,7 +1133,7 @@ def acceptance(ctx):
11331133
makeParameter = "test-acceptance-cli"
11341134

11351135
if testConfig["emailNeeded"]:
1136-
environment["MAILHOG_HOST"] = "email"
1136+
environment["EMAIL_HOST"] = "email"
11371137

11381138
if testConfig["ldapNeeded"]:
11391139
environment["TEST_WITH_LDAP"] = True
@@ -1452,7 +1452,7 @@ def emailService(emailNeeded):
14521452
if emailNeeded:
14531453
return [{
14541454
"name": "email",
1455-
"image": MAILHOG_MAILHOG,
1455+
"image": INBUCKET_INBUCKET,
14561456
}]
14571457

14581458
return []
@@ -1463,7 +1463,7 @@ def waitForEmailService(emailNeeded):
14631463
"name": "wait-for-email",
14641464
"image": OC_CI_WAIT_FOR,
14651465
"commands": [
1466-
"wait-for -it email:8025 -t 600",
1466+
"wait-for -it email:9000 -t 600",
14671467
],
14681468
}]
14691469

0 commit comments

Comments
 (0)