@@ -52,16 +52,17 @@ class BaseConfig:
52
52
DEFAULT_CLIENT_JAR_VER = "1.15"
53
53
54
54
ALL_BUILDERS = ['src' , 'render' , 'win32' ,
55
- 'win64' , 'deb32' , 'deb64' , 'centos7-64' ]
55
+ 'win64' , 'deb32' , 'deb64' , 'centos7-64' , 'centos8-64' ]
56
56
ENABLED_WORKERS = ['diax-stretch-64' ,
57
- 'diax-stretch-32' , 'ec2-windows' , 'diax-centos7-64' ]
57
+ 'diax-stretch-32' , 'ec2-windows' , 'diax-centos7-64' , 'diax-centos8-64' ]
58
58
59
59
# high-level worker list
60
60
# workers[name] = [... list of builders ...]
61
61
WORKERS_TO_BUILDERS = {
62
62
'diax-stretch-64' : ['src' , 'render' , 'deb64' ],
63
63
'diax-stretch-32' : ['src' , 'render' , 'deb32' ],
64
64
'diax-centos7-64' : ['centos7-64' ],
65
+ 'diax-centos8-64' : ['centos8-64' ],
65
66
'ec2-windows' : ['win32' , 'win64' ],
66
67
}
67
68
@@ -79,8 +80,8 @@ class DevConfig(BaseConfig):
79
80
BASE_URL = "http://localhost:8020"
80
81
ENABLE_GITHUB_AUTH = os .environ .get ("DISABLE_GITHUB_AUTH" ) is None
81
82
82
- ALL_BUILDERS = ['src' , 'render' , 'deb32' , 'deb64' , 'centos7-64' ]
83
- ENABLED_WORKERS = ['diax-stretch-64' , 'diax-stretch-32' , 'diax-centos7-64' ]
83
+ ALL_BUILDERS = ['src' , 'render' , 'deb32' , 'deb64' , 'centos7-64' , 'centos8-64' ]
84
+ ENABLED_WORKERS = ['diax-stretch-64' , 'diax-stretch-32' , 'diax-centos7-64' , 'diax-centos8-64' ]
84
85
85
86
86
87
ENV = os .environ .get ("ENV" , "production" )
@@ -563,7 +564,7 @@ def rpm(rpmbase, mockbase, mockconfig, rpmarch, mockarch):
563
564
yield MasterShellCommand (command = ["/root/rpmsign.sh" , upload_dest (".rpm" )], name = "sign package" , description = "signing" , descriptionDone = "signed" )
564
565
565
566
# link the new rpm into the repo
566
- system_map = {'centos6' : '6' , 'centos7' : '7' }
567
+ system_map = {'centos6' : '6' , 'centos7' : '7' , 'centos8' : '8' }
567
568
rpm_package_area = RPM_REPO / system_map [rpmbase ] / rpmarch / "packages"
568
569
569
570
yield MasterShellCommand (command = ["ln" , "-f" , upload_dest (".rpm" ), str (rpm_package_area )], name = "link into repo" , doStepIf = is_release_build , description = "linking into repo" , descriptionDone = "linked into repo" )
@@ -584,6 +585,10 @@ def centos6_64():
584
585
def centos7_64 ():
585
586
yield rpm ('centos7' , 'el7' , 'epel-7' , 'x86_64' , 'x86_64' )
586
587
588
+ @builder (locks = [rpm_build_lock .access ('exclusive' )])
589
+ def centos8_64 ():
590
+ yield rpm ('centos8' , 'el8' , 'epel-8' , 'x86_64' , 'x86_64' )
591
+
587
592
588
593
class RenderDirUpload (DirectoryUpload ):
589
594
def __init__ (self , * args , ** kwargs ):
0 commit comments