[feat][core] manage sync binaries to public-ci during cross-component core-demo scenarios
us: https://mirantis.jira.com/browse/PRODX-6444
Change-Id: I7295d02b02785311ae140fb6bc80c2ff2712798a
diff --git a/src/com/mirantis/mk/KaasUtils.groovy b/src/com/mirantis/mk/KaasUtils.groovy
index e1c4841..478939d 100644
--- a/src/com/mirantis/mk/KaasUtils.groovy
+++ b/src/com/mirantis/mk/KaasUtils.groovy
@@ -272,6 +272,16 @@
}
}
if (triggers.awsOnDemandDemoEnabled) {
+ common.infoMsg('AWS demo triggered, need to sync artifacts in the public-ci cdn..')
+ switch (component) {
+ case 'iam':
+ build job: 'cdn-binary-dev-replication-iam', propagate: true, wait: true
+ break
+ case 'lcm':
+ build job: 'cdn-binary-dev-replication-lcm', propagate: true, wait: true
+ break
+ }
+
jobs["kaas-core-aws-patched-${component}"] = {
try {
common.infoMsg('Deploy: patched KaaS demo with AWS provider')