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,541 | 25.10.2018 15:49:39 | -7,200 | 4983decfc6d275dd66805072d73acd17a88d5695 | Fix private aptly hostname and port
See: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -53,12 +53,12 @@ def setupDockerAndTest(LinkedHashMap config) {\ndef repoDateUsed = new Date().parse(releaseNaming, distribRevision)\ndef extra... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix private aptly hostname and port
Change-Id: I4222f9f57ef372937f294dcdc74a094850939f28
See: https://mirantis.jira.com/browse/PROD-16598 |
422,530 | 26.10.2018 15:25:19 | -10,800 | 82808b21c95e138533913da19cf0254612e2ad45 | Fix typo in retry func call | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -474,10 +474,10 @@ def installOpenstackNetwork(master, extra_tgt = '') {\nif (salt.testTarget(master, \"I@octavia:manager ${extra_tgt}\")) {\nsalt.runSal... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix typo in retry func call
Change-Id: Ife290791a72c04c9ba9e61f9da6ea3f48548d59e |
422,504 | 26.10.2018 16:38:01 | -14,400 | 7c905797aa5220a546dac4098b1ce2ee773e77d3 | Add more retry for salt.minion
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -56,7 +56,7 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\nsleep(5)\nsalt.enforceState(master, \"I@linux:system ${extra_tg... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add more retry for salt.minion
Change-Id: I5e519a1390cf03e12b1f6a006f7aa7a107ddf03d
Related-PROD: PROD-24371 |
422,516 | 28.10.2018 15:01:22 | -3,600 | 418bfc4997fd695ddbee36d50cf26ab4d4dfe6a0 | Pass grafana password in rally task args
Related-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -443,8 +443,12 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, config_\n'rally deployment create --fromenv --name=existing; ' +\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pass grafana password in rally task args
Change-Id: I76997afd61733174231265686f12ad78430d8bf1
Related-bug: https://mirantis.jira.com/browse/PROD-24295 |
422,504 | 30.10.2018 17:17:09 | -14,400 | fb2d4372995316b53f41a806827d8c40c5820523 | Fix octavia minion cert deploy
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -56,9 +56,16 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\nsleep(5)\nsalt.enforceState(master, \"I@linux:system ${extra_t... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix octavia minion cert deploy
Change-Id: Ibbf6ee45d8ea0add4ed874022141967f19f50a33
Related-PROD: PROD-24371 |
422,471 | 02.11.2018 12:14:05 | -14,400 | 1c93d12b2d60924a5659209d017da233e81696c5 | Add additional empty line between pinning rules for extra repos
Additional empty line is needed for pinning rules to be correctly used | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -962,6 +962,8 @@ def debianExtraRepos(repoConfig) {\nrepoPins.add(\"Package: ${pin['package']}\")\nrepoPins.add(\"Pin: ${pin['pin']}\")\nrepoPins.add(\"Pin-Priorit... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add additional empty line between pinning rules for extra repos
Additional empty line is needed for pinning rules to be correctly used
Change-Id: I8360b904ac4de6f55c164de3a0b84bd3291da848 |
422,516 | 06.11.2018 18:34:08 | -3,600 | 4a697fcbd0f3d3c435e2d13446a18a280c121967 | Get api version / remove hardcoded v2
Related-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -430,14 +430,15 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, config_\nsalt.runSaltProcessStep(master, target, 'file.remove', [... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Get api version / remove hardcoded v2
Change-Id: I8cfaa4ea93e492fe154c54bb29e3ec52ccd2c797
Related-bug: https://mirantis.jira.com/browse/PROD-24642 |
422,455 | 08.11.2018 11:33:40 | -7,200 | 8f78679dce28b314c02e96f19305a5e420e6297e | Fixing galera.slave state
The patch fixes galera deployment state which skipped
galer:slave pillar therefore galera slaves nodes were
not deployed. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -195,7 +195,7 @@ def installInfra(master, extra_tgt = '') {\n// Install galera\nif (salt.testTarget(master, \"I@galera:master ${extra_tgt}\") || salt.tes... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fixing galera.slave state
The patch fixes galera deployment state which skipped
galer:slave pillar therefore galera slaves nodes were
not deployed.
Change-Id: Ibe47cff44cc433b59563511c1fb45269739fdc80 |
422,501 | 08.11.2018 12:24:42 | -7,200 | 642cb253f308238e86670bb2ef3be5fd21c9d26f | Change horizon installation order
Horizon installation pipeline requere options
which are sent from glance mine functions
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -282,8 +282,6 @@ def installOpenstackControl(master, extra_tgt = '') {\ndef common = new com.mirantis.mk.Common()\ndef first_target\n- // Install horizon... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Change horizon installation order
Horizon installation pipeline requere options
which are sent from glance mine functions
Change-Id: Id2c740f9e8e227e2099db8e7874d654dba58e5b6
Related-Prod: PROD-21005 |
422,532 | 08.11.2018 13:55:04 | -3,600 | 865dd0adcd8aae6096e16a6ea3f3911d0e0636ee | Exclude fluentd state in installOpenstackCompute
Partial-Bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -509,9 +509,10 @@ def installOpenstackCompute(master, extra_tgt = '') {\ndef salt_ca_compound = \"I@salt:minion:ca:salt_master_ca ${extra_tgt}\"\n// Enfo... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Exclude fluentd state in installOpenstackCompute
Change-Id: Idac3c614d608694415038d6af4b6272b37dd4964
Partial-Bug: PROD-22977 |
422,458 | 09.11.2018 15:37:10 | -7,200 | 603d95b279022171c319bb0f22955a4cb5c705af | Small fix for apt_mk_version => mcp_version
Bug-relateted: (PROD:24789) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -856,8 +856,8 @@ def checkRemoteBinary(LinkedHashMap config, List extraScmExtensions = []) {\nres = [:]\nres['MirrorRoot'] = config.get('globalMirrorRoot', env[\"B... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Small fix for apt_mk_version => mcp_version
Change-Id: I1f5ea6864204b1dcbc09449dff60a2ddded768d8
Bug-relateted: PROD-24789 (PROD:24789) |
422,516 | 09.11.2018 21:39:03 | -3,600 | 06fce2ad4d971417e4e37c1187fc164ea794400c | Workaround k8s rally getting stuck on large scenarios
Related-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -371,7 +371,7 @@ def runTempestTests(master, target, dockerImageLink, output_dir, confRepository,\n* @param skip_scenarios Comma-delimited list of scenarios ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Workaround k8s rally getting stuck on large scenarios
Change-Id: I3b68e02b6a1392278dfed4033f6257a0daa45fb6
Related-bug: https://mirantis.jira.com/browse/PROD-23603 |
422,458 | 21.11.2018 22:30:59 | -7,200 | 833b477b87885475f10ab578a1781366ed1ba57f | Fix state ordering for SL and ssl\gluster
Bug-related: (PROD:24818) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -805,15 +805,19 @@ def installStacklight(master, extra_tgt = '') {\ndef first_target\n// Install core services for K8S environments:\n- // HAProxy, Nginx... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix state ordering for SL and ssl\gluster
Change-Id: I6159b4456c17abce2287d555cce1d4a8fdb48149
Bug-related: PROD-24818 (PROD:24818) |
422,458 | 25.11.2018 13:41:52 | -7,200 | e716a454ea6a5b8c29e42daec3ebfbfd79b2e5e9 | Temporary switch tests to inhouse docker-salt image
Bug-releted: (PROD:25244) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -31,7 +31,9 @@ def setupDockerAndTest(LinkedHashMap config) {\ndef runFinally = config.get('runFinally', [:])\ndef baseRepoPreConfig = config.g... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Temporary switch tests to inhouse docker-salt image
Change-Id: I9d249849da775aa3fc8b6dd080337ae7b9f4054c
Bug-releted: PROD-25244 (PROD:25244) |
422,471 | 23.11.2018 17:38:17 | -14,400 | edd21dc43c894c80530b637683b829521a477d08 | Add ability to check does image with tag exists in registry
Add ability to check does image with provided tag exists in
registry by provided path.
Related-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -124,6 +124,31 @@ def getPropertiesForArtifact(String artifactUrl) {\nreturn properties.get(\"properties\")\n}\n+/**\n+ * Check if image with tag... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add ability to check does image with tag exists in registry
Add ability to check does image with provided tag exists in
registry by provided path.
Change-Id: Ib8f10f248f340da7a6c338a352781daf2f40a3ef
Related-bug: PROD-24725 |
422,459 | 28.11.2018 18:47:34 | -14,400 | 3aa91f5de919c688b15e0e8fd3322e81034dab42 | Temporary disable docker.client state on cfg node
Related-task: #PROD-24934 (PROD:24934) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -719,7 +719,9 @@ def installCicd(master, extra_tgt = '') {\nsalt.fullRefresh(master, gerrit_compound)\nsalt.fullRefresh(master, jenkins_compound)\n- salt... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Temporary disable docker.client state on cfg node
Change-Id: I6f88c39c762b776d7245626db5dde855688073fd
Related-task: #PROD-24934 (PROD:24934) |
422,481 | 29.11.2018 18:49:48 | -14,400 | f2e1bb1f8a104c022a076912d863870f9e43345d | Add new parameter in prepareVenv | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -828,7 +828,7 @@ def runCleanup(master, target, name='cvp') {\n* @param repo_url Repository url to clone\n* @param proxy Proxy address to use\n*/\n-def prepa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add new parameter in prepareVenv
Change-Id: I551b891cc0e9dc87cb2f0485fe6c6c36ad9bfc9a |
422,537 | 30.11.2018 00:17:55 | -14,400 | 46da67ae9e4538f4f6c746ea356569ae1316ecca | Add kubernetes conformance in-cluster execution
Now it's possible to execute conformance inside
kubernetes pod. It will be useful for containerd
dockerless installations.
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Test.groovy",
"new_path": "src/com/mirantis/mk/Test.groovy",
"diff": "@@ -6,6 +6,252 @@ package com.mirantis.mk\n*\n*/\n+/**\n+ * Get conformance pod statuses\n+ *\n+ * @param target Any control node of k8s\n+ */\n+def getConformanceStatus(... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add kubernetes conformance in-cluster execution
Now it's possible to execute conformance inside
kubernetes pod. It will be useful for containerd
dockerless installations.
Change-Id: Ia5e6184a5c7f2c416145c6210250e34acdb57ef8
Related-PROD: PROD-24954 |
422,471 | 05.12.2018 19:05:41 | -14,400 | 3253f466f4fd16b59e10d0730252e3babb856901 | Add function to add comments from Gerrit user
Related-Bug: (PROD:25370) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -254,3 +254,29 @@ def _getInvalidGerritParams(LinkedHashMap config){\ndef badParams = config.subMap(requiredParams).findAll{it.value in [null, '']}.keySet()\nretur... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add function to add comments from Gerrit user
Change-Id: Ia3bc9e647034e634f9e8b57d1031033babf0d823
Related-Bug: PROD-25370 (PROD:25370) |
422,471 | 16.11.2018 14:38:42 | -14,400 | 26da6c1333cb7611e724bb46f718693420a610e0 | Add ability to detect cross-project patches dependency
This patch adds ability to detect cross-project patches dependency
based on 'Depends-On: https://gerrit_address/_CHANGE_NUMBER_' key
phrase in commit message.
Related-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -280,3 +280,34 @@ def postGerritComment(LinkedHashMap config) {\nssh.ensureKnownHosts(gerritHost)\nssh.agentSh(String.format(\"ssh -p 29418 %s@%s gerrit review %s,... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add ability to detect cross-project patches dependency
This patch adds ability to detect cross-project patches dependency
based on 'Depends-On: https://gerrit_address/_CHANGE_NUMBER_' key
phrase in commit message.
Change-Id: I5e65aae893a60b1c35d1c34046e9c478f330a1c4
Related-bug: PROD-23448 |
422,471 | 12.12.2018 12:43:04 | -14,400 | 8b24fd46b9c4d6a1fb9915666ebae66343ab2ea9 | Add trailing '/' for parsing Depends-On Gerrit message | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -294,7 +294,7 @@ def postGerritComment(LinkedHashMap config) {\nLinkedHashMap getDependentPatches(LinkedHashMap changeInfo) {\ndef dependentPatches = [:]\ndef curr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add trailing '/' for parsing Depends-On Gerrit message
Change-Id: Iaff8a7e2741628be9bf60b93b8ea4c491f717305 |
422,504 | 10.12.2018 16:28:18 | -14,400 | e8909120ae1d4cb9cc825e2f418d3d6a923338a2 | Do not generate octavia certs on gateway node
Octavia certs will be created on salt master node, so some steps
are no longer needed.
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -56,13 +56,6 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '') {\nsleep(5)\nsalt.enforceState(master, \"I@linux:system ${extra_t... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Do not generate octavia certs on gateway node
Octavia certs will be created on salt master node, so some steps
are no longer needed.
Change-Id: I5f8c8ffe34415a97bfcf6367899793086b489378
Related-PROD: PROD-25309 |
422,459 | 12.12.2018 19:56:30 | -14,400 | a147b48964de9f463cd8de965a0fc7087720c340 | Install proper docker package for tests
Related-task: #PROD-25653 (PROD:25653) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Test.groovy",
"new_path": "src/com/mirantis/mk/Test.groovy",
"diff": "@@ -409,7 +409,9 @@ def catTestsOutput(master, image) {\n*/\ndef install_docker(master, target) {\ndef salt = new com.mirantis.mk.Salt()\n- salt.runSaltProcessStep(master... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Install proper docker package for tests
Change-Id: Ic60f2ec89bb4a489987c085a822c29b2a251f038
Related-task: #PROD-25653 (PROD:25653) |
422,471 | 14.12.2018 15:46:36 | -14,400 | b5208e4d6b0c6a11a1125e7f6ead278ef274ab5b | Add ability to wait jobs triggered by the same trigger
Add ability to wait some jobs inside pipelines, which triggered by
same Gerrit trigger action.
Related-Prod: (PROD:25788) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -105,3 +105,71 @@ def getJobParameters(jobName){\n}\nreturn params\n}\n+\n+/**\n+ * Get list of causes actions for given build\n+ *\n+ * @param build J... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add ability to wait jobs triggered by the same trigger
Add ability to wait some jobs inside pipelines, which triggered by
same Gerrit trigger action.
Change-Id: I8ac1f4ad64dd0e04dfae652c2a0c700f32ecc846
Related-Prod: PROD-25788 (PROD:25788) |
422,489 | 22.10.2018 12:22:03 | -7,200 | c19e66b4e47e14d2ef242f652638938379d98604 | Convert enforceState methods to use Map as input parameter
- allows using named parameters in pipelines
- reduces complexity of Orchestration pipelines
Fixes: (PROD:23145) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -159,9 +159,27 @@ def getConfig(saltId, target, config) {\n* @param saltArgs additional salt args eq. [\"runas=aptly\"]\n* @return output of salt command\n*/\n+def enf... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Convert enforceState methods to use Map as input parameter
- allows using named parameters in pipelines
- reduces complexity of Orchestration pipelines
Fixes: PROD-23145 (PROD:23145)
Change-Id: I867f8578d10bfc898db3fc7b74e4dfbf5f11dad1 |
422,458 | 14.12.2018 18:32:33 | -7,200 | 058c1f4ab7112fbbcf45a81199415e9d18081df0 | Switch syntax test fromulas to mirror.mirantis.com | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -83,8 +83,8 @@ repo:\nmcp_extra:\nsource: \"${extraRepoSource}\"\nmcp_saltformulas:\n- source: \"deb http://apt.mcp.mirantis.net/xenial ${distr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Switch syntax test fromulas to mirror.mirantis.com
Change-Id: Ia20ab30590917e9267edab662ac8c148ef5ee8ef |
422,489 | 20.12.2018 15:41:04 | -3,600 | 4928869607b0fd4081e0dc4bc12a285793aeec2c | Change deprecation message for enforceState methods | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -173,7 +173,7 @@ def enforceStateWithExclude(Map params) {\ndef enforceStateWithExclude(saltId, target, state, excludedStates = \"\", output = true, failOnError = true... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Change deprecation message for enforceState methods
Change-Id: I78da4dbb9f16a3678d2b8f1412d05c03973c323c |
422,489 | 05.12.2018 10:42:50 | -3,600 | 65864b043c2fbd1a5209500f2853a1900628651e | Add verifyGaleraCluster function
Fixes: (PROD:24216) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -526,6 +526,144 @@ def applyOpenstackAppsStates(env, target){\n}\n}\n+/**\n+ * Verifies Galera database\n+ *\n+ * This function checks for Galera master, tes... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add verifyGaleraCluster function
Fixes: PROD-24216 (PROD:24216)
Change-Id: Ic32ea80ca5d339c03b51b50fb8fbfa6497f2bd67 |
422,470 | 25.12.2018 05:28:53 | -14,400 | 4300109b9ed1ed887ad1ee12f807c7b564594ec1 | Refactor function to check if user belongs to group[s]
Related PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -8,30 +8,74 @@ import com.cloudbees.groovy.cps.NonCPS\n*/\n/**\n- * Tests if current user belongs to given group\n- * @param groupName name of the grou... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Refactor function to check if user belongs to group[s]
Related PROD: https://mirantis.jira.com/browse/PROD-24801
Change-Id: Ifc0e742d8440cc383338cca0f9e4807408dc4a4c |
422,459 | 24.12.2018 18:31:39 | -14,400 | 2d6b3d5f8a9c148a174bfeb57f7292fadbe7ccbb | Pull docker images on targets successively
Currently this change is implemented for CICD stack only,
later it can be extended for all other components if needed.
Depends-on:
Related-bug: #PROD-25515 (PROD:25515) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -713,6 +713,13 @@ def installCicd(master, extra_tgt = '') {\n// Temporary exclude cfg node from docker.client state (PROD-24934)\ndef dockerClientExclude... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pull docker images on targets successively
Currently this change is implemented for CICD stack only,
later it can be extended for all other components if needed.
Depends-on: https://gerrit.mcp.mirantis.com/#/c/32868/
Change-Id: I0ec4f6cfb79b7d28f48323451374f33529573922
Related-bug: #PROD-25515 (PROD:25515) |
422,459 | 25.12.2018 18:47:29 | -14,400 | e59448c9bf8a7a0c74ccfe5f6be0a660e3627e72 | Pull docker images for StackLight successively
Related-bug: #PROD-25515 (PROD:25515) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -915,6 +915,13 @@ def installStacklight(master, extra_tgt = '') {\n}\n// Launch containers\n+ // Pull images first if any\n+ def listMinions = salt.getMi... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pull docker images for StackLight successively
Change-Id: I88fc7e42bb05261be9fcf655be8aeb8fa79cf586
Related-bug: #PROD-25515 (PROD:25515) |
422,489 | 21.12.2018 16:42:06 | -3,600 | 9a5d6685d2737aa912a000dab7f5836cd627c517 | Update restoreGaleraDb function
Indentify Last shutdown node
If galera:master is unreachable, try slaves
Fixes: (PROD:24216) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -535,28 +535,53 @@ def applyOpenstackAppsStates(env, target){\n* @param env Salt Connection object or pepperEnv\n* @return resultCode int values used to dete... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update restoreGaleraDb function
- Indentify Last shutdown node
- If galera:master is unreachable, try slaves
Fixes: PROD-24216 (PROD:24216)
Change-Id: I81c6da542ae7357fb77cb003cb3d5ce0e06d117f |
422,458 | 28.12.2018 15:30:33 | -7,200 | f6fce3dfee9b4f397c52f5452316c987d162ca3f | Extend logic of checkRemoteBinary
Prod-related: (PROD:26253) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -849,21 +849,28 @@ def stageWrapper(stageMap, currentStage, target, interactive = true, Closure bod\n* Ugly transition solution for internal tests.\n* 1) Check inp... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Extend logic of checkRemoteBinary
Prod-related: PROD-26253 (PROD:26253)
Change-Id: I8fee9449ee909b0ac0ebe483dc410631151e1c52 |
422,537 | 09.01.2019 15:28:21 | -14,400 | 49d6781485955465138b7b40194df2a1ae2297f8 | Fix codenarc issues to unblock merge | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -828,8 +828,8 @@ def stageWrapper(stageMap, currentStage, target, interactive = true, Closure bod\ninput message: getColorizedString(\"We are going to execute stag... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix codenarc issues to unblock merge
Change-Id: I14f30b0780627249bd908ebc09ea2a79ac9a92c4 |
422,537 | 09.01.2019 15:02:18 | -14,400 | 1237e176a89def355a25e2644865f2871e334f73 | Enforce docker states only if target exists
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -608,7 +608,7 @@ def installKubernetesControl(master, extra_tgt = '') {\nsalt.enforceState([saltId: master, target: \"I@kubernetes:master ${extra_tgt}\",... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Enforce docker states only if target exists
Change-Id: I021e3f422cfb94985bed22c507ceaac07018af0a
Related-PROD: PROD-26355 |
422,537 | 09.01.2019 17:46:17 | -14,400 | e3479663896e6e05d4144a63542a3a4442bd21c7 | Fix typo in testTarget call during enforceState
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -268,7 +268,7 @@ def enforceState(Map params) {\nkwargs[\"queue\"] = true\n}\n- if (params.optional == false || params.testTarget(params.saltId, params.target)){\n+ if... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix typo in testTarget call during enforceState
Change-Id: Iee0fca2de5bdfb56843d9113eff74f130536a061
Related-PROD: PROD-26359 |
422,537 | 09.01.2019 18:24:16 | -14,400 | dbb39869b348dab96b9a80fcd1d27fd451c22943 | Use enforceStateWithTest for k8s docker installation
Replace optional:true arg of enforceState with enforceStateWithTest
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -608,7 +608,7 @@ def installKubernetesControl(master, extra_tgt = '') {\nsalt.enforceState([saltId: master, target: \"I@kubernetes:master ${extra_tgt}\",... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Use enforceStateWithTest for k8s docker installation
- Replace optional:true arg of enforceState with enforceStateWithTest
Change-Id: I89169249b6d884e300b5949f16ebabc7e86165a2
Related-PROD: PROD-26355 |
422,458 | 02.01.2019 17:53:54 | -7,200 | 62c9774e66e59b72574d30af845bf4d912f7085c | Fix salt-formulas-scripts repo url | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -60,7 +60,7 @@ def setupDockerAndTest(LinkedHashMap config) {\n} catch (Exception e) {\ncommon.warningMsg(e)\nif ( !(distribRevision in [ 'nigh... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix salt-formulas-scripts repo url
Change-Id: Id3f04a25bf982c75a68797fc5f4e176ad837229d |
422,458 | 09.01.2019 21:38:56 | -7,200 | 7a123aac70f4377e6f998ec3dd43b0796d1092d1 | Extend buildCookiecutterTemplate logic
* Allow to build tox-based templates
Prod-related: (PROD:26374) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Python.groovy",
"new_path": "src/com/mirantis/mk/Python.groovy",
"diff": "@@ -262,12 +262,22 @@ def setupCookiecutterVirtualenv(path) {\n* @param templatePath path to cookiecutter template repo (optional)\n*/\ndef buildCookiecutterTemplate(... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Extend buildCookiecutterTemplate logic
* Allow to build tox-based templates
Change-Id: I5cff037173606869bf35589ac001a35e170956dc
Prod-related: PROD-26374 (PROD:26374) |
422,471 | 14.12.2018 15:46:36 | -14,400 | 46ff1389e259e92360823049f2326f866dbfc7f9 | Add ability to wait jobs triggered by the same trigger
Was occasionally removed in:
(https://gerrit.mcp.mirantis.com/#/c/32999/) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -149,3 +149,71 @@ def getJobParameters(jobName){\n}\nreturn params\n}\n+\n+/**\n+ * Get list of causes actions for given build\n+ *\n+ * @param build J... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add ability to wait jobs triggered by the same trigger
Was occasionally removed in:
4300109b9ed1ed887ad1ee12f807c7b564594ec1
(https://gerrit.mcp.mirantis.com/#/c/32999/)
Change-Id: I19917d71aaaa2d4c4e309cabe355c909dcdddec1 |
422,458 | 10.01.2019 12:08:59 | -7,200 | 95d43e063078ee9631a65199487c4ac3df922cb1 | Fix fileExists check | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Python.groovy",
"new_path": "src/com/mirantis/mk/Python.groovy",
"diff": "@@ -265,7 +265,7 @@ def buildCookiecutterTemplate(template, context, outputDir = '.', path = null, t\ndef common = new com.mirantis.mk.Common()\nconfigFile = \"defaul... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix fileExists check
Change-Id: I04326b4d5427039c823f4f4cd5bcf0b758ae2fc1 |
422,537 | 10.01.2019 15:12:55 | -14,400 | 2f99730f1024e61269c99f73afb06d153792aa4b | Support complex values for keys in setSaltOverride
for example hash: md5=source_hash
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1078,7 +1078,7 @@ def setSaltOverrides(saltId, salt_overrides, reclass_dir=\"/srv/salt/reclass\", ex\ndef value = entry[1]\ncommon.debugMsg(\"Set salt override ${key}... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Support complex values for keys in setSaltOverride
for example hash: md5=source_hash
Change-Id: Ie6214fd0cbac4a5be100945e4a3e670f51c7d802
Related-PROD: PROD-26392 |
422,542 | 11.12.2018 19:00:28 | -14,400 | 817b0df8af5696112c16aa5988a1b596ba978fc3 | Fix logic in bash inside installContrailCompute method
Existing logic leads to unconditional reboot of cmp nodes
inside installContrailCompute method.
If vhost0 interface is already present, cmp node shouldn't be rebooted.
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -578,7 +578,7 @@ def installContrailCompute(master, extra_tgt = '') {\n}\nif (salt.testTarget(master, \"I@nova:compute ${extra_tgt}\")) {\n- salt.cmdRun(... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix logic in bash inside installContrailCompute method
Existing logic leads to unconditional reboot of cmp nodes
inside installContrailCompute method.
If vhost0 interface is already present, cmp node shouldn't be rebooted.
Change-Id: I1a43c3a1d95b81f55aec345ab8f173df9482ef2a
Related-PROD: PROD-25554 |
422,540 | 09.01.2019 17:27:20 | -3,600 | fb242db2e7463f328ff89d6224485fee9e19cf21 | Add sleep after Contrail Control installation
Related-Bug:
Related-Commit:
For virtual labs with low resources need wait for
Contrail services to be ready. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -560,7 +560,9 @@ def installContrailNetwork(master, extra_tgt = '') {\nsalt.enforceStateWithExclude([saltId: master, target: \"I@opencontrail:collector $... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add sleep after Contrail Control installation
Related-Bug: PROD-26298
Related-Commit: https://gerrit.mcp.mirantis.com/#/c/33562/
For virtual labs with low resources need wait for
Contrail services to be ready.
Change-Id: Id848b9628a2486ca6aa4ac2619b4043f01365e2c |
422,471 | 11.01.2019 18:04:57 | -14,400 | b1a40b68a45a48d3dbfe2eabdcb77a7383b38537 | Extend function for finding Jenkins job with regex
Find Jenkins job not only by plain name, but
using regexp. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -125,9 +125,9 @@ def killStuckBuilds(maxSeconds, job){\n* @param jobName job name\n* @return job object that matches jobName\n*/\n-def getJobByName(job... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Extend function for finding Jenkins job with regex
Find Jenkins job not only by plain name, but also by
using regexp.
Change-Id: If3886a2ded14fdd704e75d93c214c9fb48f950e8 |
422,471 | 10.01.2019 20:53:01 | -14,400 | 270c530b48f96194fe7968b35e976f787d09439e | Improve functions for waiting jobs within same gerrit trigger
Related-Prod: (PROD:25788) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -158,13 +158,13 @@ def getJobParameters(jobName){\n*/\n@NonCPS\ndef getBuildCauseActions(build) {\n- def causeAction = build.actions.find { it -> it in... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Improve functions for waiting jobs within same gerrit trigger
Change-Id: I98dd8c69522e061262aa5277c204bda23665364f
Related-Prod: PROD-25788 (PROD:25788) |
422,502 | 11.01.2019 18:23:06 | -7,200 | 9b63be45c75fb1df2b4d3cbc50f2c3f51f497b3a | Remove currentBuild.result 'FAILURE', because it can not be unset later | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -542,7 +542,6 @@ def retry(int times = 5, int delay = 0, Closure body) {\nsleep(delay)\n}\n}\n- currentBuild.result = \"FAILURE\"\nthrow new Exception(\"Failed aft... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove currentBuild.result 'FAILURE', because it can not be unset later
Change-Id: I464bebd4a7895f8b46709fe83b885320aa6361a0 |
422,471 | 14.01.2019 12:54:56 | -14,400 | 900a3afa6e1d75df702a1a5474ed51e3876e4433 | Add more verbosity for Common.retry function
Currently it is not clear why sometimes failed body of
retry block, so let's add message with exception message.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -534,11 +534,11 @@ def shCmdStatus(cmd) {\ndef retry(int times = 5, int delay = 0, Closure body) {\nint retries = 0\n- def exceptions = []\nwhile (retries++ < time... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add more verbosity for Common.retry function
Currently it is not clear why sometimes failed body of
retry block, so let's add message with exception message.
Change-Id: I7ba56063be197f42d846485b129941de069da597
Related-Prod: PROD-26381 |
422,471 | 16.01.2019 13:53:34 | -14,400 | f0568ddeee4807df0471fe9baef8120b43336910 | Allow getting gerrit triggered builds by CommentAdded event
For now we are able to get gerrit triggered builds only on Patchset created
event, while main part of jobs are running by CommentAdded event. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -201,7 +201,8 @@ def getGerritTriggeredBuilds(allBuilds, gerritChange, excludePatchset = null){\nreturn allBuilds.findAll{job ->\ndef cause = job.causes[0]\nif(cau... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Allow getting gerrit triggered builds by CommentAdded event
For now we are able to get gerrit triggered builds only on Patchset created
event, while main part of jobs are running by CommentAdded event.
Change-Id: I730951cbcc656e61c51b811895b21b79033d0809 |
422,516 | 16.01.2019 18:52:30 | -3,600 | 6c0d6712c7c6fbe4f542b30cc50a46d914918526 | Write k8s certs on the master locally since jenkins moved to docker
Related-bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -477,10 +477,10 @@ def runRallyTests(master, target, dockerImageLink, platform, output_dir, config_\n'I@kubernetes:master and *01*', 'cmd.run',\n[\"cat /etc/... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Write k8s certs on the master locally since jenkins moved to docker
Change-Id: I681f5c384e8a2c0d537505d4ecc2e9fa3a1ffaa8
Related-bug: https://mirantis.jira.com/browse/PROD-26537 |
422,489 | 17.01.2019 16:20:24 | -3,600 | 9432142f0ad4e8d1f921347e151fbf84bb33251e | Fix wrong parameter name in Galera restoration pipeline
Fixes: (PROD:24216) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -616,7 +616,7 @@ def validateAndPrintGaleraStatusReport(env, out, minion) {\n} else {\nrole = \"slave\"\n}\n- sizeOut = salt.getReturnValues(salt.getPillar(e... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix wrong parameter name in Galera restoration pipeline
Fixes: PROD-24216 (PROD:24216)
Change-Id: I263d672fc0f2bb079a499eadf1fe707be1aee6e2 |
422,489 | 18.01.2019 09:14:19 | -3,600 | 0940280fea53ee64a1172a9883d5d5585de1be44 | Remove unused variable from galera validation function
Fixes: (PROD:24216) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -630,7 +630,6 @@ def validateAndPrintGaleraStatusReport(env, out, minion) {\nwsrep_local_recv_queue_avg: [title: 'Average size of local reveived queue', expe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove unused variable from galera validation function
Fixes: PROD-24216 (PROD:24216)
Change-Id: Idea2ca608360c010393ad99b045692cfb4dcfa2c |
422,542 | 22.01.2019 15:28:31 | -14,400 | 37b5829e6fbf055794c9b7ea071794109b1c5b46 | Fix contrail-api verification procedure after Contrail VCP deployment
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -562,7 +562,10 @@ def installContrailNetwork(master, extra_tgt = '') {\nsalt.enforceStateWithTest([saltId: master, target: \"( I@opencontrail:control or ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix contrail-api verification procedure after Contrail VCP deployment
Change-Id: I2af2111ce46b4f64fda7eded217255dcb8a4f169
Related-PROD: PROD-26266 |
422,542 | 23.01.2019 17:37:33 | -14,400 | 328a5721368c684e5ad6249d667102cfd7bd7972 | Use separate function to check contrail-api readiness
Depends-On:
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -560,11 +560,18 @@ def installContrailNetwork(master, extra_tgt = '') {\nsalt.enforceStateWithExclude([saltId: master, target: \"I@opencontrail:collector... | Groovy | Apache License 2.0 | mirantis/pipeline-library | - Use separate function to check contrail-api readiness
Depends-On: https://gerrit.mcp.mirantis.com/#/c/34507/
Related-PROD: PROD-26827
Change-Id: Ieab2e4f9e23bb76ff6f730c4238c01c56a27fdf2 |
422,542 | 25.01.2019 14:49:52 | -14,400 | af569b583eef198309ed60c57f59f3ad312e463a | Increase wait timeout for contrail-api
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -567,7 +567,7 @@ def checkContrailApiReadiness(master, extra_tgt = '') {\ndef common = new com.mirantis.mk.Common()\ndef salt = new com.mirantis.mk.Salt(... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Increase wait timeout for contrail-api
Change-Id: If38fbb8c4f28bfec452940e0022cbc7a29cced49
Related-PROD: PROD-26946 |
422,489 | 21.01.2019 14:31:00 | -3,600 | 232ad90b7e8b46d1d193b23111862782213d4bc6 | Add checkClusterTimeSync method
Related: (PROD:26609) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -533,9 +533,11 @@ def applyOpenstackAppsStates(env, target){\n* of Salt mysql.status function. The result is then parsed, validated and outputed to the user.... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add checkClusterTimeSync method
Related: PROD-26609 (PROD:26609)
Change-Id: I990bf96920b2c0ddf5250a26a90509cac4964395 |
422,459 | 01.02.2019 17:03:28 | -14,400 | 004cac2c1dc72b4d77cffac4657f654a8171d6d1 | Remove useless second param from restoreGaleraDb method
Related-prod: PROD:25856 | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -720,7 +720,7 @@ def getGaleraLastShutdownNode(env) {\n* @param env Salt Connection object or pepperEnv\n* @return output of salt commands\n*/\n-def restoreG... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove useless second param from restoreGaleraDb method
Change-Id: I474716f37618320c3618718bc1aa1b47f27590f0
Related-prod: PROD:25856 |
422,556 | 05.02.2019 15:53:18 | -14,400 | 32ff7fb7fb26c84e1da476a6873091cdac3294a5 | Add new product kdt (k8s drivetrain)
Prod related: (PROD:27209) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Python.groovy",
"new_path": "src/com/mirantis/mk/Python.groovy",
"diff": "@@ -301,7 +301,7 @@ def generateModel(context, contextName, saltMasterName, virtualenv, modelEnv, te\ndef templateOutputDir = templateBaseDir\ndir(templateEnvDir) {\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add new product kdt (k8s drivetrain)
Prod related: (PROD:27209)
Change-Id: I9df91f05ea71b7bdde05186165b5fbb6783a7c0f |
422,471 | 06.02.2019 17:01:38 | -14,400 | eaf78db6fb159c81dbf34fbcad716498cc163692 | Add parseDate function
Native pipeline scripts requires approve to use Date.parse method,
so to avoid this create a new function.
Related-Prod: (PROD:27169) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -989,3 +989,14 @@ def debianExtraRepos(repoConfig) {\nsh('cat /etc/apt/apt.conf.d/99setupAndTestNode')\n}\n}\n+\n+/**\n+ * Parse date from string\n+ * @param Strin... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add parseDate function
Native pipeline scripts requires approve to use Date.parse method,
so to avoid this create a new function.
Change-Id: I8f167c01162abec22c2e1356fad17f83aac703c0
Related-Prod: PROD-27169 (PROD:27169) |
422,489 | 08.02.2019 10:06:34 | -3,600 | f67b39a21f83c4bc7fcca19f297adb74e4fc9deb | Add 'retries_wait' parameter for enforceState method
Related: (PROD:26997) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -162,7 +162,7 @@ def getConfig(saltId, target, config) {\ndef enforceStateWithExclude(Map params) {\n//Set defaults\ndefaults = [\"excludedStates\": \"\", \"output\": ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add 'retries_wait' parameter for enforceState method
Related: PROD-26997 (PROD:26997)
Change-Id: I20d17bfbc9502279ee2e1c162b9db5c1016e21b5 |
422,458 | 11.02.2019 14:22:31 | -7,200 | b9afd23b6ad444e49898816cc5e5edef4654186e | SaltModelTesting - enable gpg support
Related-PROD: (PROD:26911) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -291,7 +291,13 @@ def testNode(LinkedHashMap config) {\n},\n'002_Prepare_something' : {\n- sh('''rsync -ah ${RECLASS_ENV}/* /srv/salt/reclass &... | Groovy | Apache License 2.0 | mirantis/pipeline-library | SaltModelTesting - enable gpg support
Change-Id: If36d9e685b686bd1efc409bef057b014f26d2f83
Related-PROD: PROD-26911 (PROD:26911) |
422,489 | 08.02.2019 10:16:52 | -3,600 | 331f2b6bc886349e0931eba51bca0cdf42a62b98 | Switch common.retry around enforceState to 'retries' parameter
Related: (PROD:26997) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -525,6 +525,9 @@ def shCmdStatus(cmd) {\n/**\n* Retry commands passed to body\n*\n+ * Don't use common.retry method for retrying salt.enforceState method. Use retr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Switch common.retry around enforceState to 'retries' parameter
Related: PROD-26997 (PROD:26997)
Change-Id: I42938dd83c924e9895cdd92316c5078e15f927c1 |
422,459 | 11.02.2019 20:28:40 | -14,400 | 3e7656bd15ce78b090a7b7bc71859088a612021e | Fix usage of non-defiened retries_wait variable
Related: (PROD:26997) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -277,7 +277,7 @@ def enforceState(Map params) {\nout = runSaltCommand(params.saltId, 'local', ['expression': params.target, 'type': 'compound'], 'state.sls', params.ba... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix usage of non-defiened retries_wait variable
Change-Id: I5cb745a5f2c6be3ac6f68447b1bd70d988e0c472
Related: PROD-26997 (PROD:26997) |
422,534 | 11.02.2019 19:15:53 | -7,200 | 17167d480d91b01ae0147d7e3c5ab1c5e6aefd4a | Added mounting of folder with cert for CVP tests
Related-Task: #PROD-25585(PROD-25585) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -56,6 +56,7 @@ def runContainer(master, target, dockerImageLink, name='cvp', env_var=[], entryp\nentry_point = '--entrypoint /bin/bash'\n}\nsalt.cmdRun(maste... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added mounting of folder with cert for CVP tests
Change-Id: I32ce69073ee08f5c53fa9a5680cf44241b5d64fa
Related-Task: #PROD-25585(PROD-25585) |
422,459 | 12.02.2019 20:51:27 | -14,400 | b672db706ee580984538c1a63cbf10fc565897c3 | Change way to get jenkins master url
Related-prod: PROD:26834 | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -781,8 +781,9 @@ def installCicd(master, extra_tgt = '') {\n}\n// Jenkins\n- def jenkins_master_url_pillar = salt.getPillar(master, jenkins_compound, '_p... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Change way to get jenkins master url
Change-Id: I7dece1cf30c1e1fe56388aae4bb939adc1e98417
Related-prod: PROD:26834 |
422,530 | 14.02.2019 18:16:05 | -7,200 | 3116a73e6b9786b9d1a8661f6fac4901a2082b68 | Add upgrade app according to pillar
When preparing list of applications to be
upgraded check its <app>:upgrade:enabled pillar and add
in case it is set to True
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -444,14 +444,19 @@ def getOpenStackUpgradeServices(env, target){\ndef global_apps = salt.getConfig(env, 'I@salt:master:enabled:true', 'orchestration.upgrade.... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add upgrade app according to pillar
When preparing list of applications to be
upgraded check its <app>:upgrade:enabled pillar and add
in case it is set to True
Change-Id: I5710a40a7eb34466034dfb213cdbdf5b0ccf308a
Related-PROD: PROD-24546 |
422,489 | 14.02.2019 20:16:41 | -3,600 | 92285d7715d5e470aa426d4fe8b554103b7ab9b6 | Update parsing of result yaml for galera verification method
Related: (PROD:27549) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -558,7 +558,7 @@ def verifyGaleraStatus(env, slave=false, checkTimeSync=false) {\nreturn 131\n}\ntry {\n- out = salt.cmdRun(env, \"I@salt:master\", \"salt -C... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update parsing of result yaml for galera verification method
Related: PROD-27549 (PROD:27549)
Change-Id: I93b047557e8d404329b94be305be320be6617508 |
422,471 | 19.02.2019 14:06:26 | -14,400 | e3509c147faffdfe38374533178906efef6287b8 | Pass docker hostname and domain as different params for testNode function
Pass docker hostname and domain as two different params for testNode
CC model testing function to avoid problem with setting docker hostname
to long as it now contains fqdn.
Related-Prod: (PROD:27622) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -268,6 +268,7 @@ def compareReclassVersions(config) {\ndef testNode(LinkedHashMap config) {\ndef common = new com.mirantis.mk.Common()\ndef doc... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pass docker hostname and domain as different params for testNode function
Pass docker hostname and domain as two different params for testNode
CC model testing function to avoid problem with setting docker hostname
to long as it now contains fqdn.
Change-Id: I48bfa1af8cd7a0f2869a16619466bc773e9fafa7
Related-Prod: PRO... |
422,489 | 15.02.2019 10:03:33 | -3,600 | 8f0f3ac38df0a089f8bd52bd68be78ce7594452b | Move Galera method to new separate class
- add getWsrepParameters method
Related: (PROD:27561) | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "+package com.mirantis.mk\n+\n+/**\n+ *\n+ * Galera functions\n+ *\n+ */\n+\n+\n+/**\n+ * Returns parameters from mysql.status output on given target node\n+ *\n+ * @param env Salt Connection object or... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Move Galera method to new separate class
- add getWsrepParameters method
Related: PROD-27561 (PROD:27561)
Change-Id: Id8fbb4dbad90a2993ee1e2f165e97492b867fb74 |
422,489 | 19.02.2019 14:29:24 | -3,600 | 5df75785c01ad9965f9ef21461b8007a0538b922 | Fix variables naming
Related: (PROD:27561) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -81,13 +81,13 @@ def verifyGaleraStatus(env, slave=false, checkTimeSync=false) {\ncommon.errorMsg(\"Cannot obtain Galera slave minions list.\")\nreturn 129\n}\n- f... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix variables naming
Related: PROD-27561 (PROD:27561)
Change-Id: I0213b747b61081079bf1df011ce4b7bdbb3e62d4 |
422,458 | 20.02.2019 14:22:13 | -7,200 | 451aed21cabbd959db74906a145362a08b97ecac | Refactor generateModel
* Use generate_auto fot tox based
* Depend's on
Prod-related: (PROD:26374)
Prod-related: (PROD:27085) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Python.groovy",
"new_path": "src/com/mirantis/mk/Python.groovy",
"diff": "@@ -71,7 +71,6 @@ def runVirtualenvCommand(path, cmd, silent=false) {\nreturn output\n}\n-\n/**\n* Install docutils in isolated environment\n*\n@@ -226,8 +225,7 @@ pr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Refactor generateModel
* Use generate_auto fot tox based
* Depend's on https://gerrit.mcp.mirantis.com/#/c/35535/
Change-Id: Ieb361fd81e88deff44c91be69fe1460b705c8bac
Prod-related: PROD-26374 (PROD:26374)
Prod-related: PROD-27085 (PROD:27085) |
422,477 | 13.02.2019 18:27:31 | 21,600 | fa885ed809c59ba71e87b1242eda78984acd55ed | Mount folder with certs to cvp container
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -56,8 +56,8 @@ def runContainer(master, target, dockerImageLink, name='cvp', env_var=[], entryp\nentry_point = '--entrypoint /bin/bash'\n}\nsalt.cmdRun(maste... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Mount folder with certs to cvp container
Related-PROD: PROD-27091
Change-Id: Ie1779f09ad305e4565f79f2d976e3e2064d1c5e3 |
422,458 | 21.02.2019 10:39:34 | 0 | c4f66f63940e7d43e670143df79c055ebd9daede | UPD: Refactor generateModel
* Use generate_auto fot tox based
* Depend's on
Prod-related: (PROD:26374)
Prod-related: (PROD:27085) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Python.groovy",
"new_path": "src/com/mirantis/mk/Python.groovy",
"diff": "@@ -71,7 +71,6 @@ def runVirtualenvCommand(path, cmd, silent=false) {\nreturn output\n}\n-\n/**\n* Install docutils in isolated environment\n*\n@@ -226,8 +225,7 @@ pr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | UPD: Refactor generateModel
* Use generate_auto fot tox based
* Depend's on https://gerrit.mcp.mirantis.com/#/c/35535/
Prod-related: PROD-26374 (PROD:26374)
Prod-related: PROD-27085 (PROD:27085)
Change-Id: Idd6c19b03f85efe3df2aaffd6d4e1eb44e4e7d82 |
422,489 | 25.02.2019 12:51:11 | -3,600 | 79810268d12bbaa6ac93dbdaa901d09dacf50349 | Consider null an error value during mysql verification
Related: (PROD:27845) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -166,7 +166,7 @@ def validateAndPrintGaleraStatusReport(env, out, minion) {\nfor (key in parameters.keySet()) {\nparam = parameters.get(key)\nif (key == 'wsrep_loc... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Consider null an error value during mysql verification
Related: PROD-27845 (PROD:27845)
Change-Id: I15abedbce16fb306a78dbf8a656a9579cc652cd6 |
422,489 | 26.02.2019 14:46:33 | -3,600 | 1fbda52179c687286c0c3590bab85cb9b11a5f44 | Fix getWsrepParameters behavior
Related: (PROD:27547) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -25,13 +25,9 @@ def getWsrepParameters(env, target, parameters=[], print=false) {\ncommon.prettyPrint(resultYaml)\n}\nif (parameters instanceof String) {\n- value ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix getWsrepParameters behavior
Related: PROD-27547 (PROD:27547)
Change-Id: I961495c28a39a74f4977a5227019c6642c5de561 |
422,471 | 27.02.2019 19:19:12 | -14,400 | a1edabaca734af23b6673ea59636f59f4be911b9 | Add function for checking minions readiness for new commands
Function will check availability of target minions (optionally) and then
readiness of all minions.
Related-Prod: (PROD:26381) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -484,6 +484,39 @@ def minionsReachable(saltId, target, target_nodes, batch=null, wait = 10, maxRet\n}\n}\n+/**\n+ * You can call this function when need to check that ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add function for checking minions readiness for new commands
Function will check availability of target minions (optionally) and then
readiness of all minions.
Change-Id: I086dd979cbb32a4a796e85bfca6d668a2578c9df
Related-Prod: PROD-26381 (PROD:26381) |
422,471 | 04.03.2019 15:53:36 | -14,400 | f4c45515a1d6344d107159b300bc5cfd387a0a5f | Parametrize usage of git global config
Since related issue is sporadic, disable usage of global
config and make it optional.
Related-Prod: (PROD:28160) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -99,12 +99,17 @@ def createGitBranch(path, branch) {\n*\n* @param path Path to the git repository\n* @param message A commit message\n+ * @param global Use global config... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Parametrize usage of git global config
Since related issue is sporadic, disable usage of global
config and make it optional.
Change-Id: I5edffbdc0e845ea600a77c7714cfcf2ec1e988bc
Related-Prod: PROD-28160 (PROD:28160) |
422,489 | 04.03.2019 11:35:09 | -3,600 | e0e009e8c41e20b0f824cbd0ff13a69f98d870dd | Fix rbenv behavior for multiple ruby versions
- Fix issue where it tries to clone to non-empty dir
Related: (PROD:26476) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ruby.groovy",
"new_path": "src/com/mirantis/mk/Ruby.groovy",
"diff": "@@ -9,9 +9,17 @@ 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_bu... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix rbenv behavior for multiple ruby versions
- Fix issue where it tries to clone to non-empty dir
Change-Id: I5c184045e409e31734563418df37dcdfe6eb3707
Related: PROD-26476 (PROD:26476) |
422,489 | 28.02.2019 11:39:49 | -3,600 | 1281cdec6e2f406fc6b37be6d038205075ec5dae | Update getGaleraLastShutdownNode and getWsrepParameters
- Add ability to pass list of nodes to find the last
shutdown node from
- Update imports for getWsrepParameters method and
fix return key class type
Related: (PROD:27547) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -17,7 +17,9 @@ package com.mirantis.mk\n*/\ndef getWsrepParameters(env, target, parameters=[], print=false) {\n- result = []\n+ def salt = new com.mirantis.mk.Salt... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update getGaleraLastShutdownNode and getWsrepParameters
- Add ability to pass list of nodes to find the last
shutdown node from
- Update imports for getWsrepParameters method and
fix return key class type
Related: PROD-27547 (PROD:27547)
Change-Id: Ib8f102759284c34d4e9c83b486279c9bae9bdc45 |
422,549 | 11.03.2019 10:30:05 | -3,600 | 154c1171e82570d64266f0dcb14c201a1edf3dc1 | chang mysql service start to state galera
Related: PROD-27943(PROD:27943) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -309,8 +309,7 @@ def restoreGaleraDb(env) {\nif(backup_dir == null || backup_dir.isEmpty()) { backup_dir='/var/backups/mysql/xtrabackup' }\nsalt.runSaltProcessStep... | Groovy | Apache License 2.0 | mirantis/pipeline-library | chang mysql service start to state galera
Change-Id: I37d267fcc03c2a785b7c2b47dc8c931e72653eb5
Related: PROD-27943(PROD:27943) |
422,516 | 05.03.2019 22:04:01 | -3,600 | 1fa6c6618c410ddd9b9124ebc8a758e15b4ffb97 | Adding rally db connection string
adding external db conn str
compiling deployment name from
cluster's name and cmp nodes count
rally trends
refactoring some code along the way
Related-PROD: (PROD:27892) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -417,29 +417,103 @@ def bundle_up_scenarios(scenarios_path, skip_scenarios, bundle_file = '' ) {\n* @param scenarios Directory inside repo with specific scen... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Adding rally db connection string
- adding external db conn str
- compiling deployment name from
cluster's name and cmp nodes count
- rally trends
- refactoring some code along the way
Change-Id: I759f4336b84e734e6273524dca0660de16247b51
Related-PROD: PROD-27892 (PROD:27892) |
422,489 | 12.03.2019 16:39:25 | -3,600 | 765f7baf459722b1960d37f914ea40757e3e026c | Add getBranchesForGitRepo function to Git.groovy class
Related: (PROD:27028) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -211,3 +211,24 @@ def mirrorGit(sourceUrl, targetUrl, credentialsId, branches, followTags = false,\n}\nsh \"git remote rm target\"\n}\n+\n+\n+/**\n+ * Return all branche... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add getBranchesForGitRepo function to Git.groovy class
Related: PROD-27028 (PROD:27028)
Change-Id: I092e5389fdce4bdbbaaa240b0e22464e524dbcd1 |
422,471 | 11.03.2019 20:54:13 | -14,400 | 60f47c1dfd8d5f10e55c02e58b83734e26eaa147 | Add function to save job artifacts in Artifactory
Related-Prod: (PROD:28146) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -309,3 +309,67 @@ def promoteDockerArtifact(String artifactoryURL, String artifactoryDevRepo,\n}\nsh \"rm -v ${queryFile}\"\n}\n+\n+/**\n+ * Save... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add function to save job artifacts in Artifactory
Related-Prod: PROD-28146 (PROD:28146)
Change-Id: Ic6a69958591ae6cee1deb7ee5094eae8757e4727 |
422,471 | 13.03.2019 18:35:51 | -14,400 | 5fc40f8b96d8b2979fd982d744b3d2e34ee38637 | Update regexp for getting archived artifacts to upload to Artifactory
Related-Prod: (PROD:28146) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -342,7 +342,7 @@ def uploadJobArtifactsToArtifactory(LinkedHashMap config) {\n}\ndir(artifactDir) {\ntry {\n- unarchive(mapping: ['*' : '.'])\n+ ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update regexp for getting archived artifacts to upload to Artifactory
Change-Id: I094e31ed1508ffefdfa3b4e4ebf2a913df2a4481
Related-Prod: PROD-28146 (PROD:28146) |
422,471 | 13.03.2019 20:44:43 | -14,400 | 850f56a4b050d04b4fb3cbc6763a49bbf9e14c50 | Add flat option for Artifactory upload spec
Set flat to false so artifacts are downloaded to the target path
in the file system while maintaining their hierarchy in the source repository.
Related-Prod: (PROD:28146) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -353,6 +353,7 @@ def uploadJobArtifactsToArtifactory(LinkedHashMap config) {\n{\n\"pattern\": \"*\",\n\"target\": \"${config.get('artifactoryRepo... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add flat option for Artifactory upload spec
Set flat to false so artifacts are downloaded to the target path
in the file system while maintaining their hierarchy in the source repository.
Change-Id: I8a34d461f540d3886d7c2d09ef70b843c8382bbb
Related-Prod: PROD-28146 (PROD:28146) |
422,489 | 27.02.2019 09:28:35 | -3,600 | b577f2d081037ad0bbeb4a0261fa872601beb877 | Add getIPAddressesForNodename funtction
- This is needed for a future backup pipeline
- Make it a function so it's reusable
Related: (PROD:27547) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1163,3 +1163,33 @@ def checkClusterTimeSync(saltId, target) {\nreturn false\n}\n}\n+\n+/**\n+* Finds out IP address of the given node or a list of nodes\n+*\n+* @para... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add getIPAddressesForNodename funtction
- This is needed for a future backup pipeline
- Make it a function so it's reusable
Related: PROD-27547 (PROD:27547)
Change-Id: Idee28a734bdd33c5f899b59b4b4fb731041f2f45 |
422,530 | 14.03.2019 10:54:58 | -7,200 | 3aaadc2d273eb80eab89171a84e963ce0c65a697 | Retrieving node services without ugrade condition
This patch modifies "getOpenStackUpgradeServices" method
to make possible to generate list of upgrade applications
without taking "upgrade:enabled" service pillar into
consideration.
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Openstack.groovy",
"new_path": "src/com/mirantis/mk/Openstack.groovy",
"diff": "@@ -435,27 +435,41 @@ def stopServices(env, probe, target, services=[], confirm=false) {\n/**\n* Return intersection of globally installed services and those ar... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Retrieving node services without ugrade condition
This patch modifies "getOpenStackUpgradeServices" method
to make possible to generate list of upgrade applications
without taking "upgrade:enabled" service pillar into
consideration.
Change-Id: I344c8240e75a98faaa58d4d7b3a5ef78576a4984
Related-PROD: PROD-27804 |
422,489 | 19.03.2019 09:26:26 | -3,600 | 3e55be9b023bcd65065253f2e96e8c64b83736dd | Fix ensureRuby method to be able to switch versions
- Remove 'git clone' block, because it's not needed
- Always install to Workspace and not global file path
Related: (PROD:26476) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ruby.groovy",
"new_path": "src/com/mirantis/mk/Ruby.groovy",
"diff": "@@ -9,20 +9,13 @@ 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 | Fix ensureRuby method to be able to switch versions
- Remove 'git clone' block, because it's not needed
- Always install to Workspace and not global file path
Related: PROD-26476 (PROD:26476)
Change-Id: I623f9ccf954f3de3d0978671058f953e51167758 |
422,489 | 21.03.2019 16:00:23 | -3,600 | 9044fe45f7aef67bb7ceb992a529a9b50d50e3c9 | Split restoreGaleraDb function and add restoreType param support
- restoreGaleraDb now restores database
- original function renamed to restoreGaleraCluster
- kept restoreGaleraDb(env) method for backwards compatibility
- added support to set the restoreType
Related: (PROD:26657) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -272,11 +272,12 @@ def getGaleraLastShutdownNode(env, nodes = []) {\n}\n/**\n- * Restores Galera database\n+ * Restores Galera cluster\n* @param env Salt Connectio... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Split restoreGaleraDb function and add restoreType param support
- restoreGaleraDb now restores database
- original function renamed to restoreGaleraCluster
- kept restoreGaleraDb(env) method for backwards compatibility
- added support to set the restoreType
Related: PROD-26657 (PROD:26657)
Change-Id: I8d47a5574... |
422,471 | 27.03.2019 19:12:06 | -14,400 | 7269cf32683b1f2d69a4bed59a5d07c1ff6a4331 | Add update/salt-formulas repo for CI testing
Related-Prod: (PROD:28970) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -50,17 +50,21 @@ def setupDockerAndTest(LinkedHashMap config) {\nif (baseRepoPreConfig) {\n// extra repo on mirror.mirantis.net, which is not s... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add update/salt-formulas repo for CI testing
Change-Id: I75cd5514a1e2b6e149f11f2740c44055a1ae65b5
Related-Prod: PROD-28970 (PROD:28970) |
422,445 | 27.03.2019 16:39:40 | -3,600 | e4f9dadadb6da674240064eddae1d01cfa3bbc41 | Added 'description' arg to jobResultNotification
To have possibility to provide additional info about build result, such
as amount of failed tests, etc...
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/SlackNotification.groovy",
"new_path": "src/com/mirantis/mcp/SlackNotification.groovy",
"diff": "@@ -29,11 +29,13 @@ def sendPostRequest(String urlString, String paramString){\n* @param buildUrl build url param, if empty env.BUILD_URL will... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added 'description' arg to jobResultNotification
To have possibility to provide additional info about build result, such
as amount of failed tests, etc...
us: https://mirantis.jira.com/browse/PROD-28936
Change-Id: I32d62c2c9f312e0d6b8a84a9a88b62112dffe41a |
422,489 | 28.03.2019 12:41:26 | -3,600 | 11276c2f2176fbf925ecf020f8069ce8f7d503e0 | Fix call to salt method inside the class itself
Fixes: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -508,7 +508,7 @@ def checkTargetMinionsReady(LinkedHashMap config) {\nif (checkAvailability) {\nminionsReachable(saltId, 'I@salt:master', target_reachable)\n}\n- def r... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix call to salt method inside the class itself
Fixes: PROD-28992
Change-Id: I2676220e7b0bbf43f1d0113b04d68575aa8f6bdb |
422,489 | 29.03.2019 12:10:00 | -3,600 | 4512e2e2fe11fbb9d2e5bf9f89f2cacd335a32cf | Add isPackageInstalled and getIostatValues methods to Salt.groovy class
- required method for implementation of related pipeline steps
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1226,3 +1226,66 @@ def getIPAddressesForNodenames(saltId, nodes = [], useGrains = true) {\n}\nreturn result\n}\n+\n+/**\n+* Checks if required package is installed an... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add isPackageInstalled and getIostatValues methods to Salt.groovy class
- required method for implementation of related pipeline steps
Related: PROD-28135
Change-Id: Ib06b408ea0e885658906c81fd4103914ebceabcb |
422,489 | 02.04.2019 14:12:58 | -7,200 | da7ff407f983678f6a73d44838f3d53f3f9850b9 | Add check for disks i/o utilization to verifyGaleraStatus method
Related:
Depends-on: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -92,6 +92,22 @@ 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 | Add check for disks i/o utilization to verifyGaleraStatus method
Related: PROD-28135
Depends-on: https://gerrit.mcp.mirantis.com/#/c/38214/
Change-Id: Ic7ff18789fae76886a3bf13656e0a8fa4a4935ff |
422,489 | 03.04.2019 09:14:51 | -7,200 | 71307dbe98a071e874519ef6fec24464c8d9166a | Improve error logging for galera recovery pipeline
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Galera.groovy",
"new_path": "src/com/mirantis/mk/Galera.groovy",
"diff": "@@ -68,6 +68,7 @@ def verifyGaleraStatus(env, slave=false, checkTimeSync=false) {\ntestNode = \"I@galera:master\"\n} catch (Exception e) {\ncommon.errorMsg('Galera ma... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Improve error logging for galera recovery pipeline
Related: PROD-27562
Change-Id: I45d0156868e56ae8b68fdc046049aaf1ff2fff38 |
422,489 | 04.04.2019 16:58:28 | -7,200 | a7744207889e2f939f66c4a2135b7b25188ddbfc | Fix for a method call to use Map
Related: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -1245,7 +1245,7 @@ def getIPAddressesForNodenames(saltId, nodes = [], useGrains = true) {\ndef getIostatValues(Map params) {\ndef common = new com.mirantis.mk.Common()... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix for a method call to use Map
Related: PROD-28135
Change-Id: Ic4d4439b9d62b13471a395183f2d712b9cf2bd11 |
422,516 | 26.03.2019 12:31:27 | -3,600 | de899e02d7f68ddb359e1baf162407b6b7571f15 | Prepare runRully for longevity testing
refactor in favor of setupDockerAndTest()
move out all the files/env_vars logic
return a map of cmds for setupDockerAndTest()
Related-PROD: (PROD:25363) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -384,7 +384,7 @@ def bundle_up_scenarios(scenarios_path, skip_scenarios, bundle_file = '' ) {\nskip_names += \"! -name ${scen} \"\n}\nelse {\n- skip_dirs += ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Prepare runRully for longevity testing
- refactor in favor of setupDockerAndTest()
- move out all the files/env_vars logic
- return a map of cmds for setupDockerAndTest()
Change-Id: Ic1dc2f2362820c02014c48dde3b1ac4203f1dc85
Related-PROD: PROD-25363 (PROD:25363) |
422,458 | 08.04.2019 16:25:08 | -10,800 | 4a8ccfa2ec6de6021bec45936bec20f144d6072d | Extend dockerTest debug
Prod-relate: PROD-27345(PROD:27345) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"new_path": "src/com/mirantis/mk/SaltModelTesting.groovy",
"diff": "@@ -120,6 +120,7 @@ repo:\nimg.inside(dockerOptsFinal) {\nwithEnv(envOpts) {\ntry {\n+ sh('printenv |sort -u')\n// Currently, we don't have any ot... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Extend dockerTest debug
Change-Id: Ib5c93bd38cd51d96e29828a7b0e7acfd7bae5b6b
Prod-relate: PROD-27345(PROD:27345) |
422,537 | 09.04.2019 16:46:06 | -14,400 | c3b0f04a199695b7acdb7b0b49003f3fdfccb39e | Remove unused and useless helm installation via separated state
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -683,9 +683,6 @@ def installKubernetesCompute(master, extra_tgt = '') {\n// Install Kubernetes and Calico\nsalt.enforceState([saltId: master, target: \"I... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove unused and useless helm installation via separated state
Change-Id: If9ee5b1f60a0480e41e1d30333b4ccc3e246e227
Related-PROD: PROD-29184 |
422,477 | 26.03.2019 18:05:34 | 18,000 | 9c456a7f3ade1cae808c4c91c4c3aaa83f63dcf3 | Remove deprecated code from Validate.groovy
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "package com.mirantis.mcp\n/**\n- *\n+ * DEPRECATED\n* Tests providing functions\n*\n*/\n@@ -17,6 +17,8 @@ package com.mirantis.mcp\ndef runBasicContainer(master... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove deprecated code from Validate.groovy
Related-PROD: PROD-28331
Change-Id: I3345acb37a5799ce0a1b9623e7ad35a2b745cb94 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.