@@ -136,6 +136,7 @@ def checkDeploymentTestSuite() {
136
136
def enableBMDemo = true
137
137
def enablebmCoreDemo = env. ALLOW_BM_CORE_ON_DEMAND ? env. ALLOW_BM_CORE_ON_DEMAND . toBoolean() : false
138
138
def bmCoreCleanup = env. BM_CORE_CLEANUP ? env. BM_CORE_CLEANUP . toBoolean() : true
139
+ def airGapped = env. ALLOW_AIRGAP ? env. ALLOW_AIRGAP . toBoolean() : false
139
140
def enableArtifactsBuild = true
140
141
def bmDeployType = env. BM_DEPLOY_TYPE ? env. BM_DEPLOY_TYPE . toString() : ' virtual'
141
142
def openstackIMC = env. OPENSTACK_CLOUD_LOCATION ? env. OPENSTACK_CLOUD_LOCATION : ' us'
@@ -411,6 +412,10 @@ def checkDeploymentTestSuite() {
411
412
bmCoreCleanup = false
412
413
}
413
414
415
+ if (commitMsg ==~ / (?s).*\[ air-gapped\] .*/ || env. GERRIT_EVENT_COMMENT_TEXT ==~ / (?s).*air-gapped\\ .*/ ) {
416
+ airGapped = true
417
+ }
418
+
414
419
if (commitMsg ==~ / (?s).*\[ disable-vsphere-demo\] .*/ || env. GERRIT_EVENT_COMMENT_TEXT ==~ / (?s).*disable-vsphere-demo\. */ ) {
415
420
enableVsphereDemo = false
416
421
common. errorMsg(' vSphere demo deployment will be aborted, VF -1 will be set' )
@@ -727,6 +732,7 @@ def checkDeploymentTestSuite() {
727
732
BM Core type deplyment: ${ bmDeployType}
728
733
BM Core cleanup: ${ bmCoreCleanup}
729
734
BM provider deployment scheduled: ${ enableBMDemo}
735
+ airGapped deployment: ${ airGapped}
730
736
Ubuntu on vSphere scheduled: ${ enableVsphereUbuntu}
731
737
RHEL on vSphere scheduled: ${ enableVsphereRHEL}
732
738
Artifacts build scheduled: ${ enableArtifactsBuild}
@@ -816,6 +822,7 @@ def checkDeploymentTestSuite() {
816
822
bmCoreDemoEnabled : enablebmCoreDemo,
817
823
bmCoreCleanup : bmCoreCleanup,
818
824
bmDeployType : bmDeployType,
825
+ airGapped : airGapped,
819
826
osDemoEnabled : enableOSDemo,
820
827
vsphereUbuntuEnabled : enableVsphereUbuntu,
821
828
vsphereRHELEnabled : enableVsphereRHEL,
@@ -1172,6 +1179,7 @@ def triggerPatchedComponentDemo(component, patchSpec = '', configurationFile = '
1172
1179
booleanParam(name : ' AIO_CLUSTER' , value : triggers. aioCluster),
1173
1180
booleanParam(name : ' DOCKER_SERVICES_CHECK_SKIP' , value : triggers. dockerServicesCheckSkip),
1174
1181
booleanParam(name : ' BM_CORE_CLEANUP' , value : triggers. bmCoreCleanup),
1182
+ booleanParam(name : ' ALLOW_AIRGAP' , value : triggers. airGapped),
1175
1183
booleanParam(name : ' DISABLE_KUBE_API_AUDIT' , value : triggers. disableKubeApiAudit),
1176
1184
booleanParam(name : " AUDITD_ENABLE" , value : triggers. auditdEnabled),
1177
1185
booleanParam(name : ' CORE_KEYCLOAK_LDAP_ENABLED' , value : triggers. coreKeycloakLdapEnabled),
0 commit comments