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,477 | 11.04.2019 10:27:12 | 18,000 | 757bc586047dd7d9639a8ac06ddf6318416e1daf | Restore uploadResultsTestrail method in Test.groovy
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Test.groovy",
"new_path": "src/com/mirantis/mk/Test.groovy",
"diff": "@@ -445,8 +445,7 @@ def install_docker(master, target) {\ndef uploadResultsTestrail(report, image, testGroup, credentialsId, plan, milestone, suite, master = null, target... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Restore uploadResultsTestrail method in Test.groovy
Change-Id: I1837023009c3932ac052786f671b8a6deec199f6
Related-PROD: PROD-28331 |
422,471 | 15.04.2019 20:21:25 | -14,400 | e8115c4e0aca875b7009d582ae1daa8322b26293 | Use salt pre-set image from prod registry
Docker-prod registry is public available, so lets switch salt
prebuilt image to use from that registry.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -33,7 +33,7 @@ def setupDockerAndTest(LinkedHashMap config) {\ndef dockerContainerName = config.get('dockerContainerName', defaultContainerName... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Use salt pre-set image from prod registry
Docker-prod registry is public available, so lets switch salt
prebuilt image to use from that registry.
Change-Id: I1d8b681be8295b6bd25272de3e371b0de9c1e4ee
Related-Prod: PROD-27660 (PROD-27660) |
422,489 | 16.04.2019 15:50:22 | -7,200 | 26d2cc11184a5cac815f3af229e863a2ae5549a8 | Return git clone step for ruby-build to ensureRubyEnv function
- Returning this step which was removed prviously, because we need
to override old ruby-build package installed on Jenkins slaves
- Remove unused variable and unnecesary rm step
Fixes: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ruby.groovy",
"new_path": "src/com/mirantis/mk/Ruby.groovy",
"diff": "@@ -9,13 +9,12 @@ package com.mirantis.mk\n* @param rubyVersion target ruby version (optional, default 2.2.3)\n*/\ndef ensureRubyEnv(rubyVersion=\"2.4.1\"){\n- def ruby_b... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Return git clone step for ruby-build to ensureRubyEnv function
- Returning this step which was removed prviously, because we need
to override old ruby-build package installed on Jenkins slaves
- Remove unused variable and unnecesary rm step
Fixes: PROD-29321
Change-Id: I0a84449bc3bcd03ef2a94bd648030b4b212d37... |
422,556 | 16.04.2019 17:18:12 | -14,400 | bae038c2cf99507f0c034f55114f46811a6c5805 | Adjust installKubernetesControl function
Make all kubernetes.control states to be executed only on one master node
* Additional: fixed pillar check for opencontrail enable
original check always return true since check returns string
e.g. '[return:[[kdt02.sriazanov-kdt-test.local:false]]]'
Prods related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -628,7 +628,7 @@ def installKubernetesControl(master, extra_tgt = '') {\nsalt.enforceStateWithTest([saltId: master, target: \"I@docker:host ${extra_tgt}\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Adjust installKubernetesControl function
Make all kubernetes.control states to be executed only on one master node
* Additional: fixed pillar check for opencontrail enable
original check always return true since check returns string
e.g. '[return:[[kdt02.sriazanov-kdt-test.local:false]]]'
Prods related: PROD-29333 ... |
422,477 | 26.03.2019 16:15:56 | 18,000 | f1138b282f83a5ea97e1020286a5bdf533a760c8 | [CVP] Redesign runContainer method for new cvp-func job
Related-PROD:
Related-PROD:
Related to | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -40,28 +40,50 @@ def runBasicContainer(master, target, dockerImageLink=\"xrally/xrally-openstack:0\n* @param name Name for container\n* @param env_var Enviro... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [CVP] Redesign runContainer method for new cvp-func job
Related-PROD: PROD-28333
Related-PROD: PROD-29620
Related to http://gerrit.mcp.mirantis.com/37958/
Change-Id: I9530ef8704edb44d5b9c9547ab58f1dd09dfc958 |
422,489 | 02.05.2019 11:36:57 | -7,200 | 047257f1a10e4edb14e95549c8b6d57cb324851f | Only test disk utilization on xtrabackup nodes
Related:
Fixes: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -94,8 +94,10 @@ def verifyGaleraStatus(env, slave=false, checkTimeSync=false) {\ncommon.errorMsg(\"No Galera slave was reachable.\")\nreturn 130\n}\n- def checkTar... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Only test disk utilization on xtrabackup nodes
Related: PROD-28135
Fixes: PROD-29932
Change-Id: Ic715698e39b4c7bb685b57040a5500fa86ae5583 |
422,532 | 07.05.2019 11:23:52 | -7,200 | 0a6f9b5b398e8ad13da053b965a5c9eab6359c46 | Added retries to the grafana.client part in SL block
Closes-Bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -973,7 +973,8 @@ def installStacklight(master, extra_tgt = '') {\ncommon.infoMsg(\"Waiting for service on http://${stacklight_vip}:15013/ to start\")\nsl... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added retries to the grafana.client part in SL block
Change-Id: I49c6caa883d10cf44f94195019cfedf3eeaaa69b
Closes-Bug: PROD-29847 |
422,458 | 15.05.2019 16:07:26 | -10,800 | 561ec878a302c1b2c9902885820b9aff24104b4c | Add poss. to disable update repos during syntax tests
Prod-related: (PROD:29904) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -99,13 +99,17 @@ repo:\n// override for now\ndef extraRepoMergeStrategy = config.get('extraRepoMergeStrategy', 'override')\ndef extraRepos = co... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add poss. to disable update repos during syntax tests
Change-Id: Ic740a0c8de07aad49d5124a873bbe8477d2d73be
Prod-related: PROD-29904 (PROD:29904) |
422,477 | 29.04.2019 15:25:42 | 18,000 | 62ca88d8be09b487a512c81b9e00d812a011deda | [CVP] Better handling of offline minion situation for cvp methods
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -93,8 +93,15 @@ def _get_keystone_creds_v2(master){\ndef salt = new com.mirantis.mk.Salt()\ndef common = new com.mirantis.mk.Common()\ndef keystone = []\n+ _... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [CVP] Better handling of offline minion situation for cvp methods
Change-Id: I6022445fa75393dfb5416fd971bbfbbf647ba013
Related-PROD: PROD-22845 |
422,471 | 17.05.2019 16:44:44 | -14,400 | c2a8852739d9891512b36dfd8ca3fab92a66ddd9 | Use salt image for SaltModelTesting container from public registry
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -33,7 +33,7 @@ def setupDockerAndTest(LinkedHashMap config) {\ndef dockerContainerName = config.get('dockerContainerName', defaultContainerName... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Use salt image for SaltModelTesting container from public registry
Change-Id: Ie7445ce1aca5fad5b4f9894a8a03b909751c6b13
Related-Prod: PROD-27660 |
422,445 | 20.05.2019 12:21:47 | -14,400 | 0a340f87a1c90dd9e3da5d7455c1118df5ac4761 | [Openstack libs] hot fix for python2.7 venv
To avoid failures for python 2.7 venv due
`TypeError: 'encoding' is an invalid keyword argument for this function`
reason: usptream warlock package release:
Prod-related: (PROD:30416) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -49,11 +49,15 @@ def setupOpenstackVirtualenv(path, version = 'latest') {\n'cliff==2.8',\n// NOTE(vsaienko): cmd2 is dependency for cliff, since we don't usi... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [Openstack libs] hot fix for python2.7 venv
To avoid failures for python 2.7 venv due
`TypeError: 'encoding' is an invalid keyword argument for this function`
reason: usptream warlock package release:
https://github.com/bcwaldon/warlock/commit/4241a7a9fbccfce7eb3298c2abdf00ca2dede64a
Prod-related: PROD-30416 (PROD:3... |
422,459 | 21.05.2019 16:18:51 | -14,400 | 5f8e64cd805b6ee71de15b90d6f148055247e44a | Unhardcode jenkins master protocol
Related-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -791,11 +791,11 @@ def installCicd(master, extra_tgt = '') {\n}\n// Jenkins\n- def jenkins_master_host_pillar = salt.getPillar(master, jenkins_compound, ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Unhardcode jenkins master protocol
Related-bug: PROD-26834
PROD-30275
Change-Id: I345352b484d40249f2688066c5136813e12ff0af |
422,477 | 15.05.2019 15:51:30 | 18,000 | 95c98852b0a4fbf71045977fa4970b5a2ced20ae | [CVP] Fixes for TOOLS_REPO parameter for cvp-func/perf/ha job
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -713,21 +713,24 @@ def configureContainer(master, target, proxy, testing_tools_repo, tempest_repo,\ntempest_endpoint_type=\"internalURL\", tempest_version=\"... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [CVP] Fixes for TOOLS_REPO parameter for cvp-func/perf/ha job
Change-Id: Ib9800fb1c0b3c2c05222e22117a53688da8a73d6
Related-PROD: PROD-30325 |
422,501 | 22.05.2019 14:15:43 | -10,800 | 2e592ae05feec07e3e068fac132779518abb222d | Replace runSaltProcessStep by cmdRun
This patch replaces runSaltProcessStep in osUpgrade and osDistUpgrade
functions by cmdRun which has the ability to check the return error code
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -265,8 +265,8 @@ def osUpgrade(env, target){\ncommon.infoMsg(\"Running upgrade on ${target}\")\nsalt.runSaltProcessStep(env, target, 'pkg.refresh_db', [], null, tr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Replace runSaltProcessStep by cmdRun
This patch replaces runSaltProcessStep in osUpgrade and osDistUpgrade
functions by cmdRun which has the ability to check the return error code
Change-Id: I131dd0e415afc8cbc0a08f9143739dcc7a3a71e4
Related-Prod: PROD-29862 |
422,456 | 23.05.2019 10:06:28 | -14,400 | 22b03e81ce9ff6482f6969ee5e94e9ee6da27033 | Add elasticsearch scheme var to status check
PROD-related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -890,9 +890,18 @@ def installStacklight(master, extra_tgt = '') {\n} else {\ncommon.errorMsg('[ERROR] Elasticsearch VIP port could not be retrieved')\n}\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add elasticsearch scheme var to status check
Change-Id: I928e2127e12d08b8ff708b4ae227bb96f71d8dc3
PROD-related: PROD-30514 |
422,477 | 15.05.2019 12:20:28 | 18,000 | 1fbc956197d4f67fc8145d0cbb5000748426b652 | [CVP,master] Replace hardcode in runCVPrally method
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -725,16 +725,17 @@ def runSptTests(master, target, dockerImageLink, output_dir, ext_variables = [],\n* @param tempest_version Version of tempest to use. This... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [CVP,master] Replace hardcode in runCVPrally method
Change-Id: I3afe13f6ceb3d6c923c1b00bbecc1ed3d9090472
Related-PROD: PROD-30328
(cherry picked from commit d2bb3f24cae3d1d7ab2993e07a00b8fd662f582f) |
422,456 | 27.05.2019 15:44:17 | -14,400 | 73e43a438a0f95c191e7fb38187c5b5d2927c83f | Fix getting pillar values for ES health check
PROD-related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -876,26 +876,29 @@ def installStacklight(master, extra_tgt = '') {\nsalt.enforceStateWithTest([saltId: master, target: \"I@kibana:server:enabled:true ${e... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix getting pillar values for ES health check
Change-Id: Idb79503325175d1977e486f1998f109619175678
PROD-related: PROD-30582 |
422,456 | 27.05.2019 16:38:03 | -14,400 | b34cb7c5e248f6aa524b794ad211da1613923726 | Fix pillar condition for Elasticsearch
PROD-related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -878,7 +878,7 @@ def installStacklight(master, extra_tgt = '') {\n// Check ES health cluster status\ndef pillar = salt.getReturnValues(salt.getPillar(mas... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix pillar condition for Elasticsearch
Change-Id: Ic94eb0637cd74416013ae5282e876411cb6a3562
PROD-related: PROD-30582 |
422,456 | 27.05.2019 20:01:37 | -14,400 | b7f023a2d7087494db0a0a85df28adb14c10f34a | Change Heka installation condidtion in SL pipeline
PROD-related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -951,7 +951,7 @@ def installStacklight(master, extra_tgt = '') {\nsalt.enforceState([saltId: master, target: \"I@docker:swarm and I@prometheus:server ${e... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Change Heka installation condidtion in SL pipeline
Change-Id: I257bd40f3826cf26f115bf8f8938baf75a4897c4
PROD-related: PROD-27751 |
422,505 | 30.05.2019 12:27:00 | -7,200 | 4e96bd0ad28ba67b07e951885f8b23db71297aa8 | Fix targeting in case when conformance pod is deployed on cmp node
Closes-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Test.groovy",
"new_path": "src/com/mirantis/mk/Test.groovy",
"diff": "@@ -133,6 +133,7 @@ def uploadConformanceContainerdResults(LinkedHashMap config) {\ndef target = config.get('target', 'I@kubernetes:master and ctl01*')\ndef status = conf... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix targeting in case when conformance pod is deployed on cmp node
Change-Id: Ic20a7868ccf1fc4d1eb54ca15d5c86d28282a12a
Closes-bug: PROD-30726 |
422,477 | 20.05.2019 21:40:25 | 18,000 | 81fef106b97ccef981b65811b09d37aa510ed950 | [CVP] Fix cleanup execution for cvp jobs
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -903,10 +903,12 @@ def get_vip_node(master, target) {\n* Find vip on nodes\n*\n* @param target Host with cvp container\n+ * @param container_name Name of con... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [CVP] Fix cleanup execution for cvp jobs
Change-Id: Ife219bd5bb5b49279f3910272a5e4d76ba897e8f
Related-PROD: PROD-30407
(cherry picked from commit 93e3198d8606d0e8312b7c069c7e911e5ea2030b) |
422,458 | 07.06.2019 15:20:52 | -10,800 | e9beda355a1b0ea9155911a5257936af0481eeb0 | Enforce salt.minion state to run twice
* Those would cover issue with new ca certs adding
Prod-related: (PROD:30840)
Prod-related: (PROD:25796) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -274,7 +274,9 @@ def installOpenstackControl(master, extra_tgt = '') {\n// Running minion states in a batch to avoid races related to certificates which ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Enforce salt.minion state to run twice
* Those would cover issue with new ca certs adding
Change-Id: I89cb0ff0c736bd858f98ee971754b30d8e62092b
Prod-related: PROD-30840 (PROD:30840)
Prod-related: PROD-25796 (PROD:25796) |
422,458 | 10.06.2019 14:12:38 | -10,800 | 4b8f402b84f189468da01d2aafa2e7ca6f7df49e | Fix enforce salt.minion state to run twice
Prod-related: (PROD:30840) | [
{
"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 installOpenstackControl(master, extra_tgt = '') {\n// Details on races: https://mirantis.jira.com/browse/PROD-25796\n// TODO: Run in... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix enforce salt.minion state to run twice
Change-Id: I923f671c236209941fca6824ed5f52397ba5388a
Prod-related: PROD-30840 (PROD:30840) |
422,530 | 11.06.2019 11:21:02 | -10,800 | a64e5b2574b9470e398f6921b318e8c7ab7fb7d1 | Add methods for Gerrit CR upload
The patch adds git and gerrit methods to
upload CR to Gerrit using pipelines.
Git`s "commitGitChanges" method has been
modified to support "-- amend" option.
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -312,3 +312,74 @@ LinkedHashMap getDependentPatches(LinkedHashMap changeInfo) {\n}\nreturn dependentPatches\n}\n+\n+/**\n+ * Find Gerrit change(s) according to var... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add methods for Gerrit CR upload
The patch adds git and gerrit methods to
upload CR to Gerrit using pipelines.
Git`s "commitGitChanges" method has been
modified to support "-- amend" option.
Change-Id: I6f61784d0edf956418b033aae2407f1f868d5067
Related-PROD: PROD-30632 |
422,510 | 17.06.2019 19:25:52 | -14,400 | 54c448420666e3b2291cd70895e72433dc964812 | Improve uriByProperties Artifactory method
Make it possible to pass a list of repositories to search in
Related story: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -40,9 +40,10 @@ def getBinaryBuildProperties(ArrayList customProperties) {\n* which should determine artifact in Artifactory\n* @param onlyLastIt... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Improve uriByProperties Artifactory method
Make it possible to pass a list of repositories to search in
Related story: PROD-30459
Change-Id: Id04b00392ad6f77291173a153a5417acf327c4c5 |
422,554 | 21.06.2019 14:50:02 | -14,400 | 2b7c3be5244679727e7a7d11276699453ad9c280 | Return "jenkins" when BUILD_USER variable is absent
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -49,7 +49,7 @@ def userInGroups(username, groups) {\ndef currentUsername() {\nusername = ''\nwrap([$class: 'BuildUser']) {\n- username = BUILD_USER\n+ ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Return "jenkins" when BUILD_USER variable is absent
Change-Id: If3ccb6e937fc8579104ab297052fb18772689ca8
Related-PROD: PROD-31298 |
422,512 | 25.06.2019 14:26:28 | -7,200 | da4edd604f4a46643aeb74940830074d3f0c34a8 | add ReleaseWorkflow
Related-prod: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "+package com.mirantis.mk\n+\n+/**\n+ * ReleaseWorkflow functions\n+ *\n+ */\n+\n+/**\n+ * Update release metadata after image build\n+ */\n+\n+def updateReleaseMetadata(){\n+ def python = new... | Groovy | Apache License 2.0 | mirantis/pipeline-library | add ReleaseWorkflow
Related-prod: PROD-31339
Change-Id: If56ed69fc35db028a8c19b2a9fac404fb44b7e6c |
422,512 | 27.06.2019 13:17:07 | -7,200 | 37a1728377dc5e3b3ba8dda2de8667e357cf4d9f | rewrite updateRelaseMetadata for more generic way
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "package com.mirantis.mk\n-\n/**\n* ReleaseWorkflow functions\n*\n@@ -10,40 +9,41 @@ package com.mirantis.mk\n*\n* @param key metadata key\n* @param ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | rewrite updateRelaseMetadata for more generic way
Related-prod: PROD-31485
Change-Id: If5e275364372d523eccc967bb0caab8c8edf0296 |
422,512 | 27.06.2019 14:29:31 | -7,200 | 2e9e345c7a0c89ee37b47a95ac8d83efff4817e7 | code review fix
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -16,6 +16,7 @@ def updateReleaseMetadata(key, value, String[] params) {\ncredentialsID = params['credentialsID'] ?: \"mcp-ci-gerrit\"\nmetadataRe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | code review fix
Related-prod: PROD-31485
Change-Id: Ic69040c0c65d191c74184dcaf6cac59117ce5d6f |
422,510 | 28.06.2019 11:45:47 | -14,400 | 74a6b6ee738bcc2a36d9e2e70eec5786ab30eb6a | Update imports in Artifactory methods
Related bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "package com.mirantis.mcp\n-import org.jfrog.hudson.pipeline.types.ArtifactoryServer\n-import org.jfrog.hudson.pipeline.types.buildInfo.BuildInfo\n+i... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update imports in Artifactory methods
Related bug: PROD-31583
Change-Id: I5afb7317b75868b3c967a1509259d0889060ec7f |
422,492 | 01.07.2019 21:32:03 | -18,000 | 35cdebc5b97e3673b44c19c278d96e6ab0346e14 | Fix releaseMetadata.updateReleaseMetadata() function
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -12,12 +12,13 @@ package com.mirantis.mk\n* @param params string map with credentialsID, metadataRepoUrl, metadataGerritBranch and crTopic\n*/\n-... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix releaseMetadata.updateReleaseMetadata() function
Change-Id: Ic12d7bab86af60b4fc976a6b5ad67fd84c01dff4
Related-Prod: PROD-31195 |
422,492 | 02.07.2019 12:41:53 | -18,000 | c1cc7501705b5aac014a49e749e99527727e72a1 | Add escaping for parameters of app.py in updateReleaseMetadata
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -70,7 +70,7 @@ def updateReleaseMetadata(String key, String value, Map params) {\nChangeId = ''\ngit.createGitBranch(repoDir, crTopic)\n}\n- cmdT... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add escaping for parameters of app.py in updateReleaseMetadata
Change-Id: I06dd75dce18fcef1400b8b1c50f7f0cfcb2618f1
Related-Prod: PROD-31195 |
422,477 | 20.05.2019 14:25:49 | 18,000 | 5efe0eabdcc7214412d6d79c7b76122050741d98 | [CVP,master] Fix cvp-perf job for xrally 0.11.2
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -794,9 +794,9 @@ def runCVPrally(master, target, scenarios_path, output_dir, output_filename=\"doc\ndef salt = new com.mirantis.mk.Salt()\ndef xml_file = \"$... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [CVP,master] Fix cvp-perf job for xrally 0.11.2
Change-Id: Ief4d8c6acd79414930f952a8734169b877a61ca1
Related-PROD: PROD-30540
(cherry picked from commit 365eba687279f3da091007f73b6bbc0b788b50c3) |
422,529 | 05.07.2019 12:22:33 | -10,800 | ab8ff4f86b04b748bbc2661484cf912cf3c86204 | Created new function in Artifactory.groovy for Helm charts
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Artifactory.groovy",
"new_path": "src/com/mirantis/mk/Artifactory.groovy",
"diff": "@@ -394,3 +394,66 @@ def uploadPackageStep(art, file, properties, distribution, component, timestamp)\n)\n}\n}\n+\n+/**\n+ * Get Helm repo for Artifactory\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Created new function in Artifactory.groovy for Helm charts
Related-prod: https://mirantis.jira.com/browse/PROD-31524
Change-Id: I1d70c4b4c1ee6f7f98855804345e4fd1cfc6a7f8 |
422,489 | 08.07.2019 12:06:04 | -7,200 | 74f5175309aa7a04663ed37236a2271b64ea2c3f | Fix units of disk utilization check for galera recovery pipe
- units are in percents - changing 0.5 to 50
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -105,8 +105,8 @@ def verifyGaleraStatus(env, slave=false, checkTimeSync=false) {\n}\nfor (int i = 0; i < iostatRes.size(); i++) {\ndef diskKey = iostatRes.keySet()... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix units of disk utilization check for galera recovery pipe
- units are in percents - changing 0.5 to 50
Related: PROD-28135
Change-Id: Idc3a304e3abacd4928bad2c0befd8f92cec923a6 |
422,489 | 08.07.2019 11:12:58 | -7,200 | 1949d0cc24a33decf77e053196fbb30a3e8d3476 | Fix for broken galera connection
- reorder steps to fix the issue with wrong value of gcom parameter
Fixes:
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -347,23 +347,38 @@ def restoreGaleraCluster(env, runRestoreDb=true) {\ncommon.warningMsg('File is not present')\n}\n+ // make sure that gcom parameter is empty\nsa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix for broken galera connection
- reorder steps to fix the issue with wrong value of gcom parameter
Fixes: PROD-31525
Related: PROD-27943
Change-Id: Ia70d222f93ca98798b87d8bbaa51321ede5cedab |
422,471 | 08.07.2019 15:54:08 | -14,400 | 815758d1b85191b4562744bc1884f54b254a176e | Add functions for saving artifacts in GCS
Also added function for generating random hash string
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -1006,3 +1006,16 @@ def debianExtraRepos(repoConfig) {\nDate parseDate(String date, String format) {\nreturn Date.parse(format, date)\n}\n+\n+/**\n+ * Generate Ran... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add functions for saving artifacts in GCS
Also added function for generating random hash string
Change-Id: I447f90398bf7f7e4265ef1a9b3dcc266e25b7125
Related-Prod: PROD-31581 |
422,489 | 01.07.2019 17:21:12 | -7,200 | 712d85c634de0a04c868644510abe1f160997b20 | Add output of not responding minions to minionsReachable function
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -458,32 +458,45 @@ def minionsPresentFromList(saltId, target = 'I@salt:master', target_minions = []\n* You can call this function when salt-master already contains sal... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add output of not responding minions to minionsReachable function
Related: PROD-26521
Change-Id: I987b0c933c02d5ab837d393ba3c4671788ced803 |
422,529 | 18.07.2019 12:53:21 | -10,800 | 01305f884dcea212e46a2bc19061bf27f6a8b4d7 | Edited methods for artifactory.groovy: restCall, publishArtifactoryHelmChart, deleteArtifactoryHelmChart
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Artifactory.groovy",
"new_path": "src/com/mirantis/mk/Artifactory.groovy",
"diff": "@@ -16,7 +16,7 @@ package com.mirantis.mk\n* @param headers Map of additional request headers\n*/\ndef restCall(art, uri, method = 'GET', data = null, heade... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Edited methods for artifactory.groovy: restCall, publishArtifactoryHelmChart, deleteArtifactoryHelmChart
Related-prod: https://mirantis.jira.com/browse/PROD-31522
Change-Id: I68d1a3658fbfe0814f82386546d1e0032abcc14b |
422,522 | 17.07.2019 12:01:57 | -10,800 | 5e10ba2fb4bd437022c3645aed453afe213e8214 | Add new startFirstNode function
Function to restore galera master node
according documentation:
tshoot-mcp-openstack/tshoot-galera/restore-galera-cluster/
restore-galera-manually.html#restore-galera-manually
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -397,3 +397,36 @@ def restoreGaleraDb(env) {\ncommon.warningMsg(\"This method was renamed to 'restoreGaleraCluster'. Please change your pipeline to use this call i... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add new startFirstNode function
Function to restore galera master node
according documentation:
https://docs.mirantis.com/mcp/q4-18/mcp-operations-guide/tshooting/
tshoot-mcp-openstack/tshoot-galera/restore-galera-cluster/
restore-galera-manually.html#restore-galera-manually
Change-Id: Ibe1d7614bcb73b49c747e12fe7ace1... |
422,459 | 18.07.2019 16:15:26 | -14,400 | cf26944211aca2b5e3ea8aa2b5973edce9eb68d6 | Update git mirror to work with http creds
Support case when both source repositories are
cloned via http/https and have different credentials | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -158,8 +158,7 @@ def pushGitChanges(path, branch = 'master', remote = 'origin', credentialsId = n\n*\n* @param sourceUrl Source git repository\n* @param targetUrl Target... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update git mirror to work with http creds
Support case when both source repositories are
cloned via http/https and have different credentials
PROD-32066
Change-Id: I59adaa533797a19405e1ea0c9be8f3aeca244f76 |
422,477 | 18.07.2019 10:50:04 | 18,000 | ed8709c8168248f559e69ca31aafd316acac142f | Add condition for docker pull operation
By default, when docker plugin is used in pipelines
we always pull image as a separate action. Sometimes it may hurt
i.e. when registry is accessible only with username and password.
This w/a will implement a switch that can enable or disable pull.
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -118,7 +118,11 @@ repo:\n}\ndef img = docker.image(dockerImageName)\n+ def pull_enabled = config.get('dockerPull', true)\n+\n+ if ( pull_enable... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add condition for docker pull operation
By default, when docker plugin is used in pipelines
we always pull image as a separate action. Sometimes it may hurt
i.e. when registry is accessible only with username and password.
This w/a will implement a switch that can enable or disable pull.
Related-PROD: PROD-31909
Ch... |
422,529 | 19.07.2019 12:45:56 | -10,800 | 2a742f72b6482e9b394c4f12cc804d0bca163316 | Edinted publishArtifactoryHelmChart in the Artifactory.groovy
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Artifactory.groovy",
"new_path": "src/com/mirantis/mk/Artifactory.groovy",
"diff": "@@ -457,7 +457,7 @@ def deleteArtifactoryChartRepo(art, repoName){\n* @param chartName Chart name\n*/\ndef publishArtifactoryHelmChart(art, repoName, chartN... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Edinted publishArtifactoryHelmChart in the Artifactory.groovy
Related-prod: https://mirantis.jira.com/browse/PROD-31522
Change-Id: I329b1085533e00ad19ee36e5f212547a08846376 |
422,492 | 19.07.2019 19:20:39 | -18,000 | 3121fc4c297cd6520a03ddd12fdfc9d99d6cd9e2 | Add getReleaseMetadataValue() function
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -4,6 +4,42 @@ package com.mirantis.mk\n*\n*/\n+/**\n+ * Get release metadata value for given key\n+ *\n+ * @param key metadata key\n+ * @param pa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add getReleaseMetadataValue() function
Change-Id: I9f995d644d9eaf613e35a9cefcb81e8eda14f6d4
Related-Prod: PROD-31438 |
422,458 | 22.07.2019 13:34:03 | -10,800 | f6e47f38ee4655a44d0c7c3fbc85b586ebb1faa0 | Use py3 for latest setupOpenstackVirtualenv | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -23,10 +23,32 @@ package com.mirantis.mk\n*/\ndef setupOpenstackVirtualenv(path, version = 'latest') {\n+ setupOpenstackVirtualenv(['path': path, 'version': ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Use py3 for latest setupOpenstackVirtualenv
PROD-00000
Change-Id: Iac73eac2ac627f0405bc20c9ca708045e6bcafd8 |
422,529 | 23.07.2019 15:13:44 | -10,800 | 6cd0a6430973a2e31f498f98b89b67021f026b17 | Edited getArtifactoryProjectByName and deleted restPut2 in Artifactory.groovy
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Artifactory.groovy",
"new_path": "src/com/mirantis/mk/Artifactory.groovy",
"diff": "@@ -84,18 +84,6 @@ def restPut(art, uri, data = null) {\nreturn restCall(art, uri, 'PUT', data, ['Accept': '*/*'])\n}\n-/**\n- * Make PUT request using Arti... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Edited getArtifactoryProjectByName and deleted restPut2 in Artifactory.groovy
Related-prod: https://mirantis.jira.com/browse/PROD-31524
Change-Id: I0f4f199ee142627a03546c7f610a448a95e773bc |
422,529 | 23.07.2019 18:11:12 | -10,800 | abb458aad3acfd59da02ec0e3f78b6199f100dbf | Add "def common" to getArtifactoryHelmChartRepoByName method for Artifactory.groovy
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Artifactory.groovy",
"new_path": "src/com/mirantis/mk/Artifactory.groovy",
"diff": "@@ -404,6 +404,7 @@ def uploadPackageStep(art, file, properties, distribution, component, timestamp)\n*/\ndef getArtifactoryHelmChartRepoByName(art, repoNam... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add "def common" to getArtifactoryHelmChartRepoByName method for Artifactory.groovy
Related-prod: https://mirantis.jira.com/browse/PROD-31524
Change-Id: If9f049a8b2563820289d91b8e9e961475bd8f08d |
422,459 | 26.07.2019 16:44:22 | -14,400 | 775a553e75b85b49f260e5a985d7c64f615e6001 | Fix isPackageInstalled method when salt return is empty | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1348,6 +1348,7 @@ def getIostatValues(Map params) {\ndef isPackageInstalled(Map params) {\ndef output = params.get('output', true)\ndef res = runSaltProcessStep(param... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix isPackageInstalled method when salt return is empty
PROD-32178
Change-Id: Icbd998f6efcd08b743bb1bb849f86c5f09f85e03 |
422,492 | 29.07.2019 14:45:01 | -10,800 | e818e10bd0865e48f69d809149c3000c0418ccc6 | Add an option to set reference into checkoutGitRepository() func
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -16,8 +16,9 @@ package com.mirantis.mk\n* @param poll Enable git polling (default true)\n* @param timeout Set checkout timeout (default 10)\n* @param depth Git depth par... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add an option to set reference into checkoutGitRepository() func
Change-Id: I038a3847db4dacc13d4ba8f1e486852350a8b7b8
Related-Prod: PROD-31595 |
422,492 | 29.07.2019 14:48:33 | -10,800 | cefc3d1156415a5af89fac0e6a277494848165be | Add gitRef parameter to checkoutReleaseMetadataRepo() function
It should allow to checkout specific git reference instead of just branch
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -15,6 +15,7 @@ def checkoutReleaseMetadataRepo(Map params = [:]) {\nString gitCredentialsId = params.get('metadataCredentialsId', 'mcp-ci-gerrit'... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add gitRef parameter to checkoutReleaseMetadataRepo() function
It should allow to checkout specific git reference instead of just branch
Change-Id: I89de1626a29b2713952e84175e393c2748692472
Related-Prod: PROD-31595 |
422,492 | 29.07.2019 17:01:22 | -10,800 | 071fadbfc492f869ac6288760ab1328afb213048 | Make name of params consistent and do a little refactoring
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -11,12 +11,13 @@ package com.mirantis.mk\n*/\ndef checkoutReleaseMetadataRepo(Map params = [:]) {\ndef git = new com.mirantis.mk.Git()\n- Boolean... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Make name of params consistent and do a little refactoring
Change-Id: I49d109e48f20ae8638776ed68206f2f96def6b49
Related-Prod: PROD-31595 |
422,476 | 30.07.2019 16:39:27 | -10,800 | 5d8a15327e91267a0d5569fb1c58a7b2182d9f4e | Add Workflow.groovy to run jobs sequence
Related-task: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "+package com.mirantis.mk\n+\n+/**\n+ *\n+ * Run a simple workflow\n+ *\n+ * Function runScenario() executes a sequence of jobs, like\n+ * - Parameters for the jobs are taken from the 'env' object\n+... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add Workflow.groovy to run jobs sequence
Change-Id: I9a3aa188c0ac0e797d2505e98b0c5d59a8329893
Related-task: https://mirantis.jira.com/browse/PROD-31616 |
422,476 | 30.07.2019 16:39:27 | -10,800 | e09e02987c3a0a0aa8fce18a3cad519a212563ed | Allow override 'propagate' in Workflow.groovy
Related-task: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -25,8 +25,11 @@ package com.mirantis.mk\n* {'PARAM_NAME': {'type': <job parameter $class name>, 'use_variable': <a key from global_variables>}, ...}\n* @param ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Allow override 'propagate' in Workflow.groovy
Change-Id: I02147f580c5fa8b4302a5bc052e10e833b9b11ef
Related-task: https://mirantis.jira.com/browse/PROD-31616 |
422,471 | 31.07.2019 16:52:18 | -14,400 | 42eaec62023df1e167025f98bad7b77c9580e77b | Update Gcloud account revoke flow
* use different gcloud sdk config paths by default
* add ability to configure gcloud sdk config directory
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/GoogleCloudStorage.groovy",
"new_path": "src/com/mirantis/mk/GoogleCloudStorage.groovy",
"diff": "@@ -97,21 +97,33 @@ def setAcl(String gcloudBinDir, String path, ArrayList acls) {\n* @param dest Destination path in Google Storage, in forma... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update Gcloud account revoke flow
* use different gcloud sdk config paths by default
* add ability to configure gcloud sdk config directory
Change-Id: I9353ebfd56f0333ea121266d0361ec590b26f892
Related-Prod: PROD-32193 |
422,459 | 01.08.2019 15:52:44 | -14,400 | 768dabd1bf43fe8d0f88f1ea7873a3501fadcb0b | Run salt minion restart and do not wait for response | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -534,15 +534,16 @@ def checkTargetMinionsReady(LinkedHashMap config) {\n* Restart and wait for salt-minions on target nodes.\n* @param saltId Salt Connection object or... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Run salt minion restart and do not wait for response
PROD-32360
Change-Id: I2c9c98986abd51d6dfaf03f9a9c32040b2f7f401 |
422,459 | 06.08.2019 18:50:39 | -14,400 | 61a493c68bcc31d4fcad9a6aa9c1fb879146cd64 | Use pkg.list_pkgs function to determine package state | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1351,11 +1351,11 @@ def getIostatValues(Map params) {\ndef isPackageInstalled(Map params) {\ndef output = params.get('output', true)\n- def res = runSaltProcessStep(p... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Use pkg.list_pkgs function to determine package state
PROD-32474
Change-Id: I831f00304bc827ad8e84f907304fd25909c98d28 |
422,489 | 06.08.2019 16:51:27 | -7,200 | 7ddaea7a79bcc918021e0fea95b51911e0aafd98 | Don't remove mysql data in case of RESTART_CLUSTER
Also remove not needed try-catch blocks for restoreGaleraCluster function.
Only run xtrabackup.client state on lastNodeTarget
Fixes: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -305,47 +305,17 @@ def getGaleraLastShutdownNode(env, nodes = []) {\ndef restoreGaleraCluster(env, runRestoreDb=true) {\ndef salt = new com.mirantis.mk.Salt()\ndef... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Don't remove mysql data in case of RESTART_CLUSTER
Also remove not needed try-catch blocks for restoreGaleraCluster function.
Only run xtrabackup.client state on lastNodeTarget
Fixes: PROD-32476
Change-Id: I31557ab0af65435ef2d63e84e5bcd4c59d4f0424 |
422,489 | 08.08.2019 13:47:45 | -7,200 | ef778c39bce59f20d0c9bcd464f6b6a1d13091f3 | Call xtrabackup.client.restore to trigger restore
- fix missing imports
- add galera state for slaves as well
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -357,13 +357,16 @@ def restoreGaleraCluster(env, runRestoreDb=true) {\n* @param targetNode Node to be targeted\n*/\ndef restoreGaleraDb(env, targetNode) {\n+ def s... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Call xtrabackup.client.restore to trigger restore
- fix missing imports
- add galera state for slaves as well
Related: PROD-32475
Change-Id: I27b55be424022c5391a8b409e93500117046a632 |
422,476 | 09.08.2019 16:06:00 | -10,800 | 79f3a2d7c8a06d1873de9695b24c615aebb95288 | Clear the main job description only at start of the job
related-task: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -94,7 +94,6 @@ def storeArtifacts(build_url, step_artifacts, global_variables) {\n* If true: immediatelly fails the pipeline. DO NOT USE 'true' with runScenari... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Clear the main job description only at start of the job
Change-Id: Ia332da87893fc7c362898dd01689b36c6f4223ee
related-task: https://mirantis.jira.com/projects/PROD/issues/PROD-31616 |
422,459 | 09.08.2019 19:49:55 | -14,400 | 65fb637b661fb7a3bc49000acef31be9f3696de1 | Make safe condition for resource.changes
If state contains warning message
the changes in result are null in json output. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1008,7 +1008,7 @@ def checkResult(result, failOnError = true, printResults = true, printOnlyChange\noutputResources.add(String.format(\"Resource: %s\\n\\u001B[33m%s\\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Make safe condition for resource.changes
If state contains warning message
the changes in result are null in json output.
PROD-32436
Change-Id: I366ec6ddd34b3e6ee7aeb2f4eb42b83826feab4c |
422,471 | 09.08.2019 18:22:30 | -14,400 | 8a33998889cdd1c220f669afeb39e457c65807e7 | Update scripts for restoring failed node of Mysql in Galera cluster
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -277,15 +277,18 @@ def getGaleraLastShutdownNode(env, nodes = []) {\nif (seqno.isNumber()) {\nseqno = seqno.toInteger()\n} else {\n- seqno = -2\n- }\n- highestSeqn... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update scripts for restoring failed node of Mysql in Galera cluster
Change-Id: Ib1f90bde1f75fc36cbd7902b306e06d3cf5002d1
Related-Prod: PROD-32439 |
422,512 | 21.08.2019 11:51:26 | -7,200 | 5d131b67c8e90fac3b65da320b6357188de04ba7 | add helmindex
Related-prod: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/Helm.groovy",
"diff": "+package com.mirantis.mk\n+\n+/**\n+ *\n+ * Functions to work with Helm\n+ *\n+ */\n+\n+/**\n+ * Build index file for helm chart\n+ */\n+\n+def helmIndex(){\n+ sh(\"helm index\")\n+}\n\\ No newline at e... | Groovy | Apache License 2.0 | mirantis/pipeline-library | add helmindex
Related-prod: PROD-32431
Change-Id: I5ea5169024c80e70c23eb43ad6b714f2a77f9db9 |
422,471 | 26.08.2019 13:16:23 | -14,400 | 8006cceb15b3b86c956a6e00f44443ba0ba17505 | Get rid of hardcoded node names in pipeline library
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -158,7 +158,7 @@ def installInfraKvm(master, extra_tgt = '') {\n}\ncommon.infoMsg(\"All minions are up.\")\n- salt.fullRefresh(master, \"* and not kvm* $... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Get rid of hardcoded node names in pipeline library
Change-Id: I151ff8a2b5b163c3961b6487c0ace7af56eed094
Related-prod: PROD-25517 |
422,489 | 04.03.2019 10:06:11 | -3,600 | f79769598651e2a1cda8ca836e1a244ea4b8f94d | Update runSaltCommand command to support batch
ability to manage batch size with SALT_MASTER_OPT_WORKER_THREADS
env variable even if batch not specified directly;
contains parsing of local_batch client responses;
Add batch option to most popular functions which lead to
runSaltCommand use batches;
Related: (PROD:27850)
... | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -19,7 +19,7 @@ def validateFoundationInfra(master, extra_tgt = '') {\nsalt.runSaltProcessStep(master, \"I@salt:minion ${extra_tgt}\", 'state.show_top')\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update runSaltCommand command to support batch
- ability to manage batch size with SALT_MASTER_OPT_WORKER_THREADS
env variable even if batch not specified directly;
- contains parsing of local_batch client responses;
- Add batch option to most popular functions which lead to
runSaltCommand use batches;
Related: P... |
422,495 | 28.08.2019 17:21:18 | -14,400 | 50b248c68348483e5bb2c197362233739a4b6784 | Fix function helm index
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Helm.groovy",
"new_path": "src/com/mirantis/mk/Helm.groovy",
"diff": "@@ -8,8 +8,10 @@ package com.mirantis.mk\n/**\n* Build index file for helm chart\n+ * @param extra_params additional params, e.g. --url repository_URL\n+ * @param charts_... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix function helm index
Related-prod: PROD-32431
Change-Id: I291f388db9664a99c926927e6768295a2443b6fe |
422,492 | 02.09.2019 17:45:12 | -10,800 | 7378614b0bad59acfe022c8e15745e24d84c949f | Fix passing refspec to checkout command
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -19,19 +19,20 @@ package com.mirantis.mk\n* @param reference Git reference param to checkout (default empyt, i.e. no reference)\n*/\ndef checkoutGitRepository(path, url,... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix passing refspec to checkout command
Change-Id: I63ea15214af920174e8a3e24c77ad744a02d3f47
Related-Prod: PROD-32961 |
422,510 | 09.09.2019 16:55:01 | -14,400 | 76c17f52a3b45bfbab237d06f4aac1cc1bd6dbba | Add a method to create dir in Artifactory
Related story: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -109,6 +109,25 @@ def setProperties(String artifactUrl, LinkedHashMap properties, Boolean recursiv\n}\n}\n+/**\n+ * Create an empty directory in ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add a method to create dir in Artifactory
Related story: PROD-33043
Change-Id: Id273b442523a5eddb7c5343b9dea9c5164a4b933 |
422,492 | 09.09.2019 17:52:16 | -7,200 | 4fdafd9f12a229b47cf36856e7d04fb6a8724805 | Add function updateChangeRequest() to Git.groovy
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -473,3 +473,51 @@ def genCommitMessage(repo, message, changeId = '', changeIdSeed = ''){\nreturn commitMessage\n}\n+\n+/**\n+ * Update (or create if cannot find) gerrit ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add function updateChangeRequest() to Git.groovy
Change-Id: I0389c2ec2baf5f200895cb5fe2909ddc6754b762
Related-Prod: PROD-32678 |
422,510 | 10.09.2019 16:09:23 | -14,400 | ce61671a5f5d6182162f70259e95cf32f0c2491a | Add methods to copy/move/delete artifacts
Related story: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -128,6 +128,45 @@ def createDir (String artifactoryURL, String path, String dir) {\n}\n}\n+/**\n+ * Move/copy an artifact or a folder to the spec... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add methods to copy/move/delete artifacts
Related story: PROD-33043
Change-Id: I1ef205e2fab38ce8b6b330d3b503d3dc84e0158c |
422,471 | 12.08.2019 18:17:18 | -14,400 | 527bf4b74356da652ef6e6a0a71e687fcf8ac688 | Update Galera functions for verify/restore
* update function for getting status from any available node,
not only master;
* update function for restoring Galera cluster;
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -50,50 +50,44 @@ def getWsrepParameters(env, target, parameters=[], print=false) {\n* of Salt mysql.status function. The result is then parsed, validated and outpu... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update Galera functions for verify/restore
* update function for getting status from any available node,
not only master;
* update function for restoring Galera cluster;
Related: PROD-32619
Change-Id: Ie70aee7ad9aa255a2cdcad1cbbc16c6953779516 |
422,476 | 19.09.2019 16:10:03 | -10,800 | cae9bca16566904104d808d83e70f74aba82906e | Add 'get_variable_from_url' option for job parameters in Workflow.groovy
Use the actual artifact content as a job parameter
instead of the artifact's URL.
With 'get_variable_from_url', content will be downloaded from the
artifact's URL and placed into the job parameter value. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -24,6 +24,8 @@ package com.mirantis.mk\n* @param job_parameters Map that declares which values from global_variables should be used, in the following format:\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add 'get_variable_from_url' option for job parameters in Workflow.groovy
Use the actual artifact content as a job parameter
instead of the artifact's URL.
With 'get_variable_from_url', content will be downloaded from the
artifact's URL and placed into the job parameter value.
https://mirantis.jira.com/browse/PROD-33... |
422,471 | 23.09.2019 16:13:43 | -14,400 | 3621b96c3b09cef38964faf5ed6ec84020ff9fb9 | Add common function for getting Salt worker_threads value
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1392,3 +1392,18 @@ def isPackageInstalled(Map params) {\nreturn false\n}\n}\n+\n+/**\n+* Returns nubmer of worker_threads set for Salt Master\n+*\n+* @param saltId Sa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add common function for getting Salt worker_threads value
Change-Id: I1ba149194d939cf6d962bc0322e9f6d6190225ae
Related-Prod: PROD-27850 |
422,495 | 07.10.2019 18:57:58 | -14,400 | 6aa23ec123c6eec4cf6d66e41f78af66358ffcd7 | Add function to get checksum of artifact
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Artifactory.groovy",
"new_path": "src/com/mirantis/mk/Artifactory.groovy",
"diff": "@@ -428,6 +428,22 @@ def getArtifactoryRepoByPackageType(art, repoName){\nreturn restGet(art, \"/repositories?${packageType}\")\n}\n+/**\n+ * Get checksums ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add function to get checksum of artifact
Related-PROD: PRODX-486
Change-Id: I2c5c1327a8ed9a4fb1e30be5391bb6b6ffef6a89 |
422,495 | 10.10.2019 14:49:40 | -14,400 | 406778fb18896cbc067924ca13dd324d7790a972 | Fix incorrect path in artifactory docker api
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -199,7 +199,7 @@ def getPropertiesForArtifact(String artifactUrl) {\n* @param artifactoryCreds String, artifactory creds to use. Optional, defaul... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix incorrect path in artifactory docker api
Related-PROD: PROD-33134
Change-Id: I634fedcd5371147e53dd8246f561a344b00fbedb |
422,445 | 10.10.2019 22:12:15 | -7,200 | 5b2dccf54c47f5f1f7e9ca32b35bcc25aef764c1 | port getArtifactChecksum from mk artifactory to mcp
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -189,6 +189,31 @@ def getPropertiesForArtifact(String artifactUrl) {\nreturn properties.get(\"properties\")\n}\n+/**\n+ * Get checksums of artifa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | port getArtifactChecksum from mk artifactory to mcp
Change-Id: I6620e1b837714cdd866504f14fea69469f177a2c
us: https://mirantis.jira.com/browse/PRODX-486 |
422,475 | 16.10.2019 14:50:10 | -10,800 | e0aef1e410fd268ceff54d5da2abf21a476e8824 | [WIP] Test handling empty variables | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -54,9 +54,13 @@ def runJob(job_name, job_parameters, global_variables, Boolean propagate = false\nif (!global_variables[param.value.get_variable_from_url]) {\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [WIP] Test handling empty variables
PRODX-961
Change-Id: If3ae3d417428113331ebf9a8231c00517117bbbe |
422,495 | 16.10.2019 17:04:33 | -14,400 | 958f28720c5d936e8ec9eb23e8aaa280796da8fe | Regenerate index.yaml in binary repository during a promotion
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Helm.groovy",
"new_path": "src/com/mirantis/mk/Helm.groovy",
"diff": "@@ -16,6 +16,37 @@ def helmRepoIndex(extra_params='', charts_dir='.'){\nsh(\"helm repo index ${extra_params} ${charts_dir}\")\n}\n+/**\n+ * Rebuild index file for helm ch... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Regenerate index.yaml in binary repository during a promotion
Related-PROD: PROD-33154
Change-Id: I2e77b753c2ce71894820f9cc6e1d1daa2f2217c7 |
422,495 | 29.10.2019 14:54:08 | -14,400 | 892b4e77822fe9a6d8b5aeb7128b74b5b5c02870 | Fix call helmRepoIndex method
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Helm.groovy",
"new_path": "src/com/mirantis/mk/Helm.groovy",
"diff": "@@ -44,7 +44,7 @@ def helmMergeRepoIndex(helmRepoUrl, md5Remote='') {\n}\nhelmExtraParams += \" --merge index-upstream.yaml\"\n}\n- helm.helmRepoIndex(helmExtraParams, he... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix call helmRepoIndex method
Change-Id: Ia1a4e27512f6d6a64a56b79d0fad4ba963b88f53
Related-PROD: PROD-33154 |
422,471 | 30.10.2019 14:07:12 | -14,400 | fcc4aef366a9e992b1b7e5e78fb9b69ff10671d9 | Add toString() method for package name for isPackageInstalled func
Add toString() for package name to avoid situations when package name
is build from Groovy String Builder class and make it happy
with matching Map keys which are Strings.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1383,7 +1383,7 @@ def isPackageInstalled(Map params) {\nif (res) {\nfor (int i = 0; i < res.size(); i++) {\ndef key = res.keySet()[i]\n- if (!(res[key] instanceof Map... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add toString() method for package name for isPackageInstalled func
Add toString() for package name to avoid situations when package name
is build from Groovy String Builder class and make it happy
with matching Map keys which are Strings.
Change-Id: Ib14241bf7edeb95efc4d77cf9c14520fa9b79db7
Related-Prod: PROD-33899 |
422,471 | 01.11.2019 13:48:37 | -14,400 | 870a0312c3d80bce152fd1335e83460b939d5ac8 | Run openssh state after salt.minion one more time
Openssh dynamically builds hosts for adding them to known_hosts
file from grains, since it's running before salt.minion for some
reason let's run it one more time after salt.minion state.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -55,6 +55,9 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '', batch=20\nsalt.enforceState([saltId: master, target: \"* ${extra_t... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Run openssh state after salt.minion one more time
Openssh dynamically builds hosts for adding them to known_hosts
file from grains, since it's running before salt.minion for some
reason let's run it one more time after salt.minion state.
Change-Id: I8cd566647966798e62d6423eed4cdb7cb926169d
Related-Prod: PROD-33934 |
422,471 | 01.11.2019 18:04:02 | -14,400 | 2f9eec7426123327864c5597d79f76b213f34e61 | Re-order second run openssh state
Run second run openssh state after salt.minion state and after full
refresh and linux.network.host to catch records for cmp nodes, which
are added dynamically.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -55,14 +55,13 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '', batch=20\nsalt.enforceState([saltId: master, target: \"* ${extra... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Re-order second run openssh state
Run second run openssh state after salt.minion state and after full
refresh and linux.network.host to catch records for cmp nodes, which
are added dynamically.
Change-Id: I2056441db819892e67604145f7d780db249e6255
Related-Prod: PROD-33934 |
422,500 | 11.10.2019 13:23:46 | -10,800 | c215217b280ebadb6aac14002504a352f5b2e40e | [CVP] Added option to pytest to show skip reasons
Added -rs option to pytest run for CVP pipelines to see
the reasons of skipped tests.
Closes-Bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -291,7 +291,7 @@ def runSanityTests(salt_url, salt_credentials, test_set=\"\", output_dir=\"validati\n}\n}\ndef script = \". ${env.WORKSPACE}/venv/bin/activa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [CVP] Added option to pytest to show skip reasons
Added -rs option to pytest run for CVP pipelines to see
the reasons of skipped tests.
Change-Id: I4b9c4ed48e67a04509eda774a59dc4e3c71d7e4f
Closes-Bug: PROD-33744 |
422,458 | 08.11.2019 13:30:17 | -7,200 | eb817358bac4b7987d07a7a70850b196d1c64dec | Add checkDependencyJobs | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -231,3 +231,43 @@ def waitForOtherBuilds(LinkedHashMap config){\n}\nreturn buildsMap\n}\n+\n+/**\n+ * Check dependency jobs passed successfully\n+\n+ *... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add checkDependencyJobs
PRODX-1400
Change-Id: Ic1daa7e1629d328fb78a03b2ffe69c87184777f4 |
422,476 | 11.11.2019 18:06:49 | -7,200 | 3782836b663a3483de7b03adc3373b702fd45219 | Remove trailing '\n' from artifacts taken with "get_variable_from_url" | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -55,7 +55,7 @@ def runJob(job_name, job_parameters, global_variables, Boolean propagate = false\nglobal_variables[param.value.get_variable_from_url] = env[para... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove trailing '\n' from artifacts taken with "get_variable_from_url"
PROD-00000
Change-Id: Id07d5f405a8f4cfd8fb3b562e5cdde46963545f7 |
422,471 | 12.11.2019 13:49:23 | -14,400 | 89171f910498578598245a1186105918bc5d5cf9 | Pin pip to latest version with Python2 support for Python 2.7
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Python.groovy",
"new_path": "src/com/mirantis/mk/Python.groovy",
"diff": "@@ -34,7 +34,12 @@ def setupVirtualenv(path, python = 'python2', reqs = [], reqs_path = null, clean\nsh(returnStdout: true, script: virtualenv_cmd)\nif (!offlineDeplo... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pin pip to latest version with Python2 support for Python 2.7
Change-Id: I5c260e32973908f1d1a34d5ab14ec86cee311e93
Related-Prod: PROD-33981 |
422,471 | 13.11.2019 16:29:50 | -14,400 | f35e00b121d64d77a0a18bcf4b1cdfd681b4907a | Add function for uploading change to review
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -383,3 +383,78 @@ def postGerritReview(credentialsId, virtualEnv, repoDir, gitName, gitEmail, gitR\n}\n}\n}\n+\n+/**\n+ * Prepare and upload Gerrit commit from pre... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add function for uploading change to review
Change-Id: Ice2ced5a347110f502a6ca9bf4a03d7e288d9a4b
Related-Prod: PROD-00000 |
422,459 | 05.11.2019 17:42:09 | -14,400 | 14436460da925b63355d5bf7e3ba3beb6218358f | Move common Ceph function to Ceph class | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/Ceph.groovy",
"diff": "+package com.mirantis.mk\n+\n+/**\n+ *\n+ * Ceph functions\n+ *\n+ */\n+\n+/**\n+ * Ceph health check\n+ *\n+ */\n+def waitForHealthy(master, target, flags=[], count=0, attempts=300) {\n+ def common = n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Move common Ceph function to Ceph class
PROD-33010
Change-Id: Ife078923a29bb4a250bc8b43e14ada30701cd28c |
422,463 | 07.11.2019 14:52:13 | -14,400 | 7137ad0f6c8cba1b34effb057087aa8236c12800 | Hide password from cvp-finc tests output
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -41,11 +41,12 @@ def runBasicContainer(master, target, dockerImageLink=\"xrally/xrally-openstack:0\n* @param env_var Environment variables to set in containe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Hide password from cvp-finc tests output
Related-prod: PROD-22774
Change-Id: Iecf903046a487b1c1d2c95e071b86aa627b3d004 |
422,451 | 14.11.2019 15:25:48 | -3,600 | 38fceb63103608df17a8bb1a42e7e03a498abb86 | Proper fix for Ceph osd remove pipeline
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ceph.groovy",
"new_path": "src/com/mirantis/mk/Ceph.groovy",
"diff": "@@ -73,20 +73,20 @@ def removePartition(master, target, partition_uuid, type='', id=-1) {\n}\nif (partition?.trim()) {\nif (partition.contains(\"nvme\")) {\n- // dev = /d... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Proper fix for Ceph osd remove pipeline
Change-Id: I3b21d46cefde6d0621c3bb7b741c2d9cd3a83c8c
Related-Prod: PROD-34032 |
422,534 | 15.11.2019 19:54:09 | -7,200 | e0bcfbca6b3d6ff380c2ee374c0c2a78e69acd7b | Check that docker container exists/running before deleting/killing it
Related-Prod: #PROD-30967(PROD:30967) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -170,14 +170,14 @@ repo:\n}\ntry {\n- common.warningMsg(\"IgnoreMe:Force cleanup slave.Ignore docker-daemon errors\")\n- timeout(time: 10, unit... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Check that docker container exists/running before deleting/killing it
Related-Prod: #PROD-30967(PROD:30967)
Change-Id: I58d805193a2d714809ba6f7a87ea7681afdb11e5 |
422,471 | 18.11.2019 20:52:04 | -14,400 | 0686f1bc68d9c68cb6b23e229accf58a4dce41db | Set version of updates repo if needed
Change to proposed if tests for release/proposed
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -103,10 +103,11 @@ repo:\ndef defaultRepos = readYaml text: defaultExtraReposYaml\n// Don't check for magic, if set explicitly\nif (updateSaltF... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Set version of updates repo if needed
Change to proposed if tests for release/proposed
Change-Id: I9ca1363dd8fbf62f28d34a4c6bba5e272d660356
Related-Prod: PROD-34057 |
422,489 | 27.11.2019 16:24:04 | -3,600 | c3e9d5d3b6ef5892c081aad512f388e0231f7d7e | Add 'mine.update' before runing Horizon state
- make sure mine is updated before Horizon state run
- mine can hold policy params for Horizon
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -444,6 +444,7 @@ def installOpenstackControl(master, extra_tgt = '') {\n}\n// Install horizon dashboard\n+ salt.runSaltProcessStep(master, \"* ${extra_tg... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add 'mine.update' before runing Horizon state
- make sure mine is updated before Horizon state run
- mine can hold policy params for Horizon
Related: PROD-34126
Change-Id: Ibbba064f8d03137e550e7175294c3c9301de35ad |
422,492 | 29.11.2019 21:05:17 | -7,200 | 7cdfcd07cd9869adaf6897a78c7dc7e64a51c6dc | Add getRepoFiles() finction
The function get list of files from artifactory repo
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Artifactory.groovy",
"new_path": "src/com/mirantis/mk/Artifactory.groovy",
"diff": "@@ -494,3 +494,30 @@ def publishArtifactoryHelmChart(art, repoName, chartPattern){\ndef deleteArtifactoryHelmChart(art, repoName, chartName){\nreturn restDe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add getRepoFiles() finction
The function get list of files from artifactory repo
Change-Id: I2daba8f3b8d79c03ae8f8fc775c4c04c7321a7ec
Related-Prod: PRODX-1553 |
422,457 | 12.12.2019 19:33:58 | -10,800 | 3bb1c039e8194ce17edff20faf115be48bf9943c | Print output of 'git review' to console
This will show the link to CR.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": ".gitignore",
"new_path": ".gitignore",
"diff": "+.idea\n.gradle\nbuild\n+gradlew*\n+gradle/\n"
},
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -370,... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Print output of 'git review' to console
This will show the link to CR.
Related-Prod: PROD-00000
Change-Id: I49ac798b2d044f61ffea0f8545e071010b9e2408 |
422,471 | 16.12.2019 14:57:10 | -14,400 | 410e772fc9913470525435d15c5b28dee00c3853 | Fix mysql backup directory creation path for affected nodes
Do not use mktemp -d and create dir explicitly with timestamp in name
without templated names, to have one dir path for all affected node
at the time of retore.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -378,8 +378,8 @@ def restoreGaleraCluster(env, galeraStatus, restoreDb=true) {\nif (restoreDb) {\ndef timestamp = common.getDatetime()\n- salt.cmdRun(env, lastNode... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix mysql backup directory creation path for affected nodes
Do not use mktemp -d and create dir explicitly with timestamp in name
without templated names, to have one dir path for all affected node
at the time of retore.
Change-Id: I0f03d0f27a424ccdcaaf95b30209bff7c76e031c
Related-Prod: PROD-34371 |
422,530 | 03.01.2020 15:31:57 | -7,200 | 69382ce4bc8fd6f1b49eac2b285342bda6d98406 | Add method to check and delete keypairs
This patch adds method to check nova keypair
existence and to delete it
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -376,6 +376,24 @@ def deleteKeyPair(env, name, path = null) {\nrunOpenstackCommand(cmd, env, path)\n}\n+/**\n+ * Check if Nova keypair exists and delete it.\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add method to check and delete keypairs
This patch adds method to check nova keypair
existence and to delete it
Change-Id: I1c96e00c6c4cdb80613efb70ed000b913c715289
Related-PROD: PRODX-2183 |
422,471 | 13.01.2020 14:22:49 | -14,400 | 97ef0fb322ae08533cde455bcac055511b5df010 | Pin pip packages to stay with python2
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -41,7 +41,7 @@ def setupOpenstackVirtualenv(path, version = 'latest', python=\"python2\") {\n'oslo.i18n>=2.3.0,<2.4.0',\n'oslo.serialization>=1.8.0,<1.9.0',\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pin pip packages to stay with python2
Change-Id: Ibd3b9883130d57afbd7f6bacaecf7fec467996e7
Related-Prod: PROD-34533 |
422,471 | 15.01.2020 17:59:34 | -14,400 | c6df9fc2bae674773cb17ee3aeffcc01a6b8561f | Add missed step for keycloak deploy on cicd stage
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -811,6 +811,8 @@ def installCicd(master, extra_tgt = '') {\nsalt.enforceStateWithTest([saltId: master, target: \"I@openldap:client ${extra_tgt}\", state:... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add missed step for keycloak deploy on cicd stage
Change-Id: I291f05cbc40693595c60751f673f1a1186c700a9
Related-Prod: PROD-34463 |
422,492 | 21.01.2020 14:32:14 | -7,200 | f8743051f132d564674663f2b62547cef7d86562 | Use tox to run 'app.py update' to update artifact-metadata
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -109,6 +109,7 @@ def updateReleaseMetadata(String key, String value, Map params, Integer dirdepth\nString gitCredentialsId = params.get('metadata... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Use tox to run 'app.py update' to update artifact-metadata
Change-Id: Ib29d53a9a1510d817e47a8c2a96fc6cdbfc30a6c
Related-To: PRODX-2389 |
422,527 | 22.01.2020 14:31:30 | -7,200 | 9ac09d2743c43693b749ac05dac3e787b82f570e | Align workflow job status to actual jobs statuses | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -233,8 +233,20 @@ def runScenario(scenario) {\nrunSteps(scenario['finally'], global_variables, failed_jobs)\nif (failed_jobs) {\n+ statuses = []\n+ failed_jobs... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Align workflow job status to actual jobs statuses
PRODX-00000
Change-Id: Ib956e76eb906ded15c58d5d9bca03bc4949ea919 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.