Skip to content

Commit efb77be

Browse files
BB - DEV | DockerLibrary, Wordpress - builders
Support for MariaDB#511 Master-NonLatent defines only one builder and one worker for dockerlibrary and wordpress. Rhel8 for Prod and Rhel9 for Dev. So only one builder should be triggered.
1 parent d664b4d commit efb77be

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

constants.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import yaml
2+
import os
23

34
DEVELOPMENT_BRANCH = "11.3"
45

@@ -40,13 +41,19 @@
4041

4142
# Special builders triggering
4243
builders_big = ["amd64-ubuntu-2004-bigtest"]
43-
builders_dockerlibrary = ["amd64-rhel8-dockerlibrary"]
4444
builders_eco = [
4545
"amd64-debian-10-eco-mysqljs",
4646
"amd64-debian-10-eco-pymysql",
4747
"amd64-ubuntu-2004-eco-php",
4848
]
49-
builders_wordpress = ["amd64-rhel8-wordpress"]
49+
50+
if os.getenv("ENVIRON") == "DEV":
51+
builders_wordpress = ["amd64-rhel9-wordpress"]
52+
builders_dockerlibrary = ["amd64-rhel9-dockerlibrary"]
53+
else:
54+
builders_wordpress = ["amd64-rhel8-wordpress"]
55+
builders_dockerlibrary = ["amd64-rhel8-dockerlibrary"]
56+
5057
builders_galera_mtr = [
5158
"aarch64-debian-12",
5259
"amd64-fedora-39",

0 commit comments

Comments
 (0)