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,464
23.03.2017 15:55:14
-3,600
77ba3b2a83291699469ccc89c03ce9e4b85d1a34
Fixed node key in error asking
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -304,7 +304,7 @@ def checkResult(result, failOnError = true) {\nif(askOnError){\ndef prettyResource = prettyPrint(toJson(resource)).replace('\\\\n', System.getProperty...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed node key in error asking Change-Id: Ia33cbdbeca939a331c2f3a66a2782ed9a38f1af2
422,494
23.03.2017 19:06:59
-3,600
c76c1e060f3064ceb3bcb8c6608212670b4dba16
fix checkContains
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -385,10 +385,10 @@ def checkContains(variable, keyword) {\nif (v instanceof String && keyword instanceof String) {\nreturn v.toLowerCase().contains(keyword.toLower...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix checkContains Change-Id: If0e0a97a02abba406bf9d1750c8d810526cc315a
422,464
23.03.2017 19:51:32
-3,600
7a8dea2c85b71d98596a21dd6c31128e76a23200
Fixed checkContains function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -379,15 +379,8 @@ def cutOrDie(cmd, index)\n*/\ndef checkContains(variable, keyword) {\n- if (binding.variables.containsKey(variable)) {\n- v = binding.variables[v...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed checkContains function Change-Id: Ifa79e88f0e76014abd78ea35a59dae145e56769e
422,464
24.03.2017 13:52:24
-3,600
b41c8d5fbe734c1c5401d84c912e941fec29db9d
Moved pretty-printing to own function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "package com.mirantis.mk\n+import static groovy.json.JsonOutput.prettyPrint\n+import static groovy.json.JsonOutput.toJson\n/**\n*\n* Common functions\n@@ -86,6 +88,15 ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Moved pretty-printing to own function Change-Id: I641fed7801975b04dcfc36b773d0f3b5900afb0d
422,464
24.03.2017 14:13:09
-3,600
43f62bca444df5ddccd3ebc0d185236093333de4
Simplified ASK_ON_ERROR handling
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -267,12 +267,6 @@ def runSaltProcessStep(master, tgt, fun, arg = [], batch = null, output = false)\n*/\ndef checkResult(result, failOnError = true) {\ndef common = new...
Groovy
Apache License 2.0
mirantis/pipeline-library
Simplified ASK_ON_ERROR handling Change-Id: I37f628b079cca1840346feb25835404d203835d4
422,468
24.03.2017 13:57:25
-3,600
c3a8b970790746b58ee8d75b89a154faed4c9f52
Git operations checkout and push
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Git.groovy", "new_path": "src/com/mirantis/mk/Git.groovy", "diff": "@@ -47,6 +47,22 @@ def getGitCommit() {\nreturn git_commit\n}\n+/**\n+ * Change actual working branch of repo\n+ *\n+ * @param path Path to the git repository\n+ * @param b...
Groovy
Apache License 2.0
mirantis/pipeline-library
Git operations checkout and push Change-Id: I503b0835186dfcf9a8dd7290ebb7cb1df55cb72a
422,494
27.03.2017 13:53:05
-7,200
dad7b4617399261a810ed61b4191f4e5335ce958
rename buildCookiecutterTemplate to *Config
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -227,13 +227,13 @@ def setupCookiecutterVirtualenv(path) {\n* @param path Path where virtualenv is created\n*/\ndef buildCookiecutterTemplate(template, context, ou...
Groovy
Apache License 2.0
mirantis/pipeline-library
rename buildCookiecutterTemplate to *Config Change-Id: Id8b1f355be16b7ddee9a565f02c049a3b7d983fb
422,464
27.03.2017 14:11:01
-7,200
b77c081d8e01b5cc741fb074cd6b3f480db9abaa
Optimalize salt results printing
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "package com.mirantis.mk\n+import java.util.stream.Collectors\n/**\n* Salt functions\n*\n@@ -334,6 +335,7 @@ def printSaltStateResult(result, onlyChanges = true) {\ndef no...
Groovy
Apache License 2.0
mirantis/pipeline-library
Optimalize salt results printing Change-Id: I75dfb480c956a0626117d9c290eb1e4368d701ff
422,494
27.03.2017 14:27:50
-7,200
e0912671e49436677713da445e9bfc5c028f8e1d
fix typho in cookicutter template generator
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -230,7 +230,7 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = none) {\nconfigFile = \"default_config.yaml\"\nconfigString = \"default_c...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix typho in cookicutter template generator Change-Id: I4888872e00be01ad02bbc013a6dbda1c47229906
422,494
27.03.2017 15:12:43
-7,200
df7bebc9170f089737cc55c4c358517c6fc2dfd9
set user before commit It is necessary to set git user/email before commit, not before push.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Git.groovy", "new_path": "src/com/mirantis/mk/Git.groovy", "diff": "@@ -103,6 +103,9 @@ def createGitBranch(path, branch) {\ndef commitGitChanges(path, message) {\ndef git_cmd\ndir(path) {\n+ sh \"git config --global user.email 'jenkins@loc...
Groovy
Apache License 2.0
mirantis/pipeline-library
set user before commit It is necessary to set git user/email before commit, not before push. Change-Id: I790525f2cbb444895e229e58ce07e38413e3f5f3
422,464
27.03.2017 15:41:28
-7,200
8021c002f63ac2e2d935850594e9d436eb8dfe3e
Removed extra informations in salt exceptions, fixed escaping.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -139,7 +139,7 @@ def enforceState(master, target, state, output = true, failOnError = true) {\nif (output == true) {\nprintSaltStateResult(out)\n}\n- checkResult(out, ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Removed extra informations in salt exceptions, fixed escaping. Change-Id: Ie11765caa33a7ad91bcb55b7bd695e40e16d7d62
422,464
28.03.2017 13:34:57
-7,200
2f25cf2314cfde14182bab5d2b0693ae897682c2
Implemented batch option on salt states
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -49,7 +49,7 @@ def saltLogin(master) {\n* @param target Target specification, eg. for compound matches by Pillar\n* data: ['expression': 'I@openssh:server', 'type': 'c...
Groovy
Apache License 2.0
mirantis/pipeline-library
Implemented batch option on salt states Change-Id: I3f98a73c8fb9aaf4a4da6fe552cb6d60693c8b5f
422,520
28.03.2017 16:02:13
-7,200
96a1e8a7b4d3ffba8fe546ebce24c2a8de78acf5
Add path in gerrit.groovy
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -37,6 +37,7 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\ndef gerritPort = config.get('gerritPort', GERRIT_PORT)\ndef gerritProject = config.get('gerritPr...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add path in gerrit.groovy Change-Id: I87e832b795fbb9d6eca6c237572e85369a96da12
422,464
28.03.2017 16:33:46
-7,200
0164dc17eaa3628d062e077d7f5661564eae89ab
Try to silent virtualenv creating log
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -33,7 +33,7 @@ def setupVirtualenv(path, python = 'python2', reqs = []) {\n* @param cmd Command to be executed\n*/\ndef runVirtualenvCommand(path, cmd) {\n- virtua...
Groovy
Apache License 2.0
mirantis/pipeline-library
Try to silent virtualenv creating log Change-Id: I1ed24fc0a9e49732e2004942ab485e5f91d14563
422,520
29.03.2017 10:51:59
-7,200
7d25fc941ca53993689c9e1d8476fdbe12fb3ffd
Extend gerritPatchsetCheckout to support timeout and depth
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -38,11 +38,15 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\ndef gerritProject = config.get('gerritProject', GERRIT_PROJECT)\ndef gerritBranch = config.get...
Groovy
Apache License 2.0
mirantis/pipeline-library
Extend gerritPatchsetCheckout to support timeout and depth Change-Id: I66039cbd73c12138b133b22ba795544ee5b8c39b
422,464
29.03.2017 14:55:33
-7,200
71c46a63c481d0b032d3c312247e46c1972f0dfb
Improved env property handling in Gerrit.groovy
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -31,12 +31,13 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\ndef merge = config.get('withMerge', false)\ndef wipe = config.get('withWipeOut', false)\ndef c...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved env property handling in Gerrit.groovy Change-Id: I80a53bbe0b64d3c003b1b658b6ce55f12e1576f0
422,464
29.03.2017 16:38:30
-7,200
c70c2a3ca61bd3905088206d2df5b652406bd1f8
Added second checkout function for checkouting by hand
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "package com.mirantis.mk\n+import java.util.regex.Pattern\n/**\n* Gerrit functions\n*\n@@ -13,6 +14,7 @@ package com.mirantis.mk\n* - credentialsId, id of user which s...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added second checkout function for checkouting by hand Change-Id: I01faf715fa52e7da63054e5a5de1a72f1cfbc72b
422,464
29.03.2017 16:52:04
-7,200
d383f3929cb7e83f54fbd2c0ea0f861beef7c845
Moved regex operations outside of gerrit function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -109,23 +109,32 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\n* @return boolean result\n*/\ndef gerritPatchsetCheckout(gitUrl, gitRef) {\n- def gitUrlPatt...
Groovy
Apache License 2.0
mirantis/pipeline-library
Moved regex operations outside of gerrit function Change-Id: I3a75a6c2305b4ce75402b700dba2a4d42d4fbb34
422,464
29.03.2017 17:07:18
-7,200
73d62141b805690773534ce207c754bf671c5f9c
Improved gerrit checkout config checking
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -97,9 +97,12 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\n}\n}\nreturn true\n- }\n+ }else{\n+ def common = new com.mirantis.mk.Common()\n+ common.errorMs...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved gerrit checkout config checking Change-Id: I93cc8b2e462a538b012a19d8b308f494a75e2495
422,464
29.03.2017 17:52:31
-7,200
ad34dbf0801840900f9e412d925650857c5ea3ac
Fixed gerrit test config function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -106,17 +106,20 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\n/**\n* Execute git clone and checkout stage from gerrit review\n*\n- * @param gitUrl git url...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed gerrit test config function Change-Id: I965359362ed752b3b6e49a7fc0668db7dec5416e
422,494
30.03.2017 19:15:49
-7,200
fefcba4aeaa79d38e38e53f05eeef27d65cbb9fb
make all params for cookiecutter to be string
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -230,7 +230,7 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = none) {\nconfigFile = \"default_config.yaml\"\nconfigString = \"default_c...
Groovy
Apache License 2.0
mirantis/pipeline-library
make all params for cookiecutter to be string Change-Id: I9a13cdf3101132ab8a023e09d3c747c42d37e5fd
422,464
03.04.2017 19:14:54
-7,200
1ef81e6daf97ebf37a35e7329a0015309d5450a1
Implemented new version of docker build step function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Docker.groovy", "new_path": "src/com/mirantis/mk/Docker.groovy", "diff": "@@ -7,25 +7,24 @@ package com.mirantis.mk\n*/\n/**\n- * Build step to build docker image. For use with eg. parallel\n+ * Build step to build docker image.\n*\n* @para...
Groovy
Apache License 2.0
mirantis/pipeline-library
Implemented new version of docker build step function Change-Id: Icb9e9e437d54c0b7eb80fb672299524b813b7549
422,464
04.04.2017 11:47:19
-7,200
30fc921bef1de44201335eee666d7a689e78d0ea
Make gerrit refspec optional
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -54,8 +54,10 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\n]\ndef scmUserRemoteConfigs = [\nname: 'gerrit',\n- refspec: gerritRefSpec\n]\n+ if(gerritRefSp...
Groovy
Apache License 2.0
mirantis/pipeline-library
Make gerrit refspec optional Change-Id: I09b5d7a2e7831051d9dac544664248895194ef4a
422,464
04.04.2017 15:35:52
-7,200
92d3ea18c6c4d21276b05b752e4216317dd5b171
Changed docker build image function name
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Docker.groovy", "new_path": "src/com/mirantis/mk/Docker.groovy", "diff": "@@ -15,7 +15,7 @@ package com.mirantis.mk\n* @param timestamp Image tag\n* @return \"docker app\" - result of docker.build\n*/\n-def buildDockerImageStep(img, baseImg...
Groovy
Apache License 2.0
mirantis/pipeline-library
Changed docker build image function name Change-Id: If14d1f790a2ed56b3041799f730c8b9bdf683a40
422,464
04.04.2017 17:03:55
-7,200
4386349b1ec631c526c3a7cfeb987ee067203e4d
Add returning to ssh agent calls
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ssh.groovy", "new_path": "src/com/mirantis/mk/Ssh.groovy", "diff": "@@ -41,21 +41,22 @@ def getKnownHost(url){\n* Execute command with ssh-agent\n*\n* @param cmd Command to execute\n+ * @return STDOUT output\n*/\ndef runSshAgentCommand(cmd)...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add returning to ssh agent calls Change-Id: I6d924290b420269dd0373f8f445aeec42fed2c20
422,464
05.04.2017 14:22:30
-7,200
a877db5a58988b7d80ea2fe59f1e8010d3be0469
Added parseJSON function to common
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -396,3 +396,15 @@ def checkContains(variable, keyword) {\nreturn false\n}\n}\n+\n+/**\n+ * Parse JSON string to hashmap\n+ * @param jsonString input JSON string\n+...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added parseJSON function to common Change-Id: I55fff0d2e9aa6cd5d504e4ce9bb9f90949d23b98
422,464
05.04.2017 14:56:53
-7,200
b7ab8475bf0b6241842a44a183bb95d651c509e1
Replaced json slurper with classic one
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "package com.mirantis.mk\n-import groovy.json.JsonSlurper\nimport static groovy.json.JsonOutput.prettyPrint\nimport static groovy.json.JsonOutput.toJson\n+import groov...
Groovy
Apache License 2.0
mirantis/pipeline-library
Replaced json slurper with classic one Change-Id: Ie09ce67fbf18deb7f6bcb7ce8586895b5f49c436
422,464
06.04.2017 12:43:58
-7,200
5f838217c64d493baecb27d8300c08d121073425
Fixed batch param testing
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -64,7 +64,7 @@ def runSaltCommand(master, client, target, function, batch = null, args = null,\n'expr_form': target.type,\n]\n- if(batch != null && (batch > 0 || (batc...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed batch param testing Change-Id: I2022cec3ce0cdee6acbdf04edee0bd6a1df53af8
422,464
10.04.2017 14:32:35
-7,200
50c9c3a5ff5b625ab2f0c9624cc80b574090339a
Added gerrit get change function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -132,6 +132,22 @@ def gerritPatchsetCheckout(gerritUrl, gerritRef, gerritBranch, credentialsId) {\nreturn false\n}\n+/**\n+ * Return gerrit change object from gerr...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added gerrit get change function Change-Id: Ie19216a5d8f13267dcbe5d2fdb4d317ee0cac95f
422,464
10.04.2017 15:31:19
-7,200
b735dd4695c8a6b5c367a9b50e6b50c0ad2a4150
Fix gerrit get review function args
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -134,13 +134,13 @@ def gerritPatchsetCheckout(gerritUrl, gerritRef, gerritBranch, credentialsId) {\n/**\n* Return gerrit change object from gerrit API\n- * @param ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix gerrit get review function args Change-Id: I29e9d0d20e8a164e6bc4f566e573fbdaced67f6d
422,520
10.04.2017 15:35:47
-7,200
5de5d432f0faa6b0cb2bab93d137c77e3938fbb3
Fix missing parameter in promote
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Aptly.groovy", "new_path": "src/com/mirantis/mk/Aptly.groovy", "diff": "@@ -85,7 +85,7 @@ def promotePublish(server, source, target, recreate=false, components=null, pack\nopts = \"${opts} --recreate\"\n}\nif (diff.toBoolean() == true) {\n-...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix missing parameter in promote Change-Id: Iff32b854155bd84bb0c2c8b422f2dd5de3350fa0
422,494
12.04.2017 17:49:05
-7,200
6de850499610d54c702b9b5d6fe1e078d6aa21be
work with cookiecutter contexts in yaml This pr chagne setupCookiecutterVirtualenv function to read context settings in yaml (default way). There is no need to convert from json to yaml and back.
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -229,10 +229,7 @@ def setupCookiecutterVirtualenv(path) {\ndef buildCookiecutterTemplate(template, context, outputDir = '.', path = none) {\nconfigFile = \"default...
Groovy
Apache License 2.0
mirantis/pipeline-library
work with cookiecutter contexts in yaml This pr chagne setupCookiecutterVirtualenv function to read context settings in yaml (default way). There is no need to convert from json to yaml and back. Change-Id: Ibc01af020a92720eb985d587b327d6ecbc6c59b1
422,464
18.04.2017 14:34:59
-7,200
068f0be0eead27c1263c83c60ecd64a883281e65
Hardcoded Jinja 2.8.1 version for cookiecutter
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -14,11 +14,11 @@ package com.mirantis.mk\n* @param reqs Environment requirements in list format\n*/\ndef setupVirtualenv(path, python = 'python2', reqs = []) {\n- ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Hardcoded Jinja 2.8.1 version for cookiecutter Change-Id: I9e6c75bb9780b7273117b82095cbfc9c5fb9b141
422,464
19.04.2017 16:35:15
-7,200
5e238a2c585066ef1fe3c85b365f9933582badff
Added function for retrieving heat stacks by status
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Openstack.groovy", "new_path": "src/com/mirantis/mk/Openstack.groovy", "diff": "@@ -187,6 +187,18 @@ def createHeatStack(client, name, template, params = [], environment = null, pat\necho(\"[Heat Stack] Status: ${status}\")\n}\n+/**\n+ * Ge...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added function for retrieving heat stacks by status Change-Id: I76a118be04e82e2380ef98b1084bfc4fe7d9d139
422,464
20.04.2017 13:34:29
-7,200
ecf8b457dbdf6f2251fd7f0dd8dc4320882beca7
Try to delete target remote in git mirroring
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Git.groovy", "new_path": "src/com/mirantis/mk/Git.groovy", "diff": "@@ -184,7 +184,6 @@ def mirrorGit(sourceUrl, targetUrl, credentialsId, branches, followTags = false,\nssh.agentSh \"git push ${followTagsArg} origin HEAD:${branch}\"\n}\n}\...
Groovy
Apache License 2.0
mirantis/pipeline-library
Try to delete target remote in git mirroring Change-Id: I4d04c1a958da7cbad50d3eba2470cf49b24022f0
422,464
20.04.2017 17:14:58
-7,200
a87941cfdbc02551e272779c7a5f558736d14baa
Improved salt resource printing due to perfomance issues
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -138,10 +138,7 @@ def enforceState(master, target, state, output = true, failOnError = true, batch\ndef out = runSaltCommand(master, 'local', ['expression': target, 't...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved salt resource printing due to perfomance issues Change-Id: Iffa7f0a10d04bd73c16cd7917619d44efd2b4778
422,494
21.04.2017 10:45:13
-7,200
b12eeddfc28a00575dc99c1f535c10a49fde76eb
add getFileContent function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -388,3 +388,17 @@ def printSaltCommandResult(result) {\ncommon.errorMsg(\"Cannot print salt command result, given result is null\")\n}\n}\n+\n+\n+/**\n+ * Return conte...
Groovy
Apache License 2.0
mirantis/pipeline-library
add getFileContent function Change-Id: I2463f90f00f846a15dd6c93f5d098a37cd450146
422,494
21.04.2017 21:58:54
-7,200
e914f0e4f4fc5e9b15f208fdb98c64cbe0786108
use getFileContent as NonCPS
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -398,6 +398,7 @@ def printSaltCommandResult(result) {\n* @param file File path to read (/etc/hosts for example)\n*/\n+@NonCPS\ndef getFileContent(master, target, file)...
Groovy
Apache License 2.0
mirantis/pipeline-library
use getFileContent as NonCPS Change-Id: Id83a57a9c8b37ed1b6703619bf3beb6cee0adf5b
422,464
24.04.2017 12:26:02
-7,200
9a836ac8ea09052bbc1ea145f7625eb3aa018ef7
Added debug messages to http req/res method, improved debug output
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -144,13 +144,8 @@ def warningMsg(msg, color = true) {\n* @param color Colorful output or not\n*/\ndef debugMsg(msg, color = true){\n- def debugEnabled\n- try {\n- ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added debug messages to http req/res method, improved debug output Change-Id: Id00a89ed93f7b7c6e9dbd4914ab656ae7895e1cf
422,464
24.04.2017 12:54:19
-7,200
70d8a64f22eb30952df182cb7a1219c0cc8ae915
Fix common library definition in http module
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Http.groovy", "new_path": "src/com/mirantis/mk/Http.groovy", "diff": "@@ -14,7 +14,7 @@ package com.mirantis.mk\n* @param headers Map of additional request headers\n*/\ndef sendHttpRequest(url, method = 'GET', data = null, headers = [:]) {\...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix common library definition in http module Change-Id: I3846ad8232fce69545f392618d71108a99e20444
422,464
24.04.2017 12:58:33
-7,200
db779dd205a88d79270a79936a0fced4f08269a7
NonCPS annotation returned
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Http.groovy", "new_path": "src/com/mirantis/mk/Http.groovy", "diff": "@@ -13,6 +13,7 @@ package com.mirantis.mk\n* @param data JSON data to POST or PUT\n* @param headers Map of additional request headers\n*/\n+@NonCPS\ndef sendHttpRequest(u...
Groovy
Apache License 2.0
mirantis/pipeline-library
NonCPS annotation returned Change-Id: I4db8caf272abec20899923bb374cf4b87bb3eaa6
422,464
24.04.2017 16:24:58
-7,200
ce2c244a2a8802495f19267e4f076ff445fe1979
Try to remove prints to fix weird issue
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Http.groovy", "new_path": "src/com/mirantis/mk/Http.groovy", "diff": "@@ -15,7 +15,7 @@ package com.mirantis.mk\n*/\n@NonCPS\ndef sendHttpRequest(url, method = 'GET', data = null, headers = [:]) {\n- def common = new com.mirantis.mk.Common(...
Groovy
Apache License 2.0
mirantis/pipeline-library
Try to remove prints to fix weird issue Change-Id: Id4546fec35748d5ed1e6754c94459657f79cbf7f
422,464
24.04.2017 16:32:23
-7,200
66976f6ba002617fd3d8f70a773f7d6a6ba1233e
Fixed debugging output
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -145,7 +145,7 @@ def warningMsg(msg, color = true) {\n*/\ndef debugMsg(msg, color = true){\n// if debug property exists on env, debug is enabled\n- if(env.getEnvir...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed debugging output Change-Id: I0a4e7c73561c95345cb30031aab7b441aea42f00
422,520
25.04.2017 13:46:54
-7,200
8de0fac6790fc31c66b4707c77d95601bb441d83
Add --force-overwrrite with aptly
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Aptly.groovy", "new_path": "src/com/mirantis/mk/Aptly.groovy", "diff": "@@ -88,12 +88,12 @@ def promotePublish(server, source, target, recreate=false, components=null, pack\nopts = \"${opts} --dry --diff\"\n}\n- sh(\"aptly-publisher --url $...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add --force-overwrrite with aptly Change-Id: I9f1ab46a92b28dc033ec05efcc5dbeb357833021
422,464
25.04.2017 15:35:51
-7,200
3e4b166161b4ac0d56eeb72f04455fd4b4256027
Improved cookiecutter generating
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -231,7 +231,7 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = none) {\nconfigFile = \"default_config.yaml\"\nconfigString = \"default_c...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved cookiecutter generating Change-Id: Iaf4b92518d33a8416ac4a6337b51c718e5240494
422,464
25.04.2017 18:56:15
-7,200
777ac38a22539903f1e667e4fe6f38c476966fe3
Change salt resource checking
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -296,7 +296,7 @@ def checkResult(result, failOnError = true, printResults = true, printStateOnErr\n}\nresource = node[resKey]\ncommon.debugMsg(\"checkResult: checking ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Change salt resource checking Change-Id: I8a9dbaa3b3e4eacab3cce659306cb1ac4839e6e0
422,464
26.04.2017 13:55:42
-7,200
e2e77f0e314ef8b1ad0803c2568527af6dfe6d20
Fix sourcing in cookiecutter generating
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -231,7 +231,7 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = none) {\nconfigFile = \"default_config.yaml\"\nconfigString = \"default_c...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix sourcing in cookiecutter generating Change-Id: I75e8c1a146dfea5fdc3d08f9fb7779c7a8f4ffca
422,464
26.04.2017 14:13:50
-7,200
4e10c37ffcbaa89aa1b3163d6ee2b48c2e1a80cd
Added support for folders in cookiecutter build function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -225,13 +225,16 @@ def setupCookiecutterVirtualenv(path) {\n/**\n* Generate the cookiecutter templates with given context\n*\n- * @param path Path where virtualenv...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added support for folders in cookiecutter build function Change-Id: I0d3825fc086d5aa28aa8dca4c5b5b7950c2608f8
422,464
26.04.2017 14:29:09
-7,200
4e61cc04a42a15685dca90a719d3a110992ead29
Added source in cookiecutter generating
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -234,7 +234,7 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = null, t\nconfigFile = \"default_config.yaml\"\nconfigString = \"default_c...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added source in cookiecutter generating Change-Id: Ib44616aeefbc027c7d11faa0f6fb8858a1435626
422,464
26.04.2017 14:36:36
-7,200
4df782741a11ff13fa6a76a4e14301ad7df850e4
Add PyYAML dependency to cookiecutter venv
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Python.groovy", "new_path": "src/com/mirantis/mk/Python.groovy", "diff": "@@ -217,7 +217,8 @@ print json.dumps(final_data)\ndef setupCookiecutterVirtualenv(path) {\nrequirements = [\n'cookiecutter',\n- 'jinja2==2.8.1'\n+ 'jinja2==2.8.1',\n+...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add PyYAML dependency to cookiecutter venv Change-Id: I92e546b7791554043e2d78fc5d268b121c0c20ed
422,464
27.04.2017 15:45:09
-7,200
374beb726c48dcc75d056f644b9544c741c51003
Added error printing in salt exception
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -138,7 +138,7 @@ def enforceState(master, target, state, output = true, failOnError = true, batch\ndef out = runSaltCommand(master, 'local', ['expression': target, 'ty...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added error printing in salt exception Change-Id: I2d2625dafd099afb57d8de5c866f05817114fa0b
422,464
27.04.2017 17:46:27
-7,200
25c0ea5017947892f1262bfc3a72be5209e33fd1
Added Ruby util file
[ { "change_type": "ADD", "old_path": null, "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "+package com.mirantis.mk\n+\n+/**\n+ * Ruby functions\n+ */\n+\n+def ensureRubyEnv(rubyVersion=\"2.4.0\"){\n+ sh \"\"\"rbenv install ${rubyVersion};\n+ rbenv local ${rubyVersion};\n+ rbenv exec gem upda...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added Ruby util file Change-Id: I627a23b05145c387451b2935939e8b6a20cb1906
422,464
28.04.2017 12:04:24
-7,200
c4c4020b067de758239002066043e1913f5f9bfe
Improved error printing in salt results verification
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -294,22 +294,6 @@ def checkResult(result, failOnError = true, printResults = true, printOnlyChange\nresKey = k\n}\nresource = node[resKey]\n- common.debugMsg(\"checkRe...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved error printing in salt results verification Change-Id: I3097e17df51d5d4796457d8ce186b9ca35141991
422,494
28.04.2017 13:19:32
-7,200
798b3f52b0941c24ccc667f7fe64784082651ab3
update conformance test output
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Test.groovy", "new_path": "src/com/mirantis/mk/Test.groovy", "diff": "@@ -16,7 +16,7 @@ def runConformanceTests(master, k8s_api, image) {\ndef salt = new com.mirantis.mk.Salt()\ndef outfile = \"/tmp/\" + image.replaceAll('/', '-') + '.outpu...
Groovy
Apache License 2.0
mirantis/pipeline-library
update conformance test output Change-Id: Iee2e61c394ec04419871c60b0c510c735d5e9618
422,464
28.04.2017 16:08:40
-7,200
ad59b2faff4523468aed5a057928d0d050fd3109
Improved kitchen methods in Ruby file
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -4,22 +4,37 @@ package com.mirantis.mk\n* Ruby functions\n*/\n-def ensureRubyEnv(rubyVersion=\"2.4.0\"){\n- sh \"\"\"rbenv install ${rubyVersion};\n- rbenv local ${rub...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved kitchen methods in Ruby file Change-Id: I7cdc5eebcceffcb212b77171d28629a7ebf809d8
422,468
26.04.2017 11:48:28
-7,200
ef2bab6fd9dc66c715e81b648db93b46adff8e1f
Up-2-dated the orchestrate pipeline
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -6,230 +6,272 @@ package com.mirantis.mk\ndef validateFoundationInfra(master) {\ndef salt = new com.mirantis.mk.Salt()\n- salt.runSaltProcessStep(master,...
Groovy
Apache License 2.0
mirantis/pipeline-library
Up-2-dated the orchestrate pipeline Change-Id: Idf6ab427e091ef86965eefafe46efc1cc97c397a
422,464
28.04.2017 21:00:01
-7,200
4cda59ef93546c6e655c99de3cfbaf234e358fdb
Completed kitchen tests control
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -20,7 +20,18 @@ def ensureRubyEnv(rubyVersion=\"2.3.2\"){\n*/\ndef installKitchen(){\nsh \"\"\"rbenv exec gem install bundler;\n- rbenv exec gem install test-kitchen\"...
Groovy
Apache License 2.0
mirantis/pipeline-library
Completed kitchen tests control Change-Id: I12c95a083c8b42ca16d6e3340f54fca8fb5eccbd
422,494
28.04.2017 21:16:25
-7,200
c1a1bbc93d414a51f49cfbce1aa3807a61653603
fix typho in installKubernetesControl
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -251,7 +251,7 @@ def installKubernetesInfra(master) {\n}\n-def installKubernetersControl(master) {\n+def installKubernetesControl(master) {\ndef salt = n...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix typho in installKubernetesControl Change-Id: Ia580af07843f7d8307fe9e866290faee92f3beab
422,494
02.05.2017 11:05:43
-7,200
b05cf00dc4a81619a00143c7882ca38347870b79
use enforceState in Kubernetes installation
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -222,30 +222,27 @@ def installKubernetesInfra(master) {\ndef salt = new com.mirantis.mk.Salt()\n// Install glusterfs\n- salt.runSaltProcessStep(master, '...
Groovy
Apache License 2.0
mirantis/pipeline-library
use enforceState in Kubernetes installation Change-Id: I38380a0cc5d32b45220f0e1132aae6e8be0168b5
422,494
02.05.2017 11:16:05
-7,200
0ea82db8c3b5eefc2b3c3a3c0d0eb3cea8c8debb
install k8s with gluster only when requested
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -219,19 +219,24 @@ def installContrailCompute(master) {\ndef installKubernetesInfra(master) {\n+ def common = new com.mirantis.mk.Common()\ndef salt = ne...
Groovy
Apache License 2.0
mirantis/pipeline-library
install k8s with gluster only when requested Change-Id: Ida70241668d4fcd0c8d0f0a226b61dea992c3bf1
422,494
02.05.2017 11:31:31
-7,200
7c99e32314f87d86031b43b5155c406d8923d800
fix typho in kubernetes install
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -239,7 +239,7 @@ def installKubernetesInfra(master) {\n}\n// Install haproxy\n- salt.enforceState(master, 'I@haproxy:proxy', 'state.sls', 'haproxy')\n+ s...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix typho in kubernetes install Change-Id: I6a4f459f8bf118e84123440a1437fad42c247dd5
422,464
03.05.2017 13:23:42
-7,200
7ad08f3a7e9c91ca6439809d5237d85394ca3af4
Fixed Ruby env default version
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -6,9 +6,9 @@ package com.mirantis.mk\n/**\n* Ensures Ruby environment with given version (install it if necessary)\n- * @param rubyVersion target ruby version (optiona...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed Ruby env default version Change-Id: I127f9af5e4b02a21626cbfc3141b2596ab9ae01f
422,494
04.05.2017 11:45:53
-7,200
a53b535404d45c5424ce190cc17c344e4509bdf8
fix installStacklightClient common import was missing
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -275,7 +275,7 @@ def installKubernetesControl(master) {\ndef installKubernetesCompute(master) {\n- def salt = new com.mirantis.mk.Salt();\n+ def salt = n...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix installStacklightClient common import was missing Change-Id: Ic894752ad1494e4eb5812f9ade62b64dec3fe9c3
422,464
03.05.2017 15:51:05
-7,200
053df390ed1e97d0de2ea178a3e58187ff8581fa
Improved salt cmd.run ability
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -147,15 +147,35 @@ def enforceState(master, target, state, output = true, failOnError = true, batch\n* @param master Salt connection object\n* @param target Get pillar...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved salt cmd.run ability Change-Id: I52b0bf90b04faf86395d6474d20c8ef114abbf8f
422,464
04.05.2017 17:22:48
-7,200
39b30cf08cb747e7bd2a9f9e205ac642aa34f256
Fixed salt command runs
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -158,7 +158,7 @@ def cmdRun(master, target, cmd, checkResponse = true, batch=null) {\nif (checkResponse) {\ncmd = cmd + \" && echo Salt command execution success\"\n}\...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed salt command runs Change-Id: Ic610fcb5ff7fb78c3d0f5f16ee0cfeddbb609737
422,464
05.05.2017 16:50:49
-7,200
5bef35015b830972c033b8a28475aeb4e64770d7
Added pre build script to debian source build
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Debian.groovy", "new_path": "src/com/mirantis/mk/Debian.groovy", "diff": "@@ -41,6 +41,7 @@ def buildBinary(file, image=\"debian:sid\", extraRepoUrl=null, extraRepoKeyUrl=nul\napt-get update && apt-get install -y build-essential devscripts ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added pre build script to debian source build Change-Id: I3c074002a8f03288d442cbffec81e811dd6b0115
422,464
09.05.2017 15:27:33
-7,200
ed239cd503b2aab3dfeb69905707cf47931dc4dd
Add input parameters test function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -404,3 +404,11 @@ def parseJSON(jsonString){\nm.putAll(lazyMap)\nreturn m\n}\n+\n+/**\n+ * Test pipeline input parameter existence and validity (not null and not e...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add input parameters test function Change-Id: Ide72301be4e1295dad1e2df9b89f99bfaa20f92f
422,464
10.05.2017 14:21:00
-7,200
6bebf16c964e5463748346b0c646d0f54c9dd6be
Fixed pre_build_script in debian package build
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Debian.groovy", "new_path": "src/com/mirantis/mk/Debian.groovy", "diff": "@@ -41,7 +41,7 @@ def buildBinary(file, image=\"debian:sid\", extraRepoUrl=null, extraRepoKeyUrl=nul\napt-get update && apt-get install -y build-essential devscripts ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed pre_build_script in debian package build Change-Id: Id2cc49498a562efeecdf49bae350799d054f8856
422,464
10.05.2017 15:16:09
-7,200
db4baf2bc8dcc96054dc52df74688f38439aaed5
Added heat stacks filter function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Openstack.groovy", "new_path": "src/com/mirantis/mk/Openstack.groovy", "diff": "@@ -187,10 +187,23 @@ def createHeatStack(client, name, template, params = [], environment = null, pat\necho(\"[Heat Stack] Status: ${status}\")\n}\n+/**\n+ * R...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added heat stacks filter function Change-Id: I25849b167c72a1036a555df129a4c0885a72356f
422,464
10.05.2017 16:09:20
-7,200
6465fca47c1049eaf8e8053cfeaf47f2733f8410
Fixed testing of existing stacks
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Openstack.groovy", "new_path": "src/com/mirantis/mk/Openstack.groovy", "diff": "@@ -195,7 +195,7 @@ def createHeatStack(client, name, template, params = [], environment = null, pat\n* @param path Optional path to the custom virtualenv\n*/\n...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed testing of existing stacks Change-Id: If3a8e9611768833acc3a0140e76aec12bb4b7005
422,464
10.05.2017 17:58:56
-7,200
4edd743d838ff9be9e1d3ed364c9b31a88d36a63
Added getGerritTriggeredBuilds() function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Gerrit.groovy", "new_path": "src/com/mirantis/mk/Gerrit.groovy", "diff": "@@ -148,6 +148,28 @@ def getGerritChange(gerritName, gerritHost, gerritChangeNumber, credentialsId){\nreturn common.parseJSON(ssh.agentSh(String.format(\"ssh -p 29418...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added getGerritTriggeredBuilds() function Change-Id: I05b09007e0b91e88797faffb86b1ef26f5f8204c
422,464
11.05.2017 13:35:11
-7,200
fbe8c7c41d7620f89e9878bdc606d84382cdbb9f
Improved getting job builds function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/JenkinsUtils.groovy", "new_path": "src/com/mirantis/mk/JenkinsUtils.groovy", "diff": "@@ -11,6 +11,11 @@ package com.mirantis.mk\n* @param jobName job name\n* @return list of running builds\n*/\n+@NonCPS\ndef getJobRunningBuilds(jobName){\n...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved getting job builds function Change-Id: Icae1d9a32e9fffa19c60d5c9a5e69d61cd16f715
422,464
15.05.2017 13:59:18
-7,200
d31de30751ae1a0cce36c582c5420b440b8e7af5
Extended serialize function to be able to handle more parallel steps in one serial
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -212,8 +212,15 @@ def entries(m) {\ndef serial(steps) {\nstepsArray = entries(steps)\nfor (i=0; i < stepsArray.size; i++) {\n- s = stepsArray[i]\n- dummySteps = [\...
Groovy
Apache License 2.0
mirantis/pipeline-library
Extended serialize function to be able to handle more parallel steps in one serial Change-Id: I078be4b82a18dc75fea27a5fbd9a775b95343660
422,464
15.05.2017 16:02:44
-7,200
7fb8bbdf560c4206cb79c6d716e8e74a25cb1c60
Added list partitioning function, fixed serial function for list of closures
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -207,16 +207,22 @@ def entries(m) {\n/**\n* Opposite of build-in parallel, run map of steps in serial\n*\n- * @param steps Map of String<name>: CPSClosure2<step>\n...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added list partitioning function, fixed serial function for list of closures Change-Id: Ia54a50c24dc1f3fa0d386470b1f85e06fde6818a
422,464
15.05.2017 19:04:43
-7,200
228aae9ca9718f2a0a8af02ebb401801575ba3bd
Extended serial function for work with maps too
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -215,7 +215,7 @@ def serial(steps) {\ndef step = stepsArray[i]\ndef dummySteps = [:]\ndef stepKey\n- if(step[1] instanceof Iterable){\n+ if(step[1] instanceof List...
Groovy
Apache License 2.0
mirantis/pipeline-library
Extended serial function for work with maps too Change-Id: I06fba168293ab71981868a8fa75ad1cee14040bf
422,464
15.05.2017 19:11:48
-7,200
538be16d24298efbe637c2402e42317e49aa3028
Fixed serial calling with Maps
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Common.groovy", "new_path": "src/com/mirantis/mk/Common.groovy", "diff": "@@ -216,7 +216,7 @@ def serial(steps) {\ndef dummySteps = [:]\ndef stepKey\nif(step[1] instanceof List || step[1] instanceof Map){\n- for(j=0;j < step[1].size; j++){\...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed serial calling with Maps Change-Id: Ice229a9c82198b0d572ddb1fd1ee66acb8d7586d
422,551
16.05.2017 11:27:53
-7,200
e305ec75301682035f8e3ec5eaa13eba9b05e95a
exclude opencontrail.client from compute highstate and move it after reboot
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -171,7 +171,7 @@ def installOpenstackCompute(master) {\n// Configure compute nodes\nretry(2) {\n- salt.runSaltProcessStep(master, 'I@nova:compute', 'stat...
Groovy
Apache License 2.0
mirantis/pipeline-library
exclude opencontrail.client from compute highstate and move it after reboot Change-Id: Ie63bcb585e2f7e1cb01e8be7b764b24702d4dc42
422,546
16.05.2017 13:38:55
-7,200
852dfd508d5a9cc637112b3e70ddc230cd73cca3
grains fix
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -108,9 +108,9 @@ def getPillar(master, target, pillar = null) {\n*/\ndef getGrain(master, target, grain = null) {\nif(grain != null) {\n- return runSaltCommand(master,...
Groovy
Apache License 2.0
mirantis/pipeline-library
grains fix Change-Id: I0e2f05cae22f8be3bca1d8a509b975bcaa66f945
422,464
16.05.2017 17:39:55
-7,200
200550f935c83e97cb851a88e2790ff44389a745
Moved sync_all before linux formula in orchestating
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -19,10 +19,10 @@ def installFoundationInfra(master) {\ndef salt = new com.mirantis.mk.Salt()\nsalt.enforceState(master, 'I@salt:master', ['salt.master', ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Moved sync_all before linux formula in orchestating Change-Id: I2073c3c5a4296b9e4098304d4a0a5fa1dbbe26aa
422,546
17.05.2017 13:28:31
-7,200
16e9ce7d389a9ecc02191d8c5a31fbf50267c1af
cmd print return
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Salt.groovy", "new_path": "src/com/mirantis/mk/Salt.groovy", "diff": "@@ -151,19 +151,19 @@ def enforceState(master, target, state, output = true, failOnError = true, batch\n* @param batch salt batch parameter integer or string with percent...
Groovy
Apache License 2.0
mirantis/pipeline-library
cmd print return Change-Id: I74dc8641749fb00343e992bdf923787cf04bd6cf
422,464
18.05.2017 17:58:59
-7,200
785d9f95f88b36c548d900cf3b17aad70d624ef4
Added platforms to kitchen testing
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -37,18 +37,23 @@ def installKitchen(){\n/**\n* Run kitchen tests in tests/integration\n*/\n-def runKitchenTests(){\n- runKitchenCommand(\"converge\")\n- runKitchenComm...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added platforms to kitchen testing Change-Id: I6bca21fb348c53996abd3ec53ed7d9c072549120
422,464
19.05.2017 11:53:04
-7,200
6b73f6c2f6c7ed63eb61e36de765d37d07ab5f7a
Add default platform to kitchen tests main function
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -37,7 +37,7 @@ def installKitchen(){\n/**\n* Run kitchen tests in tests/integration\n*/\n-def runKitchenTests(platform){\n+def runKitchenTests(platform=\"\"){\nrunKitc...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add default platform to kitchen tests main function Change-Id: Ib78ee1b3daf5b7fcf1e4116801776989ec34010b
422,464
19.05.2017 20:57:33
-7,200
698c6123b3b9a87b0cddf06eee1c26d5e3bada86
Changed kitchen-salt repo location
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -28,9 +28,7 @@ def installKitchen(){\ngem 'kitchen-docker'\ngem 'kitchen-inspec'\ngem 'inspec'\n- gem 'kitchen-salt', :git => 'https://github.com/epcim/kitchen-salt.gi...
Groovy
Apache License 2.0
mirantis/pipeline-library
Changed kitchen-salt repo location Change-Id: I58da362ad36ba502f36fc832223c8bd76cde8c1c
422,551
19.05.2017 18:17:02
-7,200
3f552c6abe2fd0d7bc6f6a0d65fcb5f2e5bf297e
run linux.system.service before basic states
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Orchestrate.groovy", "new_path": "src/com/mirantis/mk/Orchestrate.groovy", "diff": "@@ -21,6 +21,7 @@ def installFoundationInfra(master) {\nsalt.enforceState(master, 'I@salt:master', ['salt.master', 'reclass'], true)\nsalt.runSaltProcessSte...
Groovy
Apache License 2.0
mirantis/pipeline-library
run linux.system.service before basic states Change-Id: Id29ecbb1b6eb0163c4e26857b6855f1a3c4efacd
422,461
22.05.2017 12:46:25
-14,400
6ee395271ba8324cd1d9e94739f6643bff618d8a
[mcp][artifactory] Allow overriding properties Allow to override properties in uploadImage method
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy", "new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy", "diff": "@@ -174,7 +174,8 @@ def getImagesByTag(String artifactoryURL, String repo, String tag) {\n*/\ndef uploadImageToArtifactory (ArtifactoryServer server...
Groovy
Apache License 2.0
mirantis/pipeline-library
[mcp][artifactory] Allow overriding properties Allow to override properties in uploadImage method Change-Id: Ifa79733283b0282582b8dfe06280d87b159db5c4
422,464
22.05.2017 13:40:40
-7,200
23547336d4269c9baa7b6f0e8c1280abd9903bef
Add parallelism to kitchen testing
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -35,21 +35,36 @@ def installKitchen(){\n/**\n* Run kitchen tests in tests/integration\n*/\n-def runKitchenTests(platform=\"\"){\n- runKitchenCommand(\"converge ${platf...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add parallelism to kitchen testing Change-Id: I1de89a0db2325ddbba2f62bbbac8bb20e9b43b4e
422,464
22.05.2017 14:04:17
-7,200
897c8fc4672d41d7321482563afd1b7a50bdb54f
Fix without env kitchen calling
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -64,7 +64,7 @@ def runKitchenCommand(cmd, environment = null){\nif(environment && environment != \"\"){\nreturn sh(script: \"${environment} rbenv exec bundler exec kit...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix without env kitchen calling Change-Id: I5d39b593e194333048da1d08f30bc4a365537089
422,464
22.05.2017 14:25:23
-7,200
fa1bfcb282ad27e0f1d1a72b90b2f0bd883bfce2
Add bare parameter to kitchen list command
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -37,7 +37,7 @@ def installKitchen(){\n*/\ndef runKitchenTests(environment=\"\"){\ndef common = new com.mirantis.mk.Common()\n- def kitchenTests=runKitchenCommand(\"lis...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add bare parameter to kitchen list command Change-Id: Ie2f6378e9a3aa72d0a21fb6aee1a93369c53becd
422,464
22.05.2017 15:22:15
-7,200
8ed284e6328db9bcfeffd432adb9d4197cb05b38
Fix null passing in kitchen tests
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -19,8 +19,8 @@ def ensureRubyEnv(rubyVersion=\"2.2.3\"){\n* Install kitchen tools\n*/\ndef installKitchen(){\n- sh \"\"\"rbenv exec gem install bundler;\n- rbenv exec ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix null passing in kitchen tests Change-Id: I318e4ddd393fbfbb1cbe8f3b5abbbbc2d7263c73
422,464
22.05.2017 16:28:06
-7,200
b039fdd5e5657f27db7ea78c7b872a2b309d3fb6
Added parallel switch to kitchen test functions
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -34,8 +34,10 @@ def installKitchen(){\n/**\n* Run kitchen tests in tests/integration\n+ * @param environment kitchen environment (optional can be empty)\n+ * @param pa...
Groovy
Apache License 2.0
mirantis/pipeline-library
Added parallel switch to kitchen test functions Change-Id: I5c08bdf042f65c7f2decc122881953886fc5bb29
422,464
23.05.2017 15:05:14
-7,200
e6f3ae4fd1118867cf5e25d8f35418a51a0fb0fa
Improved kitchen tests custom initing
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -18,9 +18,12 @@ def ensureRubyEnv(rubyVersion=\"2.2.3\"){\n/**\n* Install kitchen tools\n*/\n-def installKitchen(){\n+def installKitchen(kitchenInit=\"\"){\nsh \"\"\"r...
Groovy
Apache License 2.0
mirantis/pipeline-library
Improved kitchen tests custom initing Change-Id: Ib3156f6a9ba892f1ac3721d1072f540fe86709f1
422,464
23.05.2017 16:27:11
-7,200
92f0dc22251d9470cba4900f7a1bab9b48c00916
Fixed order of steps in kitchen
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -58,8 +58,8 @@ def runKitchenTests(environment=\"\", parallel = true){\n}else{\ncommon.serial(kitchenTestRuns)\n}\n- runKitchenCommand(\"destroy\", environment)\nrunKi...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed order of steps in kitchen Change-Id: Ief76d772e746713bd9e150171b196a8c4f035631
422,464
23.05.2017 16:31:23
-7,200
1bcb7deba9f57a518089c5d4906bade078db6210
Enable print output in kitchen testing
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -50,7 +50,7 @@ def runKitchenTests(environment=\"\", parallel = true){\nfor(int i=0;i<kitchenTestsList.size();i++){\ndef testSuite = kitchenTestsList[i]\nkitchenTestRu...
Groovy
Apache License 2.0
mirantis/pipeline-library
Enable print output in kitchen testing Change-Id: Icd0e8d04f0fff8ca032b73e1d6001c4465c93c40
422,464
23.05.2017 17:12:06
-7,200
59725a9f8e60faf968b90466238ac4fb5d8c33f4
Fixed parallel kitchen tests execution
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Ruby.groovy", "new_path": "src/com/mirantis/mk/Ruby.groovy", "diff": "@@ -39,21 +39,23 @@ def installKitchen(kitchenInit=\"\"){\n/**\n* Run kitchen tests in tests/integration\n* @param environment kitchen environment (optional can be empty)...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fixed parallel kitchen tests execution Change-Id: I81a5134bec437780b5e83ace7414868f4db35ffa
422,494
22.05.2017 15:12:21
-7,200
df540c44daa9257219519026732a969623d5deea
add Aws class
[ { "change_type": "ADD", "old_path": null, "new_path": "src/com/mirantis/mk/Aws.groovy", "diff": "+package com.mirantis.mk\n+\n+\n+\n+/**\n+ *\n+ * AWS function functions\n+ *\n+ */\n+\n+def setupVirtualEnv(venv_path = 'aws_venv') {\n+ def python = new com.mirantis.mk.Python()\n+\n+ def requirements ...
Groovy
Apache License 2.0
mirantis/pipeline-library
add Aws class Change-Id: I7a3b845e995d0222eaa4c935acb90a4ed9244fb5
422,494
25.05.2017 16:12:42
-7,200
55e1dea62d39f210fe3608f188a161d0df0d8f4a
fix timeout for aws create stack
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Aws.groovy", "new_path": "src/com/mirantis/mk/Aws.groovy", "diff": "@@ -69,10 +69,7 @@ def waitForStatus(venv_path, env_vars, stack_name, state, timeout = 600, loop_sl\ndef common = new com.mirantis.mk.Common()\ndef python = new com.miranti...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix timeout for aws create stack Change-Id: If845644f67c9d6c7256c257c5d52b5b331a853bd
422,494
25.05.2017 16:17:33
-7,200
735d2079ca04f1ba7f72e4fe3f85857823b0a77d
fix timeout for aws creation
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Aws.groovy", "new_path": "src/com/mirantis/mk/Aws.groovy", "diff": "@@ -64,12 +64,12 @@ def describeStack(venv_path, env_vars, stack_name) {\n}\n}\n-def waitForStatus(venv_path, env_vars, stack_name, state, timeout = 600, loop_sleep = 30) {...
Groovy
Apache License 2.0
mirantis/pipeline-library
fix timeout for aws creation Change-Id: I684c4fed1ef5cfbe6bf6a9702110980596e4a0d7
422,520
25.05.2017 16:28:28
-7,200
16535aba523fefe4ec927d3b0dea496d80536112
Add more params to build docker image
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/Docker.groovy", "new_path": "src/com/mirantis/mk/Docker.groovy", "diff": "@@ -13,18 +13,20 @@ package com.mirantis.mk\n* @param baseImg Base image to use (can be empty)\n* @param dockerFile Dockerfile to use\n* @param timestamp Image tag\n+...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add more params to build docker image Change-Id: I799aded82c5d6c39fc0f6385de4a2f09b1b1e49f
422,520
26.05.2017 15:07:47
-7,200
f14ea2a749eed4e845f8e2b38ccf7e2e1e9cd767
Add library to test salt models
[ { "change_type": "ADD", "old_path": null, "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "+package com.mirantis.mk\n+\n+/**\n+ * setup and test salt-master\n+ *\n+ * @param masterName salt master's name\n+ * @param testDir directory of model inside of workspace\n+ */\n+\n+def set...
Groovy
Apache License 2.0
mirantis/pipeline-library
Add library to test salt models Change-Id: I03b7512e4a0ac1dd91daa563fcf5d2a50b3dd294
422,520
26.05.2017 15:34:38
-7,200
f4e5eb4e096da340e75229a1e5a2889632647f03
Fix setupAndTestNode
[ { "change_type": "MODIFY", "old_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "new_path": "src/com/mirantis/mk/SaltModelTesting.groovy", "diff": "@@ -4,7 +4,7 @@ package com.mirantis.mk\n* setup and test salt-master\n*\n* @param masterName salt master's name\n- * @param testDir directory of ...
Groovy
Apache License 2.0
mirantis/pipeline-library
Fix setupAndTestNode Change-Id: If2aab399db0d14030602c01d5bf52de5258222d2