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,494 | 19.01.2017 13:16:43 | -3,600 | e65f7b061dcc8e951bbeff470df53e0bc032575d | Update k8s deploy steps
Change deploy steps to comply with updated salt-formula-kubernetes | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/salt.groovy",
"new_path": "src/com/mirantis/mk/salt.groovy",
"diff": "@@ -367,21 +367,28 @@ def installOpenstackMcpInfra(master) {\ndef installOpenstackMcpControl(master) {\n- // Pull Calico image\n- runSaltProcessStep(master, 'I@kubernetes... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update k8s deploy steps
Change deploy steps to comply with updated salt-formula-kubernetes
Change-Id: I4ef1a542d82e4d241828873b40e261934538368a |
422,450 | 19.01.2017 16:37:16 | -7,200 | 69307daca0723efff45b5a939521e5416f2df37f | Fix hyphen in package name | [
{
"change_type": "RENAME",
"old_path": "src/com/mirantis/mcp-qa/Common.groovy",
"new_path": "src/com/mirantis/mcp_qa/Common.groovy",
"diff": "-package com.mirantis.mcp-qa\n+package com.mirantis.mcp_qa\n/**\n* Get latest artifacts\n"
},
{
"change_type": "RENAME",
"old_path": "src/com/mira... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix hyphen in package name
Change-Id: Ie69e35996f90f5dad62a8f13df8b83bb009672fd |
422,482 | 20.01.2017 18:50:36 | -7,200 | e9e6faaed041bd3ab1813f6c366f63e6259f390f | Add function run_e2e tests | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/salt.groovy",
"new_path": "src/com/mirantis/mk/salt.groovy",
"diff": "@@ -410,6 +410,15 @@ def installStacklightControl(master) {\nrunSaltProcessStep(master, 'I@kibana:client', 'state.sls', ['kibana.client'])\n}\n+/**\n+ * Run e2e conforman... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add function run_e2e tests
Change-Id: I8a84f35d9be4dcb43c96bff10495dc43ac2c3f35 |
422,513 | 23.01.2017 17:48:44 | -7,200 | b1aa0ff6d49751d98f41c35ee493619d58100b1b | Fix type if instead of id | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Common.groovy",
"new_path": "src/com/mirantis/mcp/Common.groovy",
"diff": "@@ -64,7 +64,7 @@ def runOnKubernetes(LinkedHashMap config) {\ndef lbl = config.get('label', \"buildpod.${env.JOB_NAME}.${env.BUILD_NUMBER}\".replace('-', '_').repl... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix type if instead of id
Change-Id: I59ef5a2f05d7f9b1fc82e84075e9e18c5e4d3491 |
422,450 | 25.01.2017 16:50:56 | -7,200 | c4cd5b70fe1607ba371f3061d27041530116e312 | Remove env erase from runTest
Env erase shouldn't be part of runTest because it erases
envs between stages and so that all starts from scratch.
Env erase moved to separate function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp_qa/EnvActions.groovy",
"new_path": "src/com/mirantis/mcp_qa/EnvActions.groovy",
"diff": "@@ -32,3 +32,14 @@ def destroyEnv() {\n'''\n}\n}\n+\n+/**\n+ * Erase running environment\n+ */\n+def eraseEnv() {\n+ sh '''\n+ . ${VENV_PATH}/bin/acti... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove env erase from runTest
- Env erase shouldn't be part of runTest because it erases
envs between stages and so that all starts from scratch.
- Env erase moved to separate function
Change-Id: I49ed4ca05606486f5d4955d99cfa4e42f6cd9663 |
422,513 | 31.01.2017 14:20:24 | -7,200 | a9e6504f30f27c5d816b54aad571312fe46187b0 | [calico] Set dockerRepo as mandatory parameter
dockerRepo should be an artifactory repo which is not virtual and
this paramter must be mandatory | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Calico.groovy",
"new_path": "src/com/mirantis/mcp/Calico.groovy",
"diff": "@@ -665,7 +665,7 @@ def buildCniPlugin(LinkedHashMap config) {\n* config includes next parameters:\n* - artifactoryServerName String, artifactory server name\n* - d... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [calico] Set dockerRepo as mandatory parameter
dockerRepo should be an artifactory repo which is not virtual and
this paramter must be mandatory
Change-Id: I4da7659287e3161d8407b6e8eb6fe2eaeed31d99 |
422,513 | 01.02.2017 14:17:46 | -7,200 | def4df08c6df092a88ad8d22d66b011788fd3e52 | [calico] Fix glide cache issues with libcalico-go | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Calico.groovy",
"new_path": "src/com/mirantis/mcp/Calico.groovy",
"diff": "@@ -360,6 +360,9 @@ def switchCalicoToDownstreamLibcalicoGo(String libCalicoGoCommit, String host, S\nwithWipeOut : true,\n])\n+ //FIXME(skulanov) we need to clean ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [calico] Fix glide cache issues with libcalico-go
Change-Id: Icbfcd4c789d3eb237464f5ea54d79c0748971889 |
422,471 | 25.01.2017 19:29:03 | -14,400 | d6dc108ee1d355b4da03f42f5e43f8a98ce76fa8 | Add functionaly for configuring and deploying nginx proxy | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mcp/CCP.groovy",
"diff": "+package com.mirantis.mcp\n+\n+def checkPortIsFree(String localPort) {\n+ withEnv([\"port=${localPort}\"]) {\n+ sh '''\n+ if netstat -pnat | grep -qw \"${port}\"; then\n+ echo \"Port ${port} is already ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add functionaly for configuring and deploying nginx proxy
Change-Id: I107e33c8fa5f4d51abb28931db1cf927cb8fe4da |
422,471 | 02.02.2017 14:23:59 | -14,400 | 62747d4b5798455d50cf7afe5575788715fca18b | Kill nginx process with SIGQUIT
By default kill sends SIGTERM which doesn't propertly handled
port release if such opened. Instead of that SIGQUIT correctly
closes process and releases opened by this propess ports. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/CCP.groovy",
"new_path": "src/com/mirantis/mcp/CCP.groovy",
"diff": "@@ -66,6 +66,6 @@ def destroyProxy(String confDir, String localPort) {\ndef proxyPid = sh(script: \"cat ${confDir}/nginx-${localPort}.pid\",\nreturnStdout: true).trim()\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Kill nginx process with SIGQUIT
By default kill sends SIGTERM which doesn't propertly handled
port release if such opened. Instead of that SIGQUIT correctly
closes process and releases opened by this propess ports.
Change-Id: I0c513c26315ffc53303b2ea79a166d7bdf6587be |
422,471 | 02.02.2017 15:30:26 | -14,400 | 6e3beae2dbceba0365851badb1b399a2fc4a7e54 | Fix shell for kill command
Base shell is not support -SIG notation, so directly
specify QUIT command. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/CCP.groovy",
"new_path": "src/com/mirantis/mcp/CCP.groovy",
"diff": "@@ -66,6 +66,6 @@ def destroyProxy(String confDir, String localPort) {\ndef proxyPid = sh(script: \"cat ${confDir}/nginx-${localPort}.pid\",\nreturnStdout: true).trim()\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix shell for kill command
Base shell is not support -SIG notation, so directly
specify QUIT command.
Change-Id: I98aa7c96f59cb366eef4f012238cdc222305c1ef |
422,513 | 02.02.2017 13:43:14 | -7,200 | 21c936c88c009b702a8e27ad334e906af492279a | Add method for jinjaTemplates rendering
Also add custom bool filter | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Common.groovy",
"new_path": "src/com/mirantis/mcp/Common.groovy",
"diff": "@@ -54,6 +54,66 @@ def dumpYAML(Map map) {\nreturn yaml.dump(map)\n}\n+/**\n+ * Render jinja template\n+ * @param templateVars String, A dict, a dict subclass, json... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add method for jinjaTemplates rendering
Also add custom bool filter
Change-Id: I69ba0bc21c325fd37108331fba86e3f66f74bcbd |
422,494 | 02.02.2017 16:09:33 | -3,600 | 9a58e142d97ac2959b2b62ae4577a87809470f44 | remove batch run of kubernetes.master.setup
Batch runs are broken starting from Salt 2016.3.5 (Boron)
Using run targeted on exact host is sufficient.
We may add pillar target when it is added to reclass cluster level. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/salt.groovy",
"new_path": "src/com/mirantis/mk/salt.groovy",
"diff": "@@ -379,7 +379,7 @@ def installOpenstackMcpControl(master) {\nrunSaltProcessStep(master, 'I@kubernetes:master', 'state.sls', ['kubernetes', 'exclude=kubernetes.master.set... | Groovy | Apache License 2.0 | mirantis/pipeline-library | remove batch run of kubernetes.master.setup
Batch runs are broken starting from Salt 2016.3.5 (Boron)
Using run targeted on exact host is sufficient.
We may add pillar target when it is added to reclass cluster level.
Change-Id: I9e59d81ad0767af345dff52395c8d34d7a926d3a |
422,450 | 02.02.2017 17:59:20 | -7,200 | 85ae52b6580cd5584c4aacfe906b9e5e7bdf1049 | Install requirements on env preparation | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp_qa/EnvActions.groovy",
"new_path": "src/com/mirantis/mcp_qa/EnvActions.groovy",
"diff": "@@ -18,6 +18,11 @@ def prepareEnv() {\n\"\\\"${WORKSPACE}/fuel-ccp-installer/\\\"!\"\nfi\n'''\n+\n+ sh '''\n+ . ${VENV_PATH}/bin/activate\n+ pip insta... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Install requirements on env preparation
Change-Id: I5479137974bed4f8309d41bc5f2c2f320519686a |
422,466 | 07.02.2017 12:52:18 | -14,400 | a78ee8d560b34b285793b5de74a43f2709eaa02f | ccp CI/CD object model
Example usage (bvt pipeline):
def ccpCiCd = new com.mirantis.mcp.CCPCICD().newInstance(this, env)
ccpCiCd.applyPipelineParameters()
ccpCiCd.fetchEnvConfiguration()
ccpCiCd.parametrizeConfig()
ccpCiCd.build()
ccpCiCd.deploy()
ccpCiCd.cleanup() | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mcp/CCPCICD.groovy",
"diff": "+package com.mirantis.mcp\n+\n+/*\n+ Example usage:\n+\n+ def ccpCiCd = new com.mirantis.mcp.CCPCICD().newInstance(this, env)\n+\n+ ccpCiCd.applyPipelineParameters()\n+\n+ ccpCiCd.fetchEnvConfigurat... | Groovy | Apache License 2.0 | mirantis/pipeline-library | ccp CI/CD object model
Example usage (bvt pipeline):
def ccpCiCd = new com.mirantis.mcp.CCPCICD().newInstance(this, env)
ccpCiCd.applyPipelineParameters()
ccpCiCd.fetchEnvConfiguration()
ccpCiCd.parametrizeConfig()
ccpCiCd.build()
ccpCiCd.deploy()
ccpCiCd.cleanup()
Change-Id: Ie4a8328947f77334943b6d... |
422,471 | 14.02.2017 15:42:02 | -14,400 | 7c0abfe2bc316e258e1b170f347227ae0eb1bf68 | Add ability to search images by their tag | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -117,6 +117,50 @@ def getPropertiesForArtifact(String artifactUrl) {\nreturn properties.get(\"properties\")\n}\n+/**\n+ * Find docker images by t... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add ability to search images by their tag
Change-Id: Ic3e05896018bb160fdc6b3a9b2ed591d2b69e99f |
422,459 | 20.02.2017 17:18:28 | -14,400 | d4240b5a6ea777f86429bb9098ac9f63b0603429 | Fix to uppercase for mk libs | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -66,7 +66,7 @@ def checkoutGitParallel(path, url, branch, credentialsId = null, poll = true, cl\n* Mirror git repository\n*/\ndef mirrorReporitory(sourceUrl, targetUrl, ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix to uppercase for mk libs
Change-Id: I2bc2d592a41c1c3d7fb5a0a2fb8d489a19daba0b |
422,466 | 20.02.2017 16:52:01 | -14,400 | ead12d977dfc5c8bbd3b002c65387124d80f3153 | Reject k8s credentials in k8s api url | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/CCPCICD.groovy",
"new_path": "src/com/mirantis/mcp/CCPCICD.groovy",
"diff": "@@ -200,11 +200,12 @@ public class ccpCICD implements Serializable {\n}\n}\n- /* override parameters from URI (if present) */\n- if (kubernetesURL.getUserInfo()) ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Reject k8s credentials in k8s api url
Change-Id: Ia9a864a10107018d98684e3e7044b95c659cee28 |
422,494 | 20.02.2017 15:39:31 | -3,600 | 7bec05300e58e07ec11828de6c911f50e96cb454 | fix restGet in Salt | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -30,12 +30,13 @@ def connection(url, credentialsId = \"salt\") {\n* @param master Salt connection object\n*/\ndef saltLogin(master) {\n+ def http = new com.mirantis.mk... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix restGet in Salt
Change-Id: I03179ddd77a6c74b581fc179e7c9d0a1c95047e9 |
422,494 | 21.02.2017 11:09:40 | -3,600 | e19ddeab29a5b7987b0e8b0d3bc6901f8e6f95b4 | print more information about jobs and states
Keep all options (raw + formated) and check which one is better. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -124,6 +124,7 @@ def createHeatEnv(file, environment = [], original_file = null) {\nfor ( int i = 0; i < environment.size; i++ ) {\nenvString = \"${envString... | Groovy | Apache License 2.0 | mirantis/pipeline-library | print more information about jobs and states
Keep all options (raw + formated) and check which one is better.
Change-Id: Iab0cb012a6620a36fb81f91c24c6fed4c30191bd |
422,494 | 21.02.2017 17:14:29 | -3,600 | 03029447ba10fbf6b1b518934c5eacafe72c1d56 | fix heat env params
Previous code was not working. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -117,13 +117,14 @@ def getKeystoneToken(client, path = null) {\ndef createHeatEnv(file, environment = [], original_file = null) {\nif (original_file) {\nenvS... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix heat env params
Previous code was not working.
Change-Id: I87e8f003ada62de989543d3ff7a95b443fc9db46 |
422,494 | 22.02.2017 10:17:16 | -3,600 | ee878cd5c90c0826cc892a3e368acaac7e74a642 | remove result formater
Formater is buggy as hell, lets move back to simple & always working
echo. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -151,7 +151,6 @@ def runSaltProcessStep(master, tgt, fun, arg = [], batch = null) {\nresult = runSaltCommand(master, 'local', ['expression': tgt, 'type': 'compound'], ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | remove result formater
Formater is buggy as hell, lets move back to simple & always working
echo.
Change-Id: Ica12aa345b5d83d183c4df3a0563088c03793263 |
422,494 | 22.02.2017 11:21:17 | -3,600 | b1fe964cd78badd992de452ca7cc53a09f2520c9 | fix serializable errors
previous code fails with java.io.NotSerializableException | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -121,8 +121,9 @@ def createHeatEnv(file, environment = [], original_file = null) {\nenvString = \"parameters:\\n\"\n}\n- for (item in environment) {\n- envSt... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix serializable errors
previous code fails with java.io.NotSerializableException
Change-Id: I47866d320612fdf6dd1223d75a9cc7e452fbec44 |
422,494 | 22.02.2017 14:07:37 | -3,600 | c3964e573f72db201a1f0649dea84afe4738d802 | use NonCPS annotated method for working with dicts | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -6,6 +6,15 @@ package com.mirantis.mk\n*\n*/\n+/**\n+ * Convert maps\n+ *\n+ */\n+\n+@NonCPS def entries(m) {\n+ return m.collect {k, v -> [k, v]}\n+}\n+\n/*... | Groovy | Apache License 2.0 | mirantis/pipeline-library | use NonCPS annotated method for working with dicts
Change-Id: I56ef5098dd0ea95d57d80397e445a8bc1fab915c |
422,468 | 24.02.2017 14:02:03 | -3,600 | fb7cbcb2c31c4c38a16f6fa483db3fc60a9f78f7 | Git operation methods | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -39,6 +39,61 @@ 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 operation methods
Change-Id: I401f9c4ff2dd5349fa881d71a06defd7080e8425 |
422,494 | 27.02.2017 15:18:50 | -3,600 | f06ca0f512dc3b3b97a46a3817e49c080ee384f5 | fix missing salt class in installOpenstackMkControl | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -97,8 +97,8 @@ def installOpenstackMkControl(master) {\nsalt.runSaltProcessStep(master, 'I@heat:server', 'state.sls', ['heat'])\nsalt.runSaltProcessStep(... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix missing salt class in installOpenstackMkControl
Change-Id: Id553668b441df6b1c1134efbd3e442a60149063d |
422,494 | 28.02.2017 11:22:29 | -3,600 | 8d2be5a0acb07c08a9b7bbd7d08a29a562eba46e | add installInfraKvm | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -22,6 +22,15 @@ def installFoundationInfra(master) {\nsalt.runSaltProcessStep(master, 'I@linux:system', 'state.sls', ['linux,openssh,salt.minion,ntp'])\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | add installInfraKvm
Change-Id: Ia254e9dfe6d86315f63508fb5f347b4920140486 |
422,464 | 20.02.2017 16:08:13 | -3,600 | 1b75ca80cad7c914d70188244e8fbe52911a4576 | Gerrit functions extracted into own file | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -416,68 +416,3 @@ def sendNotification(buildStatus, msgText=\"\", enabledNotifications = [], notific\n}\n}\n}\n\\ No newline at end of file\n-\n-/**\n- * Execute g... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Gerrit functions extracted into own file
Change-Id: I8589be350238b5886dd44d060266c2c599c9386b |
422,464 | 28.02.2017 16:14:10 | -3,600 | 4624370f710064b7dde42203a46b9c22db7664e4 | Gerrit checkout updated to use env params. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -39,21 +39,21 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\n]\ndef scmUserRemoteConfigs = [\nname: 'gerrit',\n- refspec: config.get('gerritRefSpec','')\n+... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Gerrit checkout updated to use env params.
Change-Id: Ibe0d7770393cb56b576cf9a552410859d1beb023 |
422,482 | 28.02.2017 14:41:38 | -7,200 | c73d63ca9efaa3a03c19df2d2fe55b3ef5161d42 | Grab e2e test output to cfg node | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Test.groovy",
"new_path": "src/com/mirantis/mk/Test.groovy",
"diff": "@@ -14,5 +14,16 @@ package com.mirantis.mk\n*/\ndef runConformanceTests(master, k8s_api, image) {\ndef salt = new com.mirantis.mk.Salt()\n- salt = runSaltProcessStep(mast... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Grab e2e test output to cfg node
Change-Id: Ifd34463bde6a8aefb7b998c8799bfc792cb0d7bb |
422,494 | 01.03.2017 16:03:16 | -3,600 | b8e971120bd162a424577ea9e13683ccbc6a9e64 | add expception for physical deploy jobs
I need to skip jobs with hard-coded variables, but only some of them.
There functions need to be refactored! | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -30,9 +30,16 @@ def installInfraKvm(master) {\nsalt.runSaltProcessStep(master, 'I@salt:control', 'state.sls', ['salt.minion,linux.system,linux.network,nt... | Groovy | Apache License 2.0 | mirantis/pipeline-library | add expception for physical deploy jobs
I need to skip jobs with hard-coded variables, but only some of them.
There functions need to be refactored!
Change-Id: If5f1e080ce175717ad9e2c88a9d777ca4261df6c |
422,494 | 01.03.2017 18:10:50 | -3,600 | adf839511648db7ed662772b01806fe0c44b65b4 | wait 200s for kvm instances | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -31,11 +31,11 @@ def installInfraKvm(master) {\nsalt.runSaltProcessStep(master, 'I@salt:control', 'state.sls', ['libvirt'])\nsalt.runSaltProcessStep(mast... | Groovy | Apache License 2.0 | mirantis/pipeline-library | wait 200s for kvm instances
Change-Id: I14d5ca30bab82fa4094d77fbc5c90e02ed390555 |
422,494 | 01.03.2017 19:10:32 | -3,600 | 1971487085a0b296b1f0e7e68fd5ca7f0c43b85e | use print instead of echo | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -150,7 +150,7 @@ def runSaltProcessStep(master, tgt, fun, arg = [], batch = null) {\nelse {\nresult = runSaltCommand(master, 'local', ['expression': tgt, 'type': 'comp... | Groovy | Apache License 2.0 | mirantis/pipeline-library | use print instead of echo
Change-Id: Ibf5015d0b9ee4d5dbec826229e0e72c69d43f26e |
422,494 | 01.03.2017 21:57:23 | -3,600 | 0abdde5df1e1efdb8f2aae8fcf9bcbb6b9388fe2 | use enforceState instead of runSaltProcessStep when possible | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -28,8 +28,8 @@ def installInfraKvm(master) {\nsalt.runSaltProcessStep(master, 'I@linux:system', 'saltutil.sync_all')\nsalt.runSaltProcessStep(master, 'I@... | Groovy | Apache License 2.0 | mirantis/pipeline-library | use enforceState instead of runSaltProcessStep when possible
Change-Id: Ie37d373224dfc6adbd659a88efb06a5f4d900264 |
422,494 | 02.03.2017 09:23:03 | -3,600 | 926e6332d0acb4ad4b6cd421596a4115ef6220be | fix keystone:client and install apt-transport-https | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -35,8 +35,11 @@ def installInfraKvm(master) {\nsalt.runSaltProcessStep(master, '* and not kvm*', 'saltutil.refresh_pillar')\nsalt.runSaltProcessStep(mast... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix keystone:client and install apt-transport-https
Change-Id: I294e80d9d3a73178e517ae6f7dfe2a23780073cb |
422,494 | 02.03.2017 10:06:36 | -3,600 | adb4ecdb67a33a3bee9990e01624bb88293f98a0 | use printSaltCommandResult | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -96,6 +96,7 @@ def enforceState(master, target, state, output = false) {\n}\ndef out = runSaltCommand(master, 'local', ['expression': target, 'type': 'compound'], 'sta... | Groovy | Apache License 2.0 | mirantis/pipeline-library | use printSaltCommandResult
Change-Id: If8f7575326a2e9140fcbc01430f094f8b6e2f551 |
422,494 | 01.03.2017 22:18:52 | -3,600 | 6c04bd0935d1c83f84beb85230a1abfd489da7b8 | print info about salt actions | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -12,7 +12,7 @@ package com.mirantis.mk\n* @param credentialsID ID of credentials store entry\n*/\ndef connection(url, credentialsId = \"salt\") {\n- def common = new c... | Groovy | Apache License 2.0 | mirantis/pipeline-library | print info about salt actions
Change-Id: I4ad94d33a10d90d6835b096e0498b55214c3e934 |
422,494 | 02.03.2017 12:03:02 | -3,600 | 7783b8eacdb6eff1f90b3547c2512e9da398011e | debug checkResult | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -185,6 +185,8 @@ def checkResult(result) {\n}\nfor (node in entry) {\nfor (resource in node.value) {\n+ print(resource.getClass().getName())\n+ print(resource)\nif (re... | Groovy | Apache License 2.0 | mirantis/pipeline-library | debug checkResult
Change-Id: Iff17bb2852e323876060dfb2d6c8f7d23b75160d |
422,494 | 02.03.2017 12:08:50 | -3,600 | dfd4b4989f9bb0229b299dfa1a53d872929f3526 | fix quotes in infoMsg | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -97,7 +97,7 @@ def enforceState(master, target, state, output = false) {\nrun_states = state.join(',')\n}\n- common.infoMsg('Enforcing state ${run_states} on ${target}... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix quotes in infoMsg
Change-Id: I6af8c4020fc7ccee307cacb2c1863794db7906f0 |
422,494 | 02.03.2017 13:24:20 | -3,600 | 29c26e8731d8a5be3e918d84589f745db168b9ed | remove debug for checkResult | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -185,8 +185,6 @@ def checkResult(result) {\n}\nfor (node in entry) {\nfor (resource in node.value) {\n- print(resource.getClass().getName())\n- print(resource)\nif (re... | Groovy | Apache License 2.0 | mirantis/pipeline-library | remove debug for checkResult
Change-Id: Ifa9eb6fca4021c2b4fabd36ea1a9f3449a5ae9ae |
422,494 | 02.03.2017 14:22:59 | -3,600 | f5dda64dd675032db00de94a52005c2ce0fc9547 | remove checkResult from salt process | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -152,7 +152,7 @@ def orchestrateSystem(master, target, orchestrate) {\nreturn runSaltCommand(master, 'runner', target, 'state.orchestrate', [orchestrate])\n}\n-def run... | Groovy | Apache License 2.0 | mirantis/pipeline-library | remove checkResult from salt process
Change-Id: I769d72dae0ff1fdbdb574096aa711ec255e42846 |
422,494 | 02.03.2017 22:21:44 | -3,600 | 3281ba12eed3f7a10bc33a0f7cc12e56ef8f164e | print args in runSaltProcessStep | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -156,7 +156,8 @@ def runSaltProcessStep(master, tgt, fun, arg = [], batch = null, output = false)\ndef common = new com.mirantis.mk.Common()\ndef out\n- common.infoMsg... | Groovy | Apache License 2.0 | mirantis/pipeline-library | print args in runSaltProcessStep
Change-Id: Ida5ed4beaf2d2354520f3d957b6d950629deb152 |
422,537 | 21.02.2017 19:26:24 | -14,400 | c5b3029f95abbb51e3b06635d2f10b242c67191f | [mk] Add common functions for tempest run
Use docker tempest image to setup tempest and execute it | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Test.groovy",
"new_path": "src/com/mirantis/mk/Test.groovy",
"diff": "@@ -27,3 +27,32 @@ def copyTestsOutput(master, image) {\nsalt.runSaltProcessStep(master, 'cfg01*', 'cmd.run', [\"scp ctl01:/root/${image}.output /home/ubuntu/\"])\n}\n+/*... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [mk] Add common functions for tempest run
- Use docker tempest image to setup tempest and execute it
Change-Id: If99a6964ea07e509487b1efb8773c295102ffe02 |
422,494 | 02.03.2017 23:24:15 | -3,600 | bb02c45a01577b0fe4bf19c266352e7fdb72a73a | display pretty newlines | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -214,7 +214,7 @@ def printSaltStateResult(result, onlyChanges = true) {\nfor (node in out) {\nif (node.value) {\nprintln \"Node ${node.key} changes:\"\n- print new gro... | Groovy | Apache License 2.0 | mirantis/pipeline-library | display pretty newlines
Change-Id: I5f2b46247d24fd2e1019c818bf8754b5a60f8c66 |
422,494 | 03.03.2017 18:08:50 | -3,600 | ac0f1cea8d72fdf1b0151043f08189510b0b1281 | lets apply some magic to printSaltStateResult | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -214,7 +214,7 @@ def printSaltStateResult(result, onlyChanges = true) {\nfor (node in out) {\nif (node.value) {\nprintln \"Node ${node.key} changes:\"\n- print new gro... | Groovy | Apache License 2.0 | mirantis/pipeline-library | lets apply some magic to printSaltStateResult
Change-Id: I74d1c0c3a7211f518a07234f6cce0d51ef54fa45 |
422,494 | 04.03.2017 00:17:18 | -3,600 | 2a9b712753b9496c89d6bcec481cacc6821e3804 | wrap newlines in json output | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -214,7 +214,7 @@ def printSaltStateResult(result, onlyChanges = true) {\nfor (node in out) {\nif (node.value) {\nprintln \"Node ${node.key} changes:\"\n- print new gro... | Groovy | Apache License 2.0 | mirantis/pipeline-library | wrap newlines in json output
Change-Id: If5aefb25a89299ac8c6ad544b2879bd75e78c9af |
422,464 | 06.03.2017 18:08:32 | -3,600 | 7dccebe9dd01ca95bb645e65d73cea8fce009734 | Extend git checkout function by timeout possibility. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -13,16 +13,23 @@ package com.mirantis.mk\n* @param url Source Git repository URL\n* @param branch Source Git repository branch\n* @param credentialsId Credentials ID to ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Extend git checkout function by timeout possibility.
Change-Id: I90e8c9515d46f9f1ae1b74d079c93c27613ff640 |
422,464 | 06.03.2017 18:20:08 | -3,600 | 6fa8cb1269672780478b90d06b67fcd8b5627c0a | Fix git checkout in specified paths | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -17,6 +17,7 @@ package com.mirantis.mk\n* @param timeout Set checkout timeout (default 10)\n*/\ndef checkoutGitRepository(path, url, branch, credentialsId = null, poll =... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix git checkout in specified paths
Change-Id: I3adc271d4962f83dfba38216b7780b605dec03c4 |
422,464 | 06.03.2017 18:54:08 | -3,600 | a17c3033bde57f4a78b81ea0cdadf3d1ef747ed2 | Remove unneseccary relative path in git checkouts | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -26,7 +26,6 @@ def checkoutGitRepository(path, url, branch, credentialsId = null, poll = true,\nbranches: [[name: \"*/${branch}\"]],\ndoGenerateSubmoduleConfigurations: ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove unneseccary relative path in git checkouts
Change-Id: I9d4f2f82d1feb73e867277dff2ca487e137a7147 |
422,482 | 06.03.2017 12:26:33 | -7,200 | 01704b33fd66c9adf5b6a5a42c7a8e133a69f50b | Add cat function
Will be used to store tests results on host without ssh | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Test.groovy",
"new_path": "src/com/mirantis/mk/Test.groovy",
"diff": "@@ -52,7 +52,11 @@ def copyTempestResults(master) {\n}\n-/**\n- * Upload results to testrail\n+/** Store tests results on host\n*\n+ * @param image Docker image name\n*/\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add cat function
Will be used to store tests results on host without ssh
Change-Id: I83503ecd276d0a68a656dba1fccf4c2eb5c06efa |
422,468 | 08.03.2017 10:25:45 | -3,600 | cec24d4c5a5fbcd3f4a48d82cf1a588d1b8e7199 | Salt getPillar and getGrain functions | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -82,11 +82,28 @@ def runSaltCommand(master, client, target, function, batch = null, args = null,\nreturn http.sendHttpPostRequest(\"${master.url}/\", data, headers)\n}... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Salt getPillar and getGrain functions
Change-Id: Ida59a9e86749d2b90f386a866cbf3a0f5edef948 |
422,494 | 08.03.2017 15:46:52 | -3,600 | aa8091c079d68c381a0edf1fabaf20db94bf6772 | make enforceState to print output by default | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -104,7 +104,7 @@ def getGrain(master, target, grain = null) {\n}\n-def enforceState(master, target, state, output = false) {\n+def enforceState(master, target, state, ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | make enforceState to print output by default
Change-Id: I8ded148ca529f0d271c8ded5519e10d91cdd8fd3 |
422,464 | 08.03.2017 16:42:06 | -3,600 | 61f29e6e85299e6577010fa6ac4f5f7242afb3e8 | Git checkout params extended with depth settings. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -15,8 +15,9 @@ package com.mirantis.mk\n* @param credentialsId Credentials ID to use for source Git\n* @param poll Enable git polling (default true)\n* @param timeout Se... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Git checkout params extended with depth settings.
Change-Id: I1fa3dd3ad8f163b49d73f38603580ba1cb614671 |
422,464 | 08.03.2017 17:41:21 | -3,600 | 1589f9aa9c4e14e0f3754595e153c661ab5ca9f7 | Fixed working with git checkout depth | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -28,7 +28,7 @@ def checkoutGitRepository(path, url, branch, credentialsId = null, poll = true,\ndoGenerateSubmoduleConfigurations: false,\nextensions: [\n[$class: 'Check... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed working with git checkout depth
Change-Id: Id5a70a5a905d6bfe45f3737753d9854f91bfe3d1 |
422,494 | 08.03.2017 18:26:16 | -3,600 | 6eb45f8f418076cc2e035a23081f804cda8c91c4 | print warning when state step fails
We will raise expection later. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -214,6 +214,7 @@ def checkResult(result) {\n* parsing\n*/\ndef printSaltStateResult(result, onlyChanges = true) {\n+ def common = new com.mirantis.mk.Common()\ndef out... | Groovy | Apache License 2.0 | mirantis/pipeline-library | print warning when state step fails
We will raise expection later.
Change-Id: I0a7bddd21be9febcd67c0f97af1ee77e07a318a4 |
422,494 | 09.03.2017 09:05:35 | -3,600 | cebc5eb26b099c3acb3116575fc92d8c1f83d33f | print errros only when serializable | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -225,7 +225,7 @@ def printSaltStateResult(result, onlyChanges = true) {\n} else if (resource.value.result.toString().toBoolean() == false || resource.value.changes || ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | print errros only when serializable
Change-Id: I1f9319323ac9cc2a83bf3e1c59af15ceca4ba022 |
422,494 | 09.03.2017 09:40:53 | -3,600 | 9a195619bfc1d4429a6c865fd9b5b0a852e2651f | do not print errors since it creates serializable errors | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -225,9 +225,9 @@ def printSaltStateResult(result, onlyChanges = true) {\n} else if (resource.value.result.toString().toBoolean() == false || resource.value.changes || ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | do not print errors since it creates serializable errors
Change-Id: Ica1c59803fc2683098f108805401b6b891677bec |
422,494 | 10.03.2017 16:30:46 | -3,600 | d2589708112d3e53a54607147b2bf8d8a74a2372 | fix getPillar output | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -83,12 +83,14 @@ def runSaltCommand(master, client, target, function, batch = null, args = null,\n}\ndef getPillar(master, target, pillar = null) {\n+ def out\n+\nif (... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix getPillar output
Change-Id: I9f88c0f2029aa65a8a1a6877192387440fcee699 |
422,464 | 10.03.2017 16:14:01 | -3,600 | 5ade54c37b37cea56c145ba65e318e5691c9c78e | New version of salt check result function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -82,31 +82,45 @@ def runSaltCommand(master, client, target, function, batch = null, args = null,\nreturn http.sendHttpPostRequest(\"${master.url}/\", data, headers)\n}... | Groovy | Apache License 2.0 | mirantis/pipeline-library | New version of salt check result function
Change-Id: If62068adb7c3d664f31ddddafc3c526f3a2e9412 |
422,494 | 10.03.2017 23:03:48 | -3,600 | c59f4c50727759c33c54e5df77166406e2f0212a | run salt.minion cert together with etcd install | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -198,7 +198,7 @@ def installOpenstackMcpInfra(master) {\n// Install bird\nsalt.runSaltProcessStep(master, 'I@bird:server', 'state.sls', ['bird'])\n// Ins... | Groovy | Apache License 2.0 | mirantis/pipeline-library | run salt.minion cert together with etcd install
Change-Id: I4b6ee9ff493bbbd2a9904f9dfeaa5f37278c2c3c |
422,464 | 13.03.2017 11:57:26 | -3,600 | 1aeb6e38df8ec87eceeeeeabb14a388e423245d9 | Fix keys in checkResult function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -271,7 +271,7 @@ def checkResult(result, failOnError = true) {\n}\nfor (node in entry) {\nfor (resource in node.value) {\n- if(!resource[result] || resource[result] !=... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix keys in checkResult function
Change-Id: I37d26f688e1138ba2f4ba0fba5e9b8ff72c3bde3 |
422,464 | 13.03.2017 14:26:44 | -3,600 | 4bc2afc2b27bd609002793ecba311dacd056dc97 | Added test print to salt checkResult function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -271,6 +271,7 @@ def checkResult(result, failOnError = true) {\n}\nfor (node in entry) {\nfor (resource in node.value) {\n+ println(String.format(\"resource = '%s'\", ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added test print to salt checkResult function
Change-Id: I2e0c143623b25db1cb4d07f0ebceca2bb82f73db |
422,464 | 13.03.2017 14:51:40 | -3,600 | a532efc85305e1b5e595909107884ed919210d72 | Fixed salt result checking | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -272,7 +272,11 @@ def checkResult(result, failOnError = true) {\nfor (node in entry) {\nfor (resource in node.value) {\nprintln(String.format(\"resource = '%s'\", reso... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed salt result checking
Change-Id: Id647352603e60fb2ad6a65ac8ac0c44a33fa93c3 |
422,464 | 13.03.2017 15:12:30 | -3,600 | 877d69878915f3686ac3a2e2595f3d09f200d502 | Fixed salt result checking again | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -273,8 +273,8 @@ def checkResult(result, failOnError = true) {\nfor (resource in node.value) {\nprintln(String.format(\"resource = '%s'\", resource))\ndef res = resour... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed salt result checking again
Change-Id: I0af6caeb93457e99382bc059db6fa08fc5e6d4a7 |
422,464 | 13.03.2017 15:43:25 | -3,600 | 52ae03943bb64fbbfbb5b17b03146001d6765e73 | Fixed logging in salt state checking | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -273,14 +273,14 @@ def checkResult(result, failOnError = true) {\nfor (resource in node.value) {\nprintln(String.format(\"resource = '%s'\", resource))\ndef res = reso... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed logging in salt state checking
Change-Id: I3b98f512a50b3e9b5bfd45e130be4337cc780cbe |
422,464 | 13.03.2017 17:28:35 | -3,600 | 874918019aefba16648cf8455d167ec57ae30cc7 | Remove debug output, fix logging in salt result checking | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -271,16 +271,15 @@ def checkResult(result, failOnError = true) {\n}\nfor (node in entry) {\nfor (resource in node.value) {\n- println(String.format(\"resource = '%s'\"... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove debug output, fix logging in salt result checking
Change-Id: Ia2910916df5c2b174996125dd7fd1a0e878d902d |
422,464 | 14.03.2017 15:09:03 | -3,600 | 3d9d9ab5e07af5816dae238fe974d3f5d17dd388 | Extend get credentials functions for working with keys | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -32,9 +32,15 @@ def getWorkspace() {\n*\n* @param id Credentials name\n*/\n-def getCredentials(id) {\n+def getCredentials(id, cred_type = \"username_password\") {\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Extend get credentials functions for working with keys
Change-Id: I5aec7605fe2f8dc7bed5847685f899efaf75bb1b |
422,464 | 14.03.2017 15:18:08 | -3,600 | 52f69f7abf79af32481e5b4baecaa28af5c841e9 | Refactoring of salt functions | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -261,7 +261,9 @@ 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 | Refactoring of salt functions
Change-Id: Ic412b85504cd9a3df51715dff85cb78f285288ab |
422,464 | 14.03.2017 15:26:30 | -3,600 | d1de923900cbc144049ce8925b764e79ecd5b7e8 | Added logging output | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -278,6 +278,7 @@ def checkResult(result, failOnError = true) {\nif(node.value[k] instanceof Map.Entry){\nres = node.value[k].value\n}\n+ common.errorMsg(\"Checking res... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added logging output
Change-Id: I7504d0542ff4cc9962c0e07f794a09193ec45308 |
422,464 | 14.03.2017 15:42:52 | -3,600 | b22c65a7fc8bddfbe8d4c3c77f245a28914d401c | Add logging to salt print result | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -308,6 +308,7 @@ def printSaltStateResult(result, onlyChanges = true) {\nfor (int i=0; i<result['return'].size(); i++) {\ndef entry = result['return'][i]\nfor (int j=0... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add logging to salt print result
Change-Id: Ia13f6d9c33922f0eb0cca116426dea7cd4adba0a |
422,464 | 14.03.2017 16:22:55 | -3,600 | ce90b103c25134fa1c8d77b472e8337f9b8e850e | Fixed print salt states | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -306,17 +306,21 @@ def printSaltStateResult(result, onlyChanges = true) {\ndef out = [:]\nif(result['return']){\nfor (int i=0; i<result['return'].size(); i++) {\n- def... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed print salt states
Change-Id: Ic87d27ce432e2b52ec4913ebc912a245dce23581 |
422,520 | 14.03.2017 15:24:18 | -3,600 | 4e5ac79e2ff5fe5c81eef0fe9e19dd5a1bc6433d | Add uploadPpa function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -305,3 +305,23 @@ def sendNotification(buildStatus, msgText=\"\", enabledNotifications = [], notific\n}\n}\n}\n+\n+/**\n+ * Execute linux command and catch nth ele... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add uploadPpa function
Change-Id: I99cf5b8799c562efc123634f9a8b6e3fa832f856 |
422,464 | 14.03.2017 18:06:50 | -3,600 | f17c53460cce81f6667ccbddc2e7515f46fb32b9 | Fix working with salt results | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -306,8 +306,7 @@ def printSaltStateResult(result, onlyChanges = true) {\ndef out = [:]\nif(result['return']){\nfor (int i=0; i<result['return'].size(); i++) {\n- def k... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix working with salt results
Change-Id: Id46c257d122df6607052a2331329b3b9efd19636 |
422,464 | 14.03.2017 18:53:35 | -3,600 | 4eb2e6ab3beec19489a7b6fa3ec0b5e1026691de | Fixed printing of salt jobs | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -312,8 +312,13 @@ def printSaltStateResult(result, onlyChanges = true) {\ndef node=entry[nodeKey]\nout[nodeKey] = [:]\nfor (int k=0; k<node.size(); k++) {\n+ def resou... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed printing of salt jobs
Change-Id: Ie1337e7f417d0d54660ee709a66bbb3bf4b44b79 |
422,464 | 14.03.2017 20:13:41 | -3,600 | 871bf1535db5ce6425cb3dcc1448912480957981 | Fixed missing util class definition | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -284,7 +284,7 @@ def checkResult(result, failOnError = true) {\n}\nresource = node[resKey]\ncommon.errorMsg(\"Checking resource: ${resource}\")\n- if(!resource[\"resul... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed missing util class definition
Change-Id: Ic71553c1a99b9400955ad853b0d7cbf45a7e3cb3 |
422,464 | 14.03.2017 21:39:01 | -3,600 | 8a715bfd57b2547cb8272c38f430ebab559dc504 | Improved working with booleans in salt checks | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -317,6 +317,7 @@ def printSaltStateResult(result, onlyChanges = true) {\ndef nodeKey = entry.keySet()[j]\ndef node=entry[nodeKey]\nout[nodeKey] = [:]\n+ if(node instan... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Improved working with booleans in salt checks
Change-Id: Ic1a5c766c7fc097725016934c5e4ccd4adaedd2d |
422,520 | 15.03.2017 09:31:33 | -3,600 | 9ee49a4fe3914590864dc49486e9af5527cc1a08 | Fix names of parameters in importGpgKey | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -164,7 +164,7 @@ def importGpgKey(privateKeyCredId)\ndef workspace = common.getWorkspace()\ndef privKey = common.getCredentials(privateKeyCredId, \"key\")\ndef pri... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix names of parameters in importGpgKey
Change-Id: I00b6edcb068bcd555995075bbeb9ca071152db94 |
422,464 | 15.03.2017 12:10:57 | -3,600 | 74b346949617e0019858c0d94793cd9671ab511b | Updated logging in salt.groovy | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -117,7 +117,7 @@ def debugMsg(msg, color = true){\ndebugEnabled = false\n}\nif(debugEnabled){\n- printMsg(msg, \"red\")\n+ printMsg(\"[DEBUG] ${msg}\", \"red\")\n}... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Updated logging in salt.groovy
Change-Id: If020134ef0dd884a89f633831ae36ebcc11d643e |
422,464 | 15.03.2017 16:02:41 | -3,600 | 7852fe1a3571194794369eeaa4c3877bb75b070e | Fix pretty print in salt states output | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -345,7 +345,7 @@ def printSaltStateResult(result, onlyChanges = true) {\ndef node=out[nodeKey]\nif (node) {\ncommon.infoMsg(\"Node ${nodeKey} changes:\")\n- common.inf... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix pretty print in salt states output
Change-Id: I3aac82c05a1c8cf806f388d9f18170ceed980567 |
422,464 | 15.03.2017 17:35:51 | -3,600 | 935d2efc37e06cfcee559579e90d5f8af01c442f | Implemented new version of pretty 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 static groovy.json.JsonOutput.prettyPrint;\n+import static groovy.json.JsonOutput.toJson;\n+\n/**\n* Salt functions\n*\n@@ -308,7 +311,6 ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Implemented new version of pretty printing
Change-Id: I177bef2576f33cd47660e9c63110082ac7ed4bcd |
422,520 | 15.03.2017 18:01:15 | -3,600 | 96f974d5f738fe1710dfd4b27f9e7c37b647a573 | change directory for gpg key | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -165,7 +165,7 @@ def importGpgKey(privateKeyCredId)\ndef privKey = common.getCredentials(privateKeyCredId, \"key\")\ndef private_key = privKey.privateKeySource.pri... | Groovy | Apache License 2.0 | mirantis/pipeline-library | change directory for gpg key
Change-Id: I7f47962f6fcccf4e868cc4ed3a85039f68cdc432 |
422,464 | 15.03.2017 19:19:23 | -3,600 | d9afd0ebc591e348658466339504ab8288668f4f | Added colors to salt outputs | [
{
"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 static groovy.json.JsonOutput.prettyPrint;\n-import static groovy.json.JsonOutput.toJson;\n+import static groovy.json.JsonOutput.prettyPr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added colors to salt outputs
Change-Id: I4b4884705fae3b6dc5f75b56949d5320196b739d |
422,468 | 16.03.2017 08:46:34 | -3,600 | 5276ebe4c1e986095b3eacafa914068d502609d7 | Get minions salt function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -193,6 +193,18 @@ def enforceHighstate(master, target, output = false, failOnError = true) {\nreturn out\n}\n+/**\n+ * Get running minions IDs according to the target\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Get minions salt function
Change-Id: I8270b0714f3910e71e319d26609af4ce5ab12bed |
422,464 | 16.03.2017 14:11:54 | -3,600 | f1fb4474e6d7175e2e47f61d4212bf06156e6b4b | Fixed resource cleaning in salt prints | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -345,10 +345,18 @@ def printSaltStateResult(result, onlyChanges = true) {\nresKey = k\n}\nresource = node[resKey]\n+ if(resource instanceof Map && resource.keySet().co... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed resource cleaning in salt prints
Change-Id: I2d47383a82a8d9e884adce1abb5d19c4e85cf631 |
422,464 | 16.03.2017 16:25:05 | -3,600 | 0e7bd6332881080720e13089fb96dafeca2492bc | Implemented warning message in salt state checking | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -101,7 +101,7 @@ def successMsg(msg, color = true) {\n* @param color Colorful output or not\n*/\ndef warningMsg(msg, color = true) {\n- printMsg(msg, \"blue\")\n+ ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Implemented warning message in salt state checking
Change-Id: I24905d08b54560100142d069f45667ad8f533b39 |
422,520 | 16.03.2017 17:09:13 | -3,600 | 85afa502a15a6a652c7a94379ed919d85faa6cc6 | Export GNUPGHOME for debsign | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -203,7 +203,7 @@ def uploadPpa(ppaRepo, dirPath, privateKeyCredId) {\nsh(\"sed -i -e s,$orig_sha1,$new_sha1,g -e s,$orig_sha256,$new_sha256,g -e s,$orig_size,$new_... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Export GNUPGHOME for debsign
Change-Id: Id77c68390478186f5b9dbed7c4e8fbd48b71ca16 |
422,520 | 17.03.2017 15:01:16 | -3,600 | a22760dee704ca278962efe324029245083eaf60 | Export GNUPGHOME also for dput | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -204,7 +204,7 @@ def uploadPpa(ppaRepo, dirPath, privateKeyCredId) {\n}\nsh(\"export GNUPGHOME=${workspace}/.gnupg; debsign --re-sign -k ${gpg_key_id} *.changes\")... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Export GNUPGHOME also for dput
Change-Id: I8d9da8599caad40bf840fd5878f6c1581fbbb773 |
422,464 | 17.03.2017 15:46:06 | -3,600 | ab6bf1aefad01f736ed23980287a10181ce9f53a | Implemented methods work working with HTTP proxies | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Http.groovy",
"new_path": "src/com/mirantis/mk/Http.groovy",
"diff": "@@ -172,3 +172,31 @@ def restGet(master, uri, data = null) {\ndef restPost(master, uri, data = null) {\nreturn restCall(master, uri, 'POST', data, ['Accept': '*/*'])\n}\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Implemented methods work working with HTTP proxies
Change-Id: Ib6e96661486fffb89625d29ae0ed93ebe98426c3 |
422,520 | 17.03.2017 15:53:47 | -3,600 | 5d1e97f5709620789e378ba7d2f21aaec788a3fb | Fix url in uploadPpa | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -191,7 +191,7 @@ def uploadPpa(ppaRepo, dirPath, privateKeyCredId) {\ndef orig_md5 = common.cutOrDie(\"md5sum ${name}\", 0)\ndef orig_size = common.cutOrDie(\"ls -... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix url in uploadPpa
Change-Id: I982a046a01a02ec279672326585a99fc7b8b4ee2 |
422,520 | 21.03.2017 13:19:08 | -3,600 | be46ffa2b77d4acbd7dd09ef48c0456e7d743a91 | Modify promotePublish to handle components and packages | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Aptly.groovy",
"new_path": "src/com/mirantis/mk/Aptly.groovy",
"diff": "@@ -73,12 +73,12 @@ def diffPublish(server, source, target, components=null, opts='--timeout 600') {\n}\ndef promotePublish(server, source, target, recreate=false, comp... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Modify promotePublish to handle components and packages
Change-Id: I400ed2f5ce21eaf3be89f0605e05e85990ea1a7d |
422,520 | 21.03.2017 16:50:43 | -3,600 | c684645bada68afc602179349e78e5d58f427ea3 | Import gpg only when needed | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -163,9 +163,13 @@ def importGpgKey(privateKeyCredId)\ndef workspace = common.getWorkspace()\ndef privKey = common.getCredentials(privateKeyCredId, \"key\")\ndef pr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Import gpg only when needed
Change-Id: I8c45968b4749aa8d8248224f7dca5a9fa34bc168 |
422,464 | 22.03.2017 15:45:05 | -3,600 | 3e8dd4789406290ff099aa70bff92c000632732c | Fixed ssh get known host function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ssh.groovy",
"new_path": "src/com/mirantis/mk/Ssh.groovy",
"diff": "@@ -26,8 +26,13 @@ def getKnownHost(url){\nhost = result.group(1)\nport = 22\n} else {\n+ // test for protocol\n+ if(url.indexOf(\"://\") == -1){\n+ url=\"ssh://\" + url\n+... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed ssh get known host function
Change-Id: I93e4b5ec7ccc13b9af6fcb599c7e02435dd07ab0 |
422,464 | 22.03.2017 16:44:56 | -3,600 | ceaacea2b98d644173ca8ca0f1546af5c42e0ca7 | Removed accidentally commited print | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ssh.groovy",
"new_path": "src/com/mirantis/mk/Ssh.groovy",
"diff": "@@ -32,7 +32,6 @@ def getKnownHost(url){\n}\nparsed = new URI(url)\nhost = parsed.host\n- println(host)\nport = parsed.port && parsed.port > 0 ? parsed.port: 22\n}\nreturn ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Removed accidentally commited print
Change-Id: Id2e928a71b123d314cb7818272cc8ccd74e99bc0 |
422,520 | 22.03.2017 18:06:06 | -3,600 | 34e5c94d3437871a08af31fb1ffa6b9a0827abc9 | Add only source.changes | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -206,7 +206,7 @@ def uploadPpa(ppaRepo, dirPath, privateKeyCredId) {\nsh(\"sed -i -e s,$orig_sha1,$new_sha1,g -e s,$orig_sha256,$new_sha256,g -e s,$orig_size,$new_... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add only source.changes
Change-Id: I54e5e3de273d5f0bc789e852b49bfcf2ea5c8624 |
422,464 | 22.03.2017 18:35:55 | -3,600 | 0fcd75e275667efe30ad5efe9a93914132574e1a | Fixed gerrit patchset checkout | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -31,6 +31,12 @@ def gerritPatchsetCheckout(LinkedHashMap config) {\ndef merge = config.get('withMerge', false)\ndef wipe = config.get('withWipeOut', false)\ndef cr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixed gerrit patchset checkout
Change-Id: I78ba5a3b0163366a5965300368c03de5e4149660 |
422,520 | 23.03.2017 10:11:36 | -3,600 | 3c93ff69ca8fc82786bdc5bbd8571607c03c5eeb | specify _source.changes instead of *.changes | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -203,7 +203,7 @@ def uploadPpa(ppaRepo, dirPath, privateKeyCredId) {\ndef new_size = common.cutOrDie(\"ls -l ${name}\", 4)\nsh(\"sed -i -e s,$orig_sha1,$new_sha1,g... | Groovy | Apache License 2.0 | mirantis/pipeline-library | specify _source.changes instead of *.changes
Change-Id: I2031e473153d93a6be1f6df918bc3a8b56e4e9fc |
422,494 | 23.03.2017 10:38:59 | -3,600 | 767dd73fbdef5bc0f35f3715b22be48460265a27 | add checkContains
This function can be used to simple checking if variables contains
keywords. It can handle situation when variable isn't defined or isn't
a string. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -370,3 +370,25 @@ def cutOrDie(cmd, index)\ncommon.errorMsg(\"Failed to execute cmd: ${cmd}\\n output: ${output}\")\n}\n}\n+\n+/**\n+ * Check variable contains key... | Groovy | Apache License 2.0 | mirantis/pipeline-library | add checkContains
This function can be used to simple checking if variables contains
keywords. It can handle situation when variable isn't defined or isn't
a string.
Change-Id: If6b667c2f86d353d6e0a7d0110fc5b3682ee996e |
422,520 | 23.03.2017 11:01:52 | -3,600 | fa29feb768ca6c3d5bb9d76155188fc6db317ea0 | force the inclusion of the original source | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -133,7 +133,7 @@ def buildSourceGbp(dir, image=\"debian:sid\", snapshot=false, gitEmail='jenkins@du\nsudo -H -u jenkins git add -u debian/changelog &&\nsudo -H -u ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | force the inclusion of the original source
Change-Id: Ib25b0a7631bae3f812f768dfbcd6093cd81ead19 |
422,464 | 23.03.2017 15:02:12 | -3,600 | c952e5aff23de27f06178dd3d5468fae5f4ec101 | Implemented ask for error possibility | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -138,13 +138,10 @@ def enforceState(master, target, state, output = true, failOnError = true) {\ndef out = runSaltCommand(master, 'local', ['expression': target, 'type... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Implemented ask for error possibility
Change-Id: Ifb4d61d430d5abd12688fea8a34cf26a97e04655 |
422,464 | 23.03.2017 15:46:23 | -3,600 | 760e84bcd617807ba3f4fbf85381386ab6c12dd5 | Improved error asking | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -303,7 +303,7 @@ def checkResult(result, failOnError = true) {\nif(resource instanceof String || !resource[\"result\"] || (resource[\"result\"] instanceof String && re... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Improved error asking
Change-Id: Ic091f809cd04c42f929bec41dc91c210f1a70ae1 |
422,464 | 23.03.2017 15:52:34 | -3,600 | a5483840c41bb8cf850d1337b9f46c7fd46945c4 | Added pretty print to asking for errors | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -302,8 +302,9 @@ def checkResult(result, failOnError = true) {\ncommon.debugMsg(\"checkResult: checking resource: ${resource}\")\nif(resource instanceof String || !res... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added pretty print to asking for errors
Change-Id: I0e70ad011535d88d586bcc694ef4cb74dadb79e4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.