[feat][core] offline vsphere from internal-ci CDN
vsphere networking can simulate full offline case w/o using public*
CND's
PRODX-13397
Change-Id: I46bbf6f56066323283a8a2f58415f1168217099e
diff --git a/src/com/mirantis/mk/KaasUtils.groovy b/src/com/mirantis/mk/KaasUtils.groovy
index 2927d76..9b5d1bf 100644
--- a/src/com/mirantis/mk/KaasUtils.groovy
+++ b/src/com/mirantis/mk/KaasUtils.groovy
@@ -82,7 +82,7 @@
def commitMsg = env.GERRIT_CHANGE_COMMIT_MESSAGE ? new String(env.GERRIT_CHANGE_COMMIT_MESSAGE.decodeBase64()) : ''
if (commitMsg ==~ /(?s).*\[mgmt-proxy\].*/ || env.GERRIT_EVENT_COMMENT_TEXT ==~ /(?s).*mgmt-proxy.*/) {
proxyConfig['mgmtOffline'] = true
- common.warningMsg('Forced running offline mgmt deployment, all provider CDN regions for mgmt deployment will be set to *public-ci* to verify proxy configuration')
+ common.warningMsg('Forced running offline mgmt deployment, some provider CDN regions for mgmt deployment may be set to *public-ci* to verify proxy configuration')
}
if (commitMsg ==~ /(?s).*\[seed-macos\].*/ || env.GERRIT_EVENT_COMMENT_TEXT ==~ /(?s).*seed-macos.*/) {
seedMacOs = true
@@ -187,7 +187,7 @@
def cdnConfig = [
mgmt: [
openstack: (proxyConfig['mgmtOffline'] == true) ? 'public-ci' : 'internal-ci',
- vsphere: (proxyConfig['mgmtOffline'] == true) ? 'public-ci' : 'internal-ci',
+ vsphere: 'internal-ci',
aws: 'public-ci',
],
]