author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
422,509
05.06.2018 16:34:36
-14,400
18e1e4d88c456bf89174eabf645aa5e43b115892
Replace /etc/aptly-publisher.yaml -> /etc/aptly/publisher.yaml Closes bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Aptly.groovy", "new_path": "src/com/mirantis/mk/Aptly.groovy", "diff": "@@ -117,7 +117,7 @@ def promotePublish(server, source, target, recreate=false, components=null, pack\n}\n-def publish(server, config='/etc/aptly-publisher.yaml', recrea...
Groovy
Apache License 2.0
mirantis/pipeline-library
Replace /etc/aptly-publisher.yaml -> /etc/aptly/publisher.yaml Closes bug: PROD-20498 Change-Id: Ib605b175f4c30ec62260a89e25af57a3909d7ebf
422,557
05.06.2018 17:57:08
-14,400
829f94a86960949150934211667b97e12dc70130
Retry mongodb replica set initialization Mongodb instances may not be ready to be a part of RS, we have to wait for them sometime. Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -790,7 +790,12 @@ def installStacklight(master) {\n// Install MongoDB for Alerta\nif (salt.testTarget(master, 'I@mongodb:server')) {\n- salt.enforceState...
Groovy
Apache License 2.0
mirantis/pipeline-library
Retry mongodb replica set initialization Mongodb instances may not be ready to be a part of RS, we have to wait for them sometime. Change-Id: Ifd41883173814654eeb7ad51fd47a157a74704e9 Related-PROD: PROD-20452
422,557
06.06.2018 14:59:31
-14,400
225fb6c887d9f35fa2827fd7769e02d773b1767a
Fix Stacklight installation stage in the pipelines start SL docker swarm services after preparing configuration for them now alerta will be configured in the scope of prometheus state run Prometheus LTS runs after containerized Prometheus is deployed Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -793,15 +793,6 @@ def installStacklight(master) {\nsalt.enforceState(master, 'I@mongodb:server', 'mongodb')\n}\n- // Configure Alerta\n- if (salt.testTar...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix Stacklight installation stage in the pipelines - start SL docker swarm services after preparing configuration for them - now alerta will be configured in the scope of prometheus state run - Prometheus LTS runs after containerized Prometheus is deployed Change-Id: Ic615040fcef8d3f4383393b1ca2e0d25cbbf1f01 Related-P...
422,532
06.06.2018 11:54:15
-7,200
018a390ce09fdcbf87765d9f2d84bb9e7d179a6b
Added ES cluster health check in SL block Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -771,6 +771,8 @@ def installCicd(master) {\ndef installStacklight(master) {\ndef common = new com.mirantis.mk.Common()\ndef salt = new com.mirantis.mk.Sa...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added ES cluster health check in SL block Change-Id: Ic0034df0ef9245f9ddc29fd8d90c460949a0fe15 Closes-Bug: PROD-20507
422,532
07.06.2018 09:18:57
-7,200
ae2ccbc96566fdb0cfa2771d04b37731e216eebf
Add retries and batch=1 for ES & Kibana clients in SL Related-Bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -834,9 +834,13 @@ def installStacklight(master) {\nsalt.cmdRun(master, 'I@elasticsearch:client', \"curl -sf ${elasticsearch_vip}:${elasticsearch_port}/_c...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add retries and batch=1 for ES & Kibana clients in SL Change-Id: I0bceacecfda78c81f9fb3bf402be72883e3bc020 Related-Bug: PROD-20507
422,546
07.06.2018 10:51:02
-7,200
e3ace6219234768027e631276017998bc9f57c7a
retry fix for temporary dns failure resolution in slow envs
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -37,7 +37,9 @@ def installFoundationInfra(master, staticMgmtNet=false) {\n} catch (Throwable e) {\ncommon.warningMsg('Salt state salt.minion.base is not ...
Groovy
Apache License 2.0
mirantis/pipeline-library
retry fix for temporary dns failure resolution in slow envs Change-Id: If61b0533d1e2da0cf6e1d4483d5a3e9e96bd3096
422,532
08.06.2018 10:52:15
-7,200
b46fbc10f79b71bea80976c4b7d45dc861971dfc
Removed optional params in the retries method in SL block Related-Bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -842,11 +842,11 @@ def installStacklight(master) {\n}\ncommon.retry(retries,retries_wait) {\n- salt.enforceState(master, 'I@elasticsearch:client', 'elast...
Groovy
Apache License 2.0
mirantis/pipeline-library
Removed optional params in the retries method in SL block Change-Id: I1cd60c774ec0afaa22a9c1210a2dc89b04723eb9 Related-Bug: PROD-20507
422,521
11.06.2018 10:42:16
-7,200
082da3c24a7efed74abc5cf795c27845ee4273a9
Added force for pushing tags. Related:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Git.groovy", "new_path": "src/com/mirantis/mk/Git.groovy", "diff": "@@ -198,10 +198,10 @@ def mirrorGit(sourceUrl, targetUrl, credentialsId, branches, followTags = false,\n}\n}\nif (followTags == true) {\n- ssh.agentSh \"git push target --t...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added force for pushing tags. Change-Id: I68254e2e0260add611c5c48b8e34d93bf1eb98b6 Related: PROD-19330
422,521
07.06.2018 11:49:55
-7,200
86cfa4b51cb6bbe15d862909188f6682cfa2316d
Removed aptly states from CI/CD install.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -685,10 +685,6 @@ def installCicd(master) {\nsalt.fullRefresh(master, gerrit_compound)\nsalt.fullRefresh(master, jenkins_compound)\n- if (salt.testTarget...
Groovy
Apache License 2.0
mirantis/pipeline-library
Removed aptly states from CI/CD install. Change-Id: I85c22633c006f6c4b189f726bab02f8b03b4289d
422,521
12.06.2018 17:58:20
-7,200
838892ff0d719d099afc015e580700d1312378f2
Add helper methods for Jenkins jobs. Related:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/JenkinsUtils.groovy", "new_path": "src/com/mirantis/mk/JenkinsUtils.groovy", "diff": "@@ -75,3 +75,33 @@ def killStuckBuilds(maxSeconds, job){\n}\nreturn result\n}\n+\n+/**\n+ * Get Jenkins job object\n+ * @param jobName job name\n+ * @retu...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add helper methods for Jenkins jobs. Change-Id: Ia2fb03823737db8d0f9e660108701fd4c347598f Related: PROD-20159
422,489
14.06.2018 09:32:20
-7,200
dde1214f00d6e5272ffc39137e98ad8b15d5cf77
Add retry for glusterfs.client state to try to avoid Stale file handle error Fixes:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -169,7 +169,7 @@ def installInfra(master) {\n// Ensure glusterfs clusters is ready\nif (salt.testTarget(master, 'I@glusterfs:client')) {\n- salt.enforceS...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add retry for glusterfs.client state to try to avoid Stale file handle error Fixes: PROD-20530 Change-Id: Ib6d1e57e6baf622b0125388b92757af2ae99f327
422,516
10.06.2018 03:09:25
-7,200
20afb1515de6125a6485c0ee5adfe20a17aa31a3
Adding k8s rally test to pipe-library
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -245,60 +245,114 @@ def runTempestTests(master, target, dockerImageLink, output_dir, confRepository,\n*\n* @param target Host to run tests\n* @param dockerIm...
Groovy
Apache License 2.0
mirantis/pipeline-library
Adding k8s rally test to pipe-library https://mirantis.jira.com/browse/PROD-20314 Change-Id: Id4f84fcd92f4e0b5418ff4b62c1a20d816ea2b17
422,516
15.06.2018 14:14:13
-7,200
1788b4a4aef66b1d5d2abd3e36745cb0670fcc18
A small fix for k8s rally tests
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -315,7 +315,7 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, reposit\nwriteFile file: \"${tmp_dir}/kube.config\", text: kube_con...
Groovy
Apache License 2.0
mirantis/pipeline-library
A small fix for k8s rally tests Change-Id: Ia5a05a91cccedead17214bd590cfac1b8cd14fee
422,477
15.06.2018 16:36:38
18,000
e711ebb9d906d6dbef673408e7c1379a2ab08882
Add a possibility to specify branches for cvp repos
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -664,6 +664,11 @@ def runCleanup(master, target) {\ndef prepareVenv(repo_url, proxy) {\ndef python = new com.mirantis.mk.Python()\nrepo_name = \"${repo_url}\...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add a possibility to specify branches for cvp repos Change-Id: I5371654344b86474977547d9250123c82441856a
422,470
19.06.2018 13:52:17
-10,800
1d225c25d52f210dc0351cf12e2b55ad57d6d3d8
Add possiblity to uriByProperties in MCPArtifactory to return a full list of found artifact URLs
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy", "new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy", "diff": "@@ -32,14 +32,17 @@ def getBinaryBuildProperties(ArrayList customProperties) {\n}\n/**\n- * Get URL to artifact by properties\n- * Returns String wi...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add possiblity to uriByProperties in MCPArtifactory to return a full list of found artifact URLs Change-Id: Iae78dd60ad949e994d2159ebb545e20c30d6cc13
422,489
19.06.2018 13:47:07
-7,200
4830172bdb36871792cda3b48005badff46e8a27
Add retry for glusterfs.client state also to 'Install Stacklight' step Fixes:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -793,7 +793,7 @@ def installStacklight(master) {\n}\nif (salt.testTarget(master, 'I@glusterfs:client')) {\n- salt.enforceState(master, 'I@glusterfs:clien...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add retry for glusterfs.client state also to 'Install Stacklight' step Fixes: PROD-20530 Change-Id: I0465fe74bcee793a56c785b831d8931fec2386bd
422,540
19.06.2018 13:53:37
-7,200
b077775b50daa9e784f3c7ef6c79d818937c523a
Fix OpenContrail analytics in pipeline
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -573,6 +573,7 @@ def installContrailNetwork(master) {\nsalt.enforceStateWithExclude(master, \"I@opencontrail:control and *01*\", \"opencontrail\", \"open...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix OpenContrail analytics in pipeline PROD-20873 Change-Id: I1f0492cd9f7d476eb83bc9555ffc2b47e28c1d90
422,477
20.06.2018 14:53:19
18,000
0cda6e029000ef5d58632ffdc6f9c6b805f4c256
Change TOOLS_REPO parameter handling
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -469,16 +469,22 @@ def configureContainer(master, target, proxy, testing_tools_repo, tempest_repo,\nconf_script_path=\"\", ext_variables = []) {\ndef salt = ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Change TOOLS_REPO parameter handling Change-Id: Ic591281e62d7d2a4f4b38c817da054aa2a8e285c
422,442
21.06.2018 13:16:21
-14,400
9f8f0e116159800a071cf50d8ac1684871057dc9
Install auditd if enabled Closes-Bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -62,6 +62,11 @@ def installFoundationInfra(master, staticMgmtNet=false) {\nif (salt.testTarget(master, 'I@logrotate:server')) {\nsalt.enforceState(master...
Groovy
Apache License 2.0
mirantis/pipeline-library
Install auditd if enabled Change-Id: I647805f19689adfc500940397c38cdeb2f1f2396 Closes-Bug: https://mirantis.jira.com/browse/PROD-20860
422,458
22.06.2018 21:15:46
-10,800
f67e043c0ed7f9049efe4bd05f1675a0f0ff61f8
WA for stuck tests in docker images - extend
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -84,6 +84,9 @@ def setupAndTestNode(masterName, clusterName, extraFormulas, testDir, formulasSo\n}\n}\n}\n+ catch (Exception er) {\n+ common.in...
Groovy
Apache License 2.0
mirantis/pipeline-library
WA for stuck tests in docker images - extend Change-Id: I6043204004d3046e57e41be93527d5be5b35c043
422,477
27.06.2018 16:59:29
18,000
83e3e5cfc35ebcec9bde2df6d8ff1d712fe5b19a
W/A for CVP (offline deployments)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -675,10 +675,22 @@ def prepareVenv(repo_url, proxy) {\nrepo_name = repo_url.tokenize()[0].tokenize(\"/\").last()\n}\n}\n+ path_venv = \"${env.WORKSPACE}/venv...
Groovy
Apache License 2.0
mirantis/pipeline-library
W/A for CVP (offline deployments) Change-Id: If36188e5d085258082f146f1d6a6be8beea6e250
422,470
28.06.2018 03:01:34
-10,800
56c8ff330f3a03b8f375dc3f332559691d185b78
Refactor uriByProperties MCPArtifactory function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy", "new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy", "diff": "@@ -47,13 +47,13 @@ def uriByProperties(String artifactoryURL, LinkedHashMap properties, Boolean onl\ndef properties_str = ''\nfor (int i = 0; i < p...
Groovy
Apache License 2.0
mirantis/pipeline-library
Refactor uriByProperties MCPArtifactory function Change-Id: Ic2e417b5a4a345233d195901e3ddedd353b74bce
422,516
03.07.2018 22:10:56
-7,200
3e050d3b4071751c9784110461f1b4b9f6f33f1d
Adding --from-sysenv flag for k8s rally
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -301,33 +301,45 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, reposit\n}\n} else if (platform == 'k8s') {\nrally_extra_args = \...
Groovy
Apache License 2.0
mirantis/pipeline-library
Adding --from-sysenv flag for k8s rally Change-Id: I7038f2e1b8d1f40208af8dc84e9d02784db70e32
422,455
11.07.2018 16:58:54
-10,800
37fbd0cd57cfe54ee0252718f1f45c29cc2253b4
Remove unused parameter "physical" in installOpenstackNetwork The patch removes unused parameter from installOpenstackNetwork definition because of the fact that it is not used in any pipelines and function.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -500,7 +500,7 @@ def installManilaShare(master, extra_tgt = ''){\n}\n-def installOpenstackNetwork(master, physical = \"false\", extra_tgt = '') {\n+def i...
Groovy
Apache License 2.0
mirantis/pipeline-library
Remove unused parameter "physical" in installOpenstackNetwork The patch removes unused parameter from installOpenstackNetwork definition because of the fact that it is not used in any pipelines and function. Change-Id: Ia11974b3510114712d421e09841187b2e2fb0d71
422,525
11.07.2018 09:58:06
-7,200
3a851d57642106b90fd45a31b83561672d06df53
Hotfix: Remove docker ps cmd, wrong condition The line don't count with pillar docker:host:enabled=False and execute `docker ps` on hosts where docker was not installed. This patch fixes customer facing bug, where infrastructure is behind proxy then we globally define pillar docker:host:proxy, expecting hosts without e...
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -202,7 +202,7 @@ def installInfra(master, extra_tgt = '') {\n// Install docker\nif (salt.testTarget(master, \"I@docker:host ${extra_tgt}\")) {\nsalt.enfo...
Groovy
Apache License 2.0
mirantis/pipeline-library
Hotfix: Remove docker ps cmd, wrong condition The line don't count with pillar docker:host:enabled=False and execute `docker ps` on hosts where docker was not installed. This patch fixes customer facing bug, where infrastructure is behind proxy then we globally define pillar docker:host:proxy, expecting hosts without...
422,511
12.07.2018 16:11:14
-14,400
d49daf522e0de99a1d27ea9b99f49dd2f2af5876
Fix workdir for latest xrally images Related-Prod:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -234,7 +234,7 @@ def runTempestTests(master, target, dockerImageLink, output_dir, confRepository,\n}\ncmd += \"rally verify report --type json --to ${dest_fo...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix workdir for latest xrally images Change-Id: I9bf54c55789066e4fad8e9b1667b508649ca6e34 Related-Prod: PROD-21357
422,521
12.07.2018 19:01:33
-7,200
d9476acaa5da319bfd3dfe10ff2eb586363921ca
Fix usage of SaltStack batch. Related:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -64,10 +64,14 @@ def runSaltCommand(saltId, client, target, function, batch = null, args = null,\n'client': client,\n'expr_form': target.type,\n]\n- if(batch != null &...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix usage of SaltStack batch. Change-Id: Icf351c071ca780b673e943efa6f8a17fb4ed680e Related: PROD-21259
422,461
16.07.2018 18:46:18
-14,400
c28e9228b7dc5a15d1d6cd6f1645561c94a0430c
[mcp][common] Fix codenarc rules
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Common.groovy", "new_path": "src/com/mirantis/mcp/Common.groovy", "diff": "@@ -8,8 +8,8 @@ import org.yaml.snakeyaml.Yaml\n* fix groovy List.collect()\n**/\n@NonCPS\n-def constructString(ArrayList options, String keyOption, String separato...
Groovy
Apache License 2.0
mirantis/pipeline-library
[mcp][common] Fix codenarc rules Change-Id: I86541560c6e20d9333d86985658f8f83ba1514d2
422,465
18.07.2018 13:07:55
-7,200
855dc1aaf113718830f686b6183d9bea73544529
Added retry for linux network interface Related bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -48,7 +48,9 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\nif (staticMgmtNet) {\nsalt.runSaltProcessStep(master, \"* ${ext...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added retry for linux network interface Related bug: PROD-19696 Change-Id: I407dee84f56b7613552f4fb91ffe11f3bb02af13
422,481
20.07.2018 11:28:50
-14,400
742c49c468c4bf6ed59c1e1fe4f615e3e2d6b97e
Remove hardcode for tempest version
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -210,7 +210,7 @@ def runTempestTests(master, target, dockerImageLink, output_dir, confRepository,\nsalt.runSaltProcessStep(master, target, 'file.mkdir', [\"$...
Groovy
Apache License 2.0
mirantis/pipeline-library
Remove hardcode for tempest version Change-Id: I9493ec5e26c6f5822851d680d4d7ee016740cf39
422,521
20.07.2018 15:34:51
-7,200
449b8ffb33a8ec76edf720abb9fe243291eda5a9
Add retries for docker.host state to Orchestrate.groovy.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -203,7 +203,7 @@ def installInfra(master, extra_tgt = '') {\n// Install docker\nif (salt.testTarget(master, \"I@docker:host ${extra_tgt}\")) {\n- salt.en...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add retries for docker.host state to Orchestrate.groovy. Change-Id: I0097a5d542dcb255627b935ccfaeae8c5198e779
422,553
22.07.2018 12:01:07
-7,200
dd020d999aa04508b9249a0a73c089860dea6fc5
Fixing orchestrateSystem function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -667,10 +667,11 @@ def generateNodeMetadata(saltId, target, host, classes, parameters) {\n* @param saltId Salt Connection object or pepperEnv (the command will be sent...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixing orchestrateSystem function Change-Id: I45bd05bc7ae83465fcaf2147794ca7750bc2e1d3
422,553
22.07.2018 13:00:05
-7,200
b544070ded0c1e9ec475dc802ff429014aa60157
Adding salt.orchestratePrePost function This hash is valid orchestrate: pre_finalize: 1: orchestrator: zabbix.orchestrate.pre_finalize enabled: True
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -674,6 +674,42 @@ def orchestrateSystem(saltId, target, orchestrate=[], kwargs = null) {\nreturn runSaltCommand(saltId, 'runner', target, 'state.orchestrate', true, or...
Groovy
Apache License 2.0
mirantis/pipeline-library
Adding salt.orchestratePrePost function This hash is valid orchestrate: pre_finalize: 1: orchestrator: zabbix.orchestrate.pre_finalize enabled: True Change-Id: Ib372beda138e2992c75653f1b0f32712020ca2a6
422,553
22.07.2018 16:28:27
-7,200
88a48216fe3ef286b82770f1772847351b37dc14
Increasing default timeouts from 5m to 2H for orchestrators. Orchestrate job may run more than 5m. If timeout is not specified, job will fail with 504 Gateway Timeout error.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -671,7 +671,7 @@ def generateNodeMetadata(saltId, target, host, classes, parameters) {\n* @return output of salt command\n*/\ndef orchestrateSystem(saltId, target, orc...
Groovy
Apache License 2.0
mirantis/pipeline-library
Increasing default timeouts from 5m to 2H for orchestrators. Orchestrate job may run more than 5m. If timeout is not specified, job will fail with 504 Gateway Timeout error. Change-Id: I81bcd968b371b50cb43f3651b22ed776e9fca2ad
422,481
24.07.2018 15:29:46
-14,400
a6bc6d32c4a78e8d1c127874a6b818976b707cad
Replace single to double quotes in env_vars
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -210,7 +210,7 @@ def runTempestTests(master, target, dockerImageLink, output_dir, confRepository,\nsalt.runSaltProcessStep(master, target, 'file.mkdir', [\"$...
Groovy
Apache License 2.0
mirantis/pipeline-library
Replace single to double quotes in env_vars Change-Id: Ib045c7d5d20a74a6eb2549f58dbc328ff1373eb7
422,530
29.06.2018 16:04:30
-10,800
9e1d97a6a81b50201dec643ea01dcf0300b6e221
Adding orchestration methods New methods were added to be able to run orchestration states like "salt-run state.orchestrate ${app}.orchestrate.deploy". Moreover methods added to get configuration data from salt Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -539,3 +539,14 @@ def waitForInputThenPass(timeoutInSeconds, options=[message: 'Ready to go?']) {\n}\nreturn userInput\n}\n+\n+/**\n+ * Function receives Map varia...
Groovy
Apache License 2.0
mirantis/pipeline-library
Adding orchestration methods New methods were added to be able to run orchestration states like "salt-run state.orchestrate ${app}.orchestrate.deploy". Moreover methods added to get configuration data from salt Change-Id: Ia43f5871628b5a55099c5142cc9b29ae481d00a4 Related-PROD: PROD-19972
422,485
26.07.2018 20:41:53
-32,400
87aa39d9d635654320e74e36d8d6d912277b90a9
Allow deploying 1 nodes docker swarm cluster
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -700,7 +700,9 @@ def installDockerSwarm(master, extra_tgt = '') {\nsalt.runSaltProcessStep(master, \"I@docker:swarm ${extra_tgt}\", 'saltutil.refresh_mod...
Groovy
Apache License 2.0
mirantis/pipeline-library
Allow deploying 1 nodes docker swarm cluster Change-Id: I0bba025226becf6f8a977c92a373068d59189eb2
422,489
01.08.2018 11:35:11
-7,200
a2effb806c28b496283604432dfd6ab851403188
Handle different types of Salt cmd returns Fixes:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -248,9 +248,17 @@ def cmdRun(saltId, target, cmd, checkResponse = true, batch=null, output = true,\ndef node = out[\"return\"][i];\nfor(int j=0;j<node.size();j++){\nde...
Groovy
Apache License 2.0
mirantis/pipeline-library
Handle different types of Salt cmd returns Fixes: PROD-21843 Change-Id: I97c6804f43cb822e8b8f617a2582ef4d5e01acba
422,549
06.08.2018 15:11:58
-7,200
ee34e318b308c5f042bd4046b8c818e3bd649bef
fix docker host enabled Related:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -204,7 +204,7 @@ def installInfra(master, extra_tgt = '') {\n// Install docker\nif (salt.testTarget(master, \"I@docker:host ${extra_tgt}\")) {\nsalt.enfo...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix docker host enabled Change-Id: I4438ed1def2bddd7d8670edc5e707a029fe245ba Related: PROD-21825
422,489
06.08.2018 11:34:43
-7,200
c0bb4fd1679549adc278af9cd4bd0404e8f2d896
Add testtarget for installDockerSwarm Fixes:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -693,6 +693,7 @@ def installDockerSwarm(master, extra_tgt = '') {\ndef salt = new com.mirantis.mk.Salt()\n//Install and Configure Docker\n+ if (salt.test...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add testtarget for installDockerSwarm Fixes: PROD-21842 Change-Id: Ie808f697d5627f010e083cb02c81e736b8c010cc
422,511
07.08.2018 11:01:23
-14,400
c6e0bb6de92403f50bc237abd6475d7f18bfd1f3
Add skip list for rally OS scenarios Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -254,7 +254,7 @@ def runTempestTests(master, target, dockerImageLink, output_dir, confRepository,\n* @param ext_variables The list of external variables\n* @...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add skip list for rally OS scenarios Change-Id: Ib3185099b30447dff68fe922ddd8dc2135aeb7bc Related-PROD: PROD-21587
422,516
07.08.2018 14:52:10
-7,200
1fade2f96a6ae196b5c5568ad11bcc11f8e77980
Adding 'rally db recreate' cmd for new x-rally
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -327,9 +327,10 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, reposit\nwriteFile file: \"${tmp_dir}/k8s-client.crt\", text: k8s_...
Groovy
Apache License 2.0
mirantis/pipeline-library
Adding 'rally db recreate' cmd for new x-rally Change-Id: Ie730dea1ca403132521e99b642832bf82f16ff58
422,458
07.08.2018 17:22:54
-7,200
2b279d875d5969f6790ef05d860acc65493fd297
Add SaltModelTesting.testCCModel * Simple wrapper over setupAndTestNode * Decreese default SALT_STOPSTART_WAIT Partial-Bug: (PROD:22050)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -22,11 +22,11 @@ package com.mirantis.mk\ndef setupAndTestNode(masterName, clusterName, extraFormulas, testDir, formulasSource = 'pkg',\nformul...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add SaltModelTesting.testCCModel * Simple wrapper over setupAndTestNode * Decreese default SALT_STOPSTART_WAIT Change-Id: I85b6eac3ad19974283fedd17abe6e97edacf2c0e Partial-Bug: PROD-22050 (PROD:22050)
422,458
08.08.2018 10:52:10
-7,200
5ca0b72a1db17aedd58364c6708ade0edf5f6890
Add some verbose to SaltModelTesting.testCCModel result
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -177,10 +177,9 @@ def testCCModel(cfg) {\n'',\ncfg.DockerCName)\nif (testResult) {\n- common.infoMsg(\"testCCModel for model ${cfg.modelFile} f...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add some verbose to SaltModelTesting.testCCModel result Change-Id: I4d4b637f86e4a61be35a73a8b4e7f8320b7aa65d
422,458
08.08.2018 16:09:58
-7,200
a1ee5ac0e5420070a366f5e7ab57eeadc5431754
Update SaltModelTesting.groovy * Process extra deps for reclass[0] tests * Save rendered nodes data, for future purposes * This is quick WA. probably, tests should be extented with state salt.minion apply [0]
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -47,10 +47,23 @@ def setupAndTestNode(masterName, clusterName, extraFormulas, testDir, formulasSo\n\"DEBUG=1\", \"MASTER_HOSTNAME=${masterName}...
Groovy
Apache License 2.0
mirantis/pipeline-library
Update SaltModelTesting.groovy * Process extra deps for reclass[0] tests * Save rendered nodes data, for future purposes * This is quick WA. probably, tests should be extented with state salt.minion apply [0] https://github.com/salt-formulas/salt-formula-reclass/commit/1ad47606ae8472745d94a338148e1b6a27d59c...
422,530
08.08.2018 16:16:38
-10,800
0c0983874162b97cb56d79268897b3ab71561dbb
Raise exception for orchestrateSystem if failed It was observed that orchestrateSystem function results with SUCCESS in any case - even though the orchestration step finishes with failure. As of now result is being analized and exception is raised if orchestration step fails Related-PROD: Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -692,7 +692,22 @@ def orchestrateSystem(saltId, target, orchestrate=[], kwargs = null) {\n//Since the runSaltCommand uses \"arg\" (singular) for \"runner\" client this...
Groovy
Apache License 2.0
mirantis/pipeline-library
Raise exception for orchestrateSystem if failed It was observed that orchestrateSystem function results with SUCCESS in any case - even though the orchestration step finishes with failure. As of now result is being analized and exception is raised if orchestration step fails Change-Id: If822ab80bb23c4934253b750141b74...
422,455
09.08.2018 16:11:50
-10,800
826344881d6957f207af66429b33a93707fb3a6e
Changing deprecated heat CLI by openstack CLI Because of the fact that heat CLI commands has been depricated and don't support some functionality it should be replaced by openstack CLI ones.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -365,7 +365,7 @@ def installOpenstackControl(master, extra_tgt = '') {\nsalt.enforceState(master, \"I@heat:server ${extra_tgt}\", 'heat')\nif (salt.testT...
Groovy
Apache License 2.0
mirantis/pipeline-library
Changing deprecated heat CLI by openstack CLI Because of the fact that heat CLI commands has been depricated and don't support some functionality it should be replaced by openstack CLI ones. Change-Id: If734cc64e50bd2fa53345cb9d1b88019c4072d80
422,490
07.08.2018 13:42:16
18,000
ae6e16a0603a704d6db1c93eb934df0be7295a19
Fix for failing pipeline due to disabled log hosts Fixes: (PROD:22065)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -842,11 +842,18 @@ def installStacklight(master, extra_tgt = '') {\n}\n//Install Elasticsearch and Kibana\n- salt.enforceState(master, \"*01* and I@elast...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix for failing pipeline due to disabled log hosts Fixes: PROD-22065 (PROD:22065) Change-Id: Id6fbfb97180a206c7d59fe6822e44f99d4787d91
422,489
13.08.2018 11:27:06
-7,200
44331007877c7058401aa7a4f6ca1d8595b58523
Add parentheses to target definition Without parentheses ${extra_target} wouldn't work as expected
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -600,7 +600,7 @@ def installContrailNetwork(master, extra_tgt = '') {\nsalt.enforceStateWithExclude(master, \"I@opencontrail:collector ${extra_tgt}\", \"...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add parentheses to target definition - Without parentheses ${extra_target} wouldn't work as expected Change-Id: I803c6b3fd2397111397eceed9640a1893e5f5291
422,458
20.08.2018 18:18:15
-10,800
ab5637b0f2ad0b8eac9f456b83c37f75b3beccc1
Add mk.common.GetBaseName function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -699,3 +699,16 @@ def comparePillars(compRoot, b_url, findRegEx) {\nreturn 'No job changes'\n}\n}\n+\n+/**\n+ * Simple function, to get basename from string.\n+ * ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add mk.common.GetBaseName function Change-Id: I8bc1544e47ccb9883e9aa6a212785fd5c15efe9f
422,489
13.08.2018 16:05:08
-7,200
75e406471ba695ff4583705f23953aead11cd3bf
Add enforceStateWithTests method
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -164,6 +164,38 @@ def enforceStateWithExclude(saltId, target, state, excludedStates = \"\", output =\nreturn enforceState(saltId, target, state, output, failOnError, b...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add enforceStateWithTests method Change-Id: I9c135cc5efde7e18eb7c73a6e4ec31edc5aca28a
422,442
02.08.2018 09:35:07
-14,400
ca98091efb6b478a60fcb8494698d72a2defed52
Install openscap if enabled Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -74,6 +74,11 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\nif (salt.testTarget(master, \"I@auditd:service ${extra_tgt}\")...
Groovy
Apache License 2.0
mirantis/pipeline-library
Install openscap if enabled Related-PROD: https://mirantis.jira.com/browse/PROD-19955 Change-Id: Ic23e4d90dc804fbe56fea0ef86faf4846db3a48f
422,516
04.09.2018 20:42:21
-7,200
40e502cf2081e4b15941c2e29f309038c7126ea8
Making up rally tests refactor/merge k8s/os branches make a single function for bundling up rally scenarios add stacklight plugin usage Related-task:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -240,6 +240,37 @@ def runTempestTests(master, target, dockerImageLink, output_dir, confRepository,\naddFiles(master, target, results, output_dir)\n}\n+/**\n+...
Groovy
Apache License 2.0
mirantis/pipeline-library
Making up rally tests - refactor/merge k8s/os branches - make a single function for bundling up rally scenarios - add stacklight plugin usage Change-Id: Ie82c6280e54c792920de1e2e4b6e1cb6dd5c501d Related-task: PROD-22044
422,477
03.08.2018 16:11:10
18,000
5f73cf65a908f6a8e7e4af655ee12cd7d97e7cf5
Fix for cvp-ha for mcp with OC4
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -638,7 +638,7 @@ def check_vm_status(master, target, kvm) {\n*/\ndef get_vip_node(master, target) {\ndef salt = new com.mirantis.mk.Salt()\n- def list = salt...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix for cvp-ha for mcp with OC4 Change-Id: I918098ef93022d3642ef196aad7527e520d4fd42
422,537
20.08.2018 18:54:23
-14,400
eb61741f2e1544f5299eddaae5b140e3aa467b0d
Add common steps to installKubernetesControl In case of existing cloud, bootstrapping new control should apply linux, salt.minion, ntp, openssh and docker states. Also certs should be recreated. Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -648,6 +648,18 @@ def installKubernetesInfra(master, extra_tgt = '') {\ndef installKubernetesControl(master, extra_tgt = '') {\ndef salt = new com.mirant...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add common steps to installKubernetesControl In case of existing cloud, bootstrapping new control should apply linux, salt.minion, ntp, openssh and docker states. Also certs should be recreated. Change-Id: I923a33ba8625432f287f8b6a5a386a74925cdf9c Related-PROD: PROD-21979
422,477
27.06.2018 16:45:17
18,000
1f4a6ffe5b00accbff6ed0e698ee3824eb93f6f9
Add 2 methods (runContainer, runPyTests) to support containers for pytest CVP frameworks. Related-PROD: Related-PROD: Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -8,11 +8,13 @@ package com.mirantis.mcp\n/**\n* Run docker container with basic (keystone) parameters\n+ * For backward compatibility. Deprecated.\n+ * Will ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add 2 methods (runContainer, runPyTests) to support containers for pytest CVP frameworks. Related-PROD: PROD-21318 Related-PROD: PROD-21317 Related-PROD: PROD-21316 Change-Id: I92ec4592e672fc5a93b1aff88fc3d707b0fe5846
422,477
25.05.2018 18:11:30
18,000
77896d4af00c42d6155802f7a60cd2971c8d1223
Enable checkResponse for rally and tempest execution, get rid of log files Related-PROD: Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -438,19 +438,17 @@ def runCVPtempest(master, target, test_pattern=\"set=smoke\", skip_list=\"\", output\ndef salt = new com.mirantis.mk.Salt()\ndef xml_file ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Enable checkResponse for rally and tempest execution, get rid of log files Related-PROD: PROD-22924 Related-PROD: PROD-22780 Change-Id: I1d7e4808487868dfa9da82a659c012bcf960eadf
422,477
07.09.2018 18:16:59
18,000
198dd687bb2ab9c0e86c409c9105e3f6fe34a4ce
Remove tempest_version hardcode, add description Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -484,12 +484,12 @@ def runSptTests(master, target, dockerImageLink, output_dir, ext_variables = [],\n* @param testing_tools_repo Repo with testing tools: con...
Groovy
Apache License 2.0
mirantis/pipeline-library
Remove tempest_version hardcode, add description Related-PROD: PROD-22778 Change-Id: Idc10d37a77116e5c9f5f64832f46379e31fff914
422,458
10.09.2018 14:25:13
-10,800
ed1d63e52a61bf953fbde61f1d81cb9ff76bfbd8
gerritPatchsetCheckout: allow to disable GerritTriggerBuildChooser class
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -16,6 +16,8 @@ import com.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.GerritCause\n* - withMerge, merge master before build\n* - withLocalBranch, prev...
Groovy
Apache License 2.0
mirantis/pipeline-library
gerritPatchsetCheckout: allow to disable GerritTriggerBuildChooser class Change-Id: I45bc16b3688c90e9cbf93a419584b88e30ec82d5
422,537
10.09.2018 16:55:13
-14,400
c8d5f8f6e1616beb75640002f537c90607d3c9a7
Fix targets on kubernetes Control and Compute setups Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -651,19 +651,19 @@ def installKubernetesControl(master, extra_tgt = '') {\nsalt.fullRefresh(master, \"* ${extra_tgt}\")\n// Bootstrap all nodes\n- salt.e...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix targets on kubernetes Control and Compute setups Change-Id: I1f912c1a286b68e9f53a425487a7bc70b46ff14b Related-PROD: PROD-22982
422,458
11.09.2018 12:47:15
-10,800
c8ecdfd4e3917711aeb598eaf691e97e16d623cb
Fix validInputParam for 'Null' case
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -447,8 +447,11 @@ def parseJSON(jsonString) {\n* @param paramName input parameter name (usually uppercase)\n*/\ndef validInputParam(paramName) {\n+ if (paramName i...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix validInputParam for 'Null' case Change-Id: I4be42ebd93594644c1e3ed64bf540ca1f108dd15
422,471
11.09.2018 16:36:13
-14,400
4551f371f0e9144755732c1b7296a1591e84760b
Run comparePillars function in parallel Related-Bug: (PROD:23066)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -617,6 +617,7 @@ def diffCheckMultidir(diffData) {\n* return - html-based string\n* TODO: allow to specify subdir for results?\n**/\n+\ndef comparePillars(compRoot...
Groovy
Apache License 2.0
mirantis/pipeline-library
Run comparePillars function in parallel Related-Bug: PROD-23066 (PROD:23066) Change-Id: If7e4b4e8095c982a9a834bbf2883f21d8bb988dc
422,458
12.09.2018 17:00:04
-10,800
b4e0c44ee186f692b3e7fe6eb03b2ff7a714c996
Extend setupAndTestNode EXTRA_FORMULAS logic * Perform auto-ident Related-Bug: (PROD:23127)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -5,7 +5,7 @@ package com.mirantis.mk\n*\n* @param masterName salt master's name\n* @param clusterName model cluster name\n- * @param extraFormu...
Groovy
Apache License 2.0
mirantis/pipeline-library
Extend setupAndTestNode EXTRA_FORMULAS logic * Perform auto-ident Related-Bug: PROD-23127 (PROD:23127) Change-Id: I4ddece7250dcdee6d849fe90eea92d30f3a0e708
422,458
13.09.2018 12:27:04
-10,800
28e6757cee0a4ead12e008e2e3247616fd6795a3
Fix default EXTRA_FORMULAS logic
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -34,6 +34,7 @@ def setupAndTestNode(masterName, clusterName, extraFormulas = '*', testDir, form\nif (!extraFormulas.contains('*') && formulasSo...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix default EXTRA_FORMULAS logic Change-Id: Ic5743ed369dd12b1b98622735f0c4f25019886f9
422,458
13.09.2018 13:02:54
-10,800
635affb425a7d1333a5213808bc58853d12f7b75
Fix setupAndTestNode installALl Formulas Logic
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -31,10 +31,12 @@ def setupAndTestNode(masterName, clusterName, extraFormulas = '*', testDir, form\ndef img = docker.image(\"mirantis/salt:salts...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix setupAndTestNode installALl Formulas Logic Change-Id: I1d923738517a65a904490434411c71d5c54bc12f
422,471
12.09.2018 13:28:21
-14,400
6fd79ac395c76ca5e6bf34804c927d8cc69ea3c8
Add new function for running Salt/Reclass in Docker Related-bug: (PROD:22115)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "package com.mirantis.mk\n+/**\n+ * Setup Docker to run some tests. Returns true/false based on\n+ were tests successful or not.\n+ * @param config...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add new function for running Salt/Reclass in Docker Related-bug: PROD-22115 (PROD:22115) Change-Id: Ibbba9cfb87b9221f17e4df8e524128ce46fd82e6
422,449
22.08.2018 15:10:05
-14,400
3c9fcf1f96df62986f2ff9028246e56593a2e5f5
Fix octavia installation in case of aio deployment In case of aio deployment for testing purposes octavia api and manager services are run on the same node. Run explicitly 'octavia.api' and 'octavia.manager' instead of calling 'octavia' on the expected appropriate node. Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -416,8 +416,8 @@ def installOpenstackControl(master, extra_tgt = '') {\n// Install octavia api service\nif (salt.testTarget(master, \"I@octavia:api ${ext...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix octavia installation in case of aio deployment In case of aio deployment for testing purposes octavia api and manager services are run on the same node. Run explicitly 'octavia.api' and 'octavia.manager' instead of calling 'octavia' on the expected appropriate node. Related-PROD: PROD-22019 Change-Id: If37c00b8...
422,458
14.09.2018 13:19:16
-10,800
1cecc09cdf06cc9c7218977f1b9b05b29027fd22
Add deprecation warning for testCCModel|setupAndTestNode func Related-bug: (PROD:22115)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -236,6 +236,10 @@ def setupAndTestNode(masterName, clusterName, extraFormulas = '*', testDir, form\nformulasRevision = 'stable', reclassVersion...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add deprecation warning for testCCModel|setupAndTestNode func Change-Id: I761873ecfc649038fe1e6832f6e835d42eb3556f Related-bug: PROD-22115 (PROD:22115)
422,458
20.09.2018 12:17:24
-10,800
a57c82a6bb8861934db0da3c4cc1a3b1889cdd20
comparePillars add newline tag by default
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -710,7 +710,7 @@ def comparePillars(compRoot, b_url, grepOpts) {\n}\nreturn description.toString()\n} else {\n- return 'No job changes'\n+ return '<b>No job change...
Groovy
Apache License 2.0
mirantis/pipeline-library
comparePillars add newline tag by default Change-Id: I298242e1d1c315cb8585372f9f414bd39a705d90
422,458
25.09.2018 17:45:07
-10,800
5141e44f26c6103e145c31b80fadd057d5a3729a
Fix checkRemoteBinary check-logic
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -830,7 +830,7 @@ def checkRemoteBinary(LinkedHashMap config, List extraScmExtensions = []) {\nif (config.get('verify', true)) {\nMirrorRootStatus = sh(script: \"wg...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix checkRemoteBinary check-logic Change-Id: I61f91d7413ff3dfb67c2f46347810c4be119e960
422,540
26.09.2018 11:27:20
-7,200
470b3312d63207c0d7c14678143cc57225b6c5be
Fix k8s+OC order, install pool.service before addons Related-Bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -673,8 +673,12 @@ def installKubernetesControl(master, extra_tgt = '') {\n// Install docker\nsalt.enforceState(master, \"I@docker:host ${extra_tgt}\", 'd...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix k8s+OC order, install pool.service before addons Related-Bug: PROD-23351 Change-Id: Ib5c5c3cbd9ea001a3d2838bbe6bb26c1404e2bbe
422,471
26.09.2018 13:25:49
-14,400
eded0d4e5caebc652cce7dbb6827f01073d1517a
Add function to update job env var Related-Bug: (PROD:23343)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -837,3 +837,22 @@ def checkRemoteBinary(LinkedHashMap config, List extraScmExtensions = []) {\n}\nreturn res\n}\n+\n+/**\n+ * Workaround to update env properties, ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add function to update job env var Change-Id: I77ead3ff73c361de5d2527c172c3df8139acb6e4 Related-Bug: PROD-23343 (PROD:23343)
422,489
15.08.2018 09:37:32
-7,200
675dc94eb1f978ddf6a2859db8c53ad0bb405de2
Replace testTarget-enforceState with enforceStateWithTest
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -61,24 +61,16 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\nsalt.enforceState(master, \"* ${extra_tgt}\", ['linux.network...
Groovy
Apache License 2.0
mirantis/pipeline-library
Replace testTarget-enforceState with enforceStateWithTest Change-Id: I7b70fbfc773f96e198e3d51ecb05c1dd4ba76925
422,489
27.09.2018 15:29:23
-7,200
92db3e113a1a822ed88093facacdf167b3bbadd9
Fix enforceStateWithTest to not result in Error in case of missing optional param
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -189,9 +189,10 @@ def enforceStateWithTest(saltId, target, state, testTargetMatcher = \"\", output =\nreturn enforceState(saltId, target, state, output, failOnError, b...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix enforceStateWithTest to not result in Error in case of missing optional param Change-Id: Ib85c301ef73e0d66baff1603b276b17e1cae3e27
422,471
27.09.2018 17:42:58
-14,400
6d3cc23499053773116b6f5e5fbd8a5a4f716413
Add missed common definition for mergeEnv function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -846,6 +846,7 @@ def checkRemoteBinary(LinkedHashMap config, List extraScmExtensions = []) {\n* @param extraVars - Multiline YAML text with extra vars\n*/\ndef mer...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add missed common definition for mergeEnv function Change-Id: I0cbd106b5d32714a9530ecf2dab22e828818adf3
422,489
27.09.2018 15:57:19
-7,200
2be0d4bf8ba2212874fd08cdd3ef7c5d9fd0bf2d
Fix typo - missing param
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -178,7 +178,7 @@ def installInfra(master, extra_tgt = '') {\n}\n// Ensure glusterfs clusters is ready\n- salt.enforceStateWithTest(master, \"I@glusterfs:...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix typo - missing param Change-Id: Idcedc88665b4528000840ae018b9af3512fd3553
422,471
28.09.2018 15:24:37
-14,400
599bd63d8b3b61fb3be739a2a068c258a16cd0af
Add wrapper around parallel function to restrict number of threads Related-bug: (PROD:23465)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -857,3 +857,31 @@ def mergeEnv(envVar, extraVars) {\ncommon.errorMsg(\"Can't update env parameteres, because: ${e.toString()}\")\n}\n}\n+\n+/**\n+ * Wrapper around...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add wrapper around parallel function to restrict number of threads Change-Id: Ib54c5bfcd0426ed084fb4a87bd882037f4733b21 Related-bug: PROD-23465 (PROD:23465)
422,537
02.10.2018 20:52:08
-14,400
7655fa44b4c6d3939759bb6c1efd9f16366b6aca
Setup kube-addon-manager on all k8s masters Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -626,8 +626,7 @@ def installKubernetesControl(master, extra_tgt = '') {\n}\n// Run k8s master setup\n- first_target = salt.getFirstMinion(master, \"I@kub...
Groovy
Apache License 2.0
mirantis/pipeline-library
Setup kube-addon-manager on all k8s masters Change-Id: I0bed08c65591e2afb6e738037a3a072cf79b765f Related-PROD: PROD-21703
422,471
12.09.2018 19:25:41
-14,400
b090a765c16bc3f0ce228b95a7fe022329f82ee4
Add function to check new Reclass version in Docker Related-bug: (PROD:22115)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -5,7 +5,7 @@ package com.mirantis.mk\nwere tests successful or not.\n* @param config - LinkedHashMap with configuration params:\n* dockerHostna...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add function to check new Reclass version in Docker Related-bug: PROD-22115 (PROD:22115) Change-Id: I5bc430abda865b34f3448f7aca3cb0104de6dd98
422,458
05.10.2018 14:35:37
-10,800
9aadf52ab2d363da4d766de5247173cabf350686
Implement and switch docker-test to use bin-reclass * Add common.debianExtraRepos function Closes-Bug: (PROD:22476)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -885,3 +885,44 @@ def runParallel(branches, maxParallelJob = 10) {\nparallel branches\n}\n}\n+\n+/**\n+ * Ugly processing basic funcs with /etc/apt\n+ * @param con...
Groovy
Apache License 2.0
mirantis/pipeline-library
Implement and switch docker-test to use bin-reclass * Add common.debianExtraRepos function Closes-Bug: PROD-22476 (PROD:22476) Change-Id: I1caa8d17b1cfd7f84eb8f8383ce5e54ae3dceb16
422,458
05.10.2018 15:09:06
0
b20bd2637ef7ff858c7c242ce35529c5dbffd842
Implement and switch docker-test to use bin-reclass * Add common.debianExtraRepos function * Misc: drop duplicate import common from comparePillars Closes-Bug: (PROD:22476)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -619,7 +619,7 @@ def diffCheckMultidir(diffData) {\n**/\ndef comparePillars(compRoot, b_url, grepOpts) {\n- common = new com.mirantis.mk.Common()\n+\n// Some globa...
Groovy
Apache License 2.0
mirantis/pipeline-library
Implement and switch docker-test to use bin-reclass * Add common.debianExtraRepos function * Misc: drop duplicate import common from comparePillars Closes-Bug: PROD-22476 (PROD:22476) Change-Id: Idf6ffc57502fc9d756b3bfd489f666ca0165b145
422,458
05.10.2018 20:40:27
-10,800
abcf42e2dac45d6b07aed6bc0c65c3b6a79d8fff
Allign FORMULAS_REVISION=> distribRevision
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -908,7 +908,7 @@ def runParallel(branches, maxParallelJob = 10) {\ndef debianExtraRepos(configYaml) {\ndef config = readYaml text: configYaml\n- def distribRevisio...
Groovy
Apache License 2.0
mirantis/pipeline-library
Allign FORMULAS_REVISION=> distribRevision Change-Id: I64b2a325d58f466fddfab986388ffe71f958d32a
422,558
08.10.2018 12:19:47
-7,200
85ad1a9252cf7a53febf3bb4eb51f661ad0beeef
OC: don't call installBackup in installContrailNetwork In case cassandra backup schedule is enabled at the model level, configuring backups before all computes are deployed will break deployment.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -544,7 +544,7 @@ def installContrailNetwork(master, extra_tgt = '') {\nsalt.enforceStateWithExclude(master, \"I@opencontrail:collector ${extra_tgt}\", \"...
Groovy
Apache License 2.0
mirantis/pipeline-library
OC: don't call installBackup in installContrailNetwork In case cassandra backup schedule is enabled at the model level, configuring backups before all computes are deployed will break deployment. PROD-22844 Change-Id: I58b976a7c14523d31aa429a1e6ca898d69f45f4b
422,477
11.09.2018 15:23:18
18,000
4bcf07f0f5fe240aa7e97d65480968b72bfdceb2
[CVP] Add method to fetch v3 or v2 keystone credentials Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -27,6 +27,55 @@ def runBasicContainer(master, target, dockerImageLink=\"xrally/xrally-openstack:0\n\"-e OS_REGION_NAME=${keystone.region} -e OS_ENDPOINT_TYPE...
Groovy
Apache License 2.0
mirantis/pipeline-library
[CVP] Add method to fetch v3 or v2 keystone credentials Related-PROD: PROD-22773 Change-Id: Ib11146be005f6fb90f3cf007f2db16686154ef9e
422,471
10.10.2018 17:36:04
-14,400
c6b24bec7890930348f709799cdaa5b89f429a08
Reclass package should not be installed by default during Docker tests
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -94,7 +94,7 @@ repo:\ncommon.debianExtraRepos(extraReposYaml)\nsh('''#!/bin/bash -xe\napt-get update\n- apt-get install -y python-netaddr recla...
Groovy
Apache License 2.0
mirantis/pipeline-library
Reclass package should not be installed by default during Docker tests Change-Id: I73e7bf296de0f5c4d6596077285dafcff3653dd2
422,471
11.10.2018 15:11:28
-14,400
395aa21e23c4d3c0dc10db4fcafeb900a08e01d1
Fix using distribRevision parameter in extraRepo config Yaml DistribReviosion was hardcoded by mistake, however it was parametrized in function. Also add ability to operate with repo_key gpg
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -892,28 +892,31 @@ def runParallel(branches, maxParallelJob = 10) {\n* Example :\nconfigYaml = '''\n---\n- distrib_revision: 'nightly'\naprConfD: |-\nAPT::Get::All...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix using distribRevision parameter in extraRepo config Yaml DistribReviosion was hardcoded by mistake, however it was parametrized in function. Also add ability to operate with repo_key gpg Change-Id: I700628393be698711d8f83fa959dd897d4528e3d
422,471
12.10.2018 12:21:29
-14,400
3c752a5f3ae50c8219d8f3180ea9b4825d6b610c
Switch extra repo URL based on MCP version Related-bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -43,6 +43,21 @@ def setupDockerAndTest(LinkedHashMap config) {\n\"--name=${dockerContainerName}\",\n\"--cpus=${dockerMaxCpus}\"\n]\n+ // extra ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Switch extra repo URL based on MCP version Change-Id: I7ade4f03c8b3fc529b857daf5aea3a20fc47646b Related-bug: PROD-23892
422,459
12.10.2018 13:16:47
-14,400
6394a8a7fb55b23274235a799a904ef36c360327
Add repositories before running any other states Make sure we have all apt repositories in place before we run any package installation in other states (e.g. in salt.minion.base). Closes-bug: #PROD-23296 (PROD:23296)
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -36,6 +36,8 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\nsalt.enforceState(master, \"I@salt:master ${extra_tgt}\", ['sal...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add repositories before running any other states Make sure we have all apt repositories in place before we run any package installation in other states (e.g. in salt.minion.base). Change-Id: Ide334d78c75f7809b68ca05e6eadaaeb1bce77ba Closes-bug: #PROD-23296 (PROD:23296)
422,471
10.10.2018 19:38:03
-14,400
d54f60f15271eb851db13f316cc771d465c44b4c
Add ability to test model against Reclass source code Related-bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -888,7 +888,7 @@ def runParallel(branches, maxParallelJob = 10) {\n/**\n* Ugly processing basic funcs with /etc/apt\n- * @param configYaml\n+ * @param configYaml Y...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add ability to test model against Reclass source code Related-bug: PROD-21847 Change-Id: I455e733ac7473d210c90261fefdf7dc2142e0b9b
422,516
17.10.2018 01:07:10
-7,200
aaeb51f5cb00bb9e8547352c33cc8fe7e4a39d1d
Generate rally reports for all tasks Related-bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -494,8 +494,11 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, config_\nbreak\n}\n}\n- cmd_rally_report= \"rally task export --ty...
Groovy
Apache License 2.0
mirantis/pipeline-library
Generate rally reports for all tasks Change-Id: I269b61fdf8bfe129332b61b7e523046df4c0dd72 Related-bug: https://mirantis.jira.com/browse/PROD-23572
422,516
17.10.2018 16:11:25
-7,200
491942d68a259ae9535551d3209a968e99ef0598
Use http scheme for k8s rally Related-bug:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/Validate.groovy", "new_path": "src/com/mirantis/mcp/Validate.groovy", "diff": "@@ -452,7 +452,7 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, config_\ndef _pillar = salt.getPillar(master, 'I@kubernetes:master ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Use http scheme for k8s rally Change-Id: Iabdfa0c208eae61acb4543e831b3bcaf7469a886 Related-bug: https://mirantis.jira.com/browse/PROD-23235
422,471
17.10.2018 16:45:56
-14,400
6c2e3ae42a77db46af5da6d1cef927e44fbe3283
Add common function for cookiecutter-model generation
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -269,6 +269,87 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = null, t\necho(\"[Cookiecutter build] Output: ${output}\")\n}\n+/**\n+ *\...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add common function for cookiecutter-model generation Change-Id: If96a5a004d72a5b5e906aa40809f6ba7ac4ba53a
422,471
18.10.2018 15:51:45
-14,400
fa2c6756a48cd9c1d6d5cafca77130a12c2f3e2a
Add missed common package definition for generateModel function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -279,6 +279,7 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = null, t\n* @return\n*/\ndef generateModel(context, contextName, saltMaste...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add missed common package definition for generateModel function Change-Id: I5ed90ca7b21155f9e788388fdb2b046bcf01a132
422,471
18.10.2018 16:14:05
-14,400
c0a492a1b2f122b5b54a9d2d30fdac278222a86f
Fix typo for SetupDockerAndTest function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -92,7 +92,7 @@ repo:\n\"\"\"\ndef extraRepoMergeStrategy = config.get('extraRepoMergeStrategy', 'merge')\ndef extraReposYaml = null\n- if (defa...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix typo for SetupDockerAndTest function Change-Id: If55bbb2ee7a59d5e88f3c728ae6619705c9d16a6
422,471
18.10.2018 16:21:55
-14,400
c3e8e36982ad7a5ec2af1e849c933444dcc070c8
Avoid reading empty yaml variable which is not supported by readYaml
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -93,9 +93,10 @@ repo:\ndef extraRepoMergeStrategy = config.get('extraRepoMergeStrategy', 'merge')\ndef extraReposYaml = null\nif (extraRepoMerg...
Groovy
Apache License 2.0
mirantis/pipeline-library
Avoid reading empty yaml variable which is not supported by readYaml Change-Id: Ibea272402c6bc7af18e49df49d24a415f59b07c3
422,471
18.10.2018 16:26:09
-14,400
ea2567e206e049c4ca4210557f881daa8b15c896
Define dockerOptsFinal in correct place for SetupDockerAndTest
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -43,6 +43,7 @@ def setupDockerAndTest(LinkedHashMap config) {\n\"--name=${dockerContainerName}\",\n\"--cpus=${dockerMaxCpus}\"\n]\n+ def docker...
Groovy
Apache License 2.0
mirantis/pipeline-library
Define dockerOptsFinal in correct place for SetupDockerAndTest Change-Id: I5b6b98fe1fc8e685ff1a954f9488d07d9f427932
422,504
09.10.2018 07:44:24
0
822241050cc2f5ba66c97d8b7b12cd54f3ab1f44
Fix octavia manager installation mine.update should be exectuted on the nodes where neutron client is installed, currenly working only for cases where client is installed on salt master node. Also added setting up for octavia client. Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -466,10 +466,11 @@ def installOpenstackNetwork(master, extra_tgt = '') {\n// install octavia manager services\nif (salt.testTarget(master, \"I@octavia:ma...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix octavia manager installation mine.update should be exectuted on the nodes where neutron client is installed, currenly working only for cases where client is installed on salt master node. Also added setting up for octavia client. Related-PROD: PROD-24246 Change-Id: I86b6c5c86b4035084caa927765b6c51b3a56d541
422,471
19.10.2018 17:47:53
-14,400
e02a1b25698f0dbcd8276c6df49be6f6bb7a4724
Implement pinning options for extra repo as map object for Docker tests
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -928,10 +928,13 @@ def runParallel(branches, maxParallelJob = 10) {\nrepo:\nmcp_saltstack:\nsource: \"deb [arch=amd64] http://mirror.mirantis.com/nightly/saltstack...
Groovy
Apache License 2.0
mirantis/pipeline-library
Implement pinning options for extra repo as map object for Docker tests Change-Id: I8a8ff7f6b8201b5b8e5c5580d52c653e7bada9c6
422,504
25.10.2018 11:15:58
-14,400
ea9848ce4eb7fe8247e413338fe8b1e4e7e90daa
Add retry for running salt.minion for octavia manager Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -451,6 +451,7 @@ def installManilaShare(master, extra_tgt = ''){\ndef installOpenstackNetwork(master, extra_tgt = '') {\ndef salt = new com.mirantis.mk.S...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add retry for running salt.minion for octavia manager Related-PROD: PROD-24371 Change-Id: I9c522924d1d1d2755c5558d03cc6cb2841b40a39
422,504
25.10.2018 17:04:58
-14,400
4905976ad2d5f1d858bf1e9b938c17eaa802cbfc
Add retry for salt.minion state Related-PROD:
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -53,7 +53,10 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\n}\nsleep(5)\nsalt.enforceState(master, \"I@linux:system ${extr...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add retry for salt.minion state Change-Id: I53e8ea7915802bd6ddbfd170e152996378091c3a Related-PROD: PROD-24371