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,527 | 23.01.2020 14:26:32 | -7,200 | 74c8cdd72a5c272415c1470f8a8f5aa2aff96a72 | Fix jobs statuses extraction (working with map instead of list) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -235,7 +235,7 @@ def runScenario(scenario) {\nif (failed_jobs) {\nstatuses = []\nfailed_jobs.each {\n- statuses += it.split(\":\").last()\n+ statuses += it.val... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix jobs statuses extraction (working with map instead of list)
PRODX-00000
Change-Id: Id01eb2758df810b525f2a60b56e679ce03f2dff4 |
422,459 | 27.01.2020 14:22:10 | -14,400 | d6d341d7eaaf248db9d0e8c7e3f8c42e2840ec63 | Pass batch param to debian.osUpgradeNode function | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -258,15 +258,15 @@ def uploadPpa(ppaRepo, dirPath, privateKeyCredId) {\n* @param env Salt Connection object or env Salt command map\n* @param target Salt target to... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pass batch param to debian.osUpgradeNode function
PROD-34252
Change-Id: I2e38056d62ea43724666d3f59a47059219cd583e |
422,487 | 12.12.2019 20:46:47 | -3,600 | ffed8f8d16f7f6e6e1073a82fad1aa884a7cbef0 | Added lvm support for removing partitions
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ceph.groovy",
"new_path": "src/com/mirantis/mk/Ceph.groovy",
"diff": "@@ -41,6 +41,9 @@ def removePartition(master, target, partition_uuid, type='', id=-1) {\ndef salt = new com.mirantis.mk.Salt()\ndef common = new com.mirantis.mk.Common()\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Added lvm support for removing partitions
Change-Id: I48322db9181eea36c74473c81809f65e35264aa9
Related-Prod: PROD-34370 |
422,530 | 13.02.2020 14:41:57 | -7,200 | a1004b57a95e68923d0aba467ec28e94035fbcbb | Remove artifact metadata dir structure precreation
This patch removes precreation of dirs and
files in artifact metadata repo since it is not
needed when using new version of artifact metadata
update application
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -69,7 +69,7 @@ def getReleaseMetadataValue(String key, Map params = [:]) {\n}\n/**\n- * Get release metadata value for given key\n+ * Pre-create ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove artifact metadata dir structure precreation
This patch removes precreation of dirs and
files in artifact metadata repo since it is not
needed when using new version of artifact metadata
update application
Change-Id: I2302d837b62b18d6851644f9b2941eedb7b1dbcc
Related-PROD: PROD-34227 |
422,530 | 13.02.2020 16:27:58 | -7,200 | 45150541cc062cc5bb1b5d404e064307ec55f58c | Add flag to create metadata structure if absent
This patch adds --create flag to artifact
metadata update command to force creation of artifact
metadata structure if not present. Moreover
the obsote "precreateKeyReleaseMetadataFile" function is
removed
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -68,27 +68,6 @@ def getReleaseMetadataValue(String key, Map params = [:]) {\nreturn result\n}\n-/**\n- * Pre-create release metadata directory st... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add flag to create metadata structure if absent
This patch adds --create flag to artifact
metadata update command to force creation of artifact
metadata structure if not present. Moreover
the obsote "precreateKeyReleaseMetadataFile" function is
removed
Change-Id: I663ed60eeb4f9fdf6e0b1500fdafabe980cdeebb
Related-PROD... |
422,457 | 13.02.2020 18:24:59 | -10,800 | d4adf97a1db34d9bce985b7ce49fa163471a3b03 | Convert repoDir to absolutePath
Also add getAbsolutePath to mk.Common
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -39,6 +39,17 @@ def getWorkspace(includeBuildNum = false) {\nreturn workspace\n}\n+/**\n+ * Get absolute path via 'realink'\n+ * -m, --canonicalize-missing\n+ * ca... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Convert repoDir to absolutePath
Also add getAbsolutePath to mk.Common
Related-Prod: PROD-00000
Change-Id: I64ea1388a02b64675d6b27dbfc6f97e22b7c5f9f |
422,445 | 13.03.2020 16:53:10 | -3,600 | ea2a8d3cd590405630bbb7dce9e6329f757c83c5 | [fix][slack] send notification even if build `not_built`
current setup failed to send webhook if build status not in:
success,failure or unstable. It breaks messaging if build status:
`not_built`
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/SlackNotification.groovy",
"new_path": "src/com/mirantis/mcp/SlackNotification.groovy",
"diff": "@@ -44,15 +44,23 @@ def jobResultNotification(String buildStatusParam, String channel = \"#mk-ci\",\ndef common = new com.mirantis.mk.Common()... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][slack] send notification even if build `not_built`
current setup failed to send webhook if build status not in:
success,failure or unstable. It breaks messaging if build status:
`not_built`
us: https://mirantis.jira.com/browse/PRODX-3254
Change-Id: Ifabbdcbe7851c16e5ce1cc2b3b125add9e0513f9 |
422,445 | 16.03.2020 10:39:19 | -3,600 | efa9310c564cefa05ce4ee8aeba95ff7dcced606 | [fix][slack] fix typo in slackNotification func
```
groovy.lang.MissingPropertyException: No such property: toLowerCase for class: java.lang.String
```
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/SlackNotification.groovy",
"new_path": "src/com/mirantis/mcp/SlackNotification.groovy",
"diff": "@@ -45,7 +45,7 @@ def jobResultNotification(String buildStatusParam, String channel = \"#mk-ci\",\ncred = common.getCredentialsById(credential... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][slack] fix typo in slackNotification func
```
groovy.lang.MissingPropertyException: No such property: toLowerCase for class: java.lang.String
```
us: https://mirantis.jira.com/browse/PRODX-3254
Change-Id: I80643deb85dcd61ade65e176c8832bd8370fb9bb |
422,459 | 24.03.2020 14:38:28 | -14,400 | 98692b0582ffc3842b6e6f3e257555d6427e6bc6 | Fail packages upgrade if pkg.refresh_db has failed | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Debian.groovy",
"new_path": "src/com/mirantis/mk/Debian.groovy",
"diff": "@@ -252,39 +252,6 @@ def uploadPpa(ppaRepo, dirPath, privateKeyCredId) {\n}\n}\n-/**\n-* Upgrade packages on given target.\n-*\n-* @param env Salt Connection object o... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fail packages upgrade if pkg.refresh_db has failed
PROD-34503
Change-Id: Id5364a5ed7470d59f6a19f4b147a1d658d18ec00 |
422,459 | 19.03.2020 13:25:30 | -14,400 | 1906390c64e7fdb6f486a8abcb58c7c9215cfb93 | Add ability to run full refresh alternately | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Salt.groovy",
"new_path": "src/com/mirantis/mk/Salt.groovy",
"diff": "@@ -687,13 +687,23 @@ def syncAll(saltId, target, batch = null) {\n* @param saltId Salt Connection object or pepperEnv (the command will be sent using the selected method... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add ability to run full refresh alternately
PROD-34468
Change-Id: I71010d9496eb914950421a5a463745c180f62dc6 |
422,447 | 26.03.2020 21:59:14 | -7,200 | 812673abea50c4b19941c2e29700510667f21460 | Make uploadJobArtifactsToArtifactory more universal
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -425,7 +425,7 @@ def uploadJobArtifactsToArtifactory(LinkedHashMap config) {\nreturn \"Artifactory server is not found. Can't save artifacts in A... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Make uploadJobArtifactsToArtifactory more universal
Related-prod: PRODX-3226
Change-Id: I4207afcaa03e4f69395f8aa6b5be3e06f43b197d |
422,445 | 31.03.2020 11:16:54 | -7,200 | 5a6eb8a3ba65479439b785696227e9a1e215d18d | [feat][workflow] scenario resulst slack reporting
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -209,7 +209,7 @@ def runSteps(steps, global_variables, failed_jobs, Boolean propagate = false) {\n*\n*/\n-def runScenario(scenario) {\n+def runScenario(scenari... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][workflow] scenario resulst slack reporting
Change-Id: I79205779a0c8fde60e538ae45d8551c20a77bd44
us: https://mirantis.jira.com/browse/PRODX-3286 |
422,447 | 31.03.2020 13:17:54 | -10,800 | 9ade072be5a8eb3d5ba60d19636bf2aba9d7fb02 | Add deleteArtifact flag to artifac upload
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -415,6 +415,11 @@ def uploadJobArtifactsToArtifactory(LinkedHashMap config) {\ndef common = new com.mirantis.mk.Common()\ndef artifactsDescriptio... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add deleteArtifact flag to artifac upload
Related-prod: PRODX-3226
Change-Id: Ic0b6941ff6687e042cbf10fd141c305c39052176 |
422,459 | 31.03.2020 16:55:31 | -14,400 | d4dc1e196d103e06f1d5c37a198c12e9eee50ef4 | Reload salt.minion before running jenkins.client state
Resresh salt-minion service to make sure it loads
the latest version of python libs on the targets | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -813,6 +813,9 @@ def installCicd(master, extra_tgt = '') {\nsalt.enforceStateWithTest([saltId: master, target: \"I@python:environment ${extra_tgt}\", sta... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Reload salt.minion before running jenkins.client state
Resresh salt-minion service to make sure it loads
the latest version of python libs on the targets
PROD-35056
Change-Id: I5ee85b83fe09ec0878bbe2cc50df4fb5d08f3b62 |
422,459 | 01.04.2020 16:30:29 | -14,400 | 45cb6c0f118296c8b8b43f62d609c6ca1a0b2813 | Update libs and restart salt-minion before gerrit and jenkins setup
Make sure we have latest python-requests and python-urllib3 and
salt-minion service is restarted before running gerrit and jenkins
client states which are actively using API call via urllib3 lib. | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -813,23 +813,26 @@ def installCicd(master, extra_tgt = '') {\nsalt.enforceStateWithTest([saltId: master, target: \"I@python:environment ${extra_tgt}\", s... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update libs and restart salt-minion before gerrit and jenkins setup
Make sure we have latest python-requests and python-urllib3 and
salt-minion service is restarted before running gerrit and jenkins
client states which are actively using API call via urllib3 lib.
PROD-35056
Change-Id: I25af0448851fb6aae5fafa16aa4fa0... |
422,459 | 31.03.2020 13:19:06 | -14,400 | 12c43330b90ca833dbaf94d3e427de71bb5c0c9f | Run salt.minion and full refresh consistently | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -30,11 +30,11 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '', batch=20\nsalt.enforceState([saltId: master, target: \"I@salt:ma... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Run salt.minion and full refresh consistently
PROD-35053
Change-Id: I20514451a02ef8e9a71b277bbad7f83070b1862d |
422,454 | 27.03.2020 20:10:35 | 25,200 | da64f3416abed4da77b208f4611449c58efc0e1e | Add Atlassian functions for interaction with JIRA API
Add functions needed to post JIRA comments. Functions to
post comments with versions of artifacts based on
artifact-metadata format.
Related-To: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/Atlassian.groovy",
"diff": "+package com.mirantis.mk\n+\n+/**\n+ *\n+ * Send HTTP request to JIRA REST API.\n+ *\n+ * @param uri (string) JIRA url to post message to\n+ * @param auth (string) authentication data\n+ * @param m... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add Atlassian functions for interaction with JIRA API
Add functions needed to post JIRA comments. Functions to
post comments with versions of artifacts based on
artifact-metadata format.
Related-To: PRODX-3678
Change-Id: Ia61a282f9ecab7269eeabcb6ddb53422b5eef0d6 |
422,492 | 02.04.2020 17:20:02 | -10,800 | 6b7e6aba634ce6c7a7c59f72e8b4bdfda1adbb2b | Fix extractJIRA() function in Atlassian.groovy
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Atlassian.groovy",
"new_path": "src/com/mirantis/mk/Atlassian.groovy",
"diff": "@@ -46,7 +46,7 @@ def callREST (String uri, String auth, String method = 'GET', String message = n\n**/\nList extractJIRA(String commitMsg, String matcherRegex ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix extractJIRA() function in Atlassian.groovy
Related-To: PRODX-3678
Change-Id: I622ab7ed220c2f838dc208abb5b5b9eb90da0a0e |
422,492 | 02.04.2020 15:35:29 | -10,800 | 78c0e2154ee2217cf2586531700102b88be7a210 | Add build url and ticket IDs to commit message to artifact-metadata CR
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -157,6 +157,19 @@ def updateReleaseMetadata(String key, String value, Map params, Integer dirdepth\n|${ChangeId}\n\"\"\".stripMargin()\n+\n+ // A... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add build url and ticket IDs to commit message to artifact-metadata CR
Change-Id: Ib06c0706d65dc65736acc124b0d47d033c984cc4
Related-To: PRODX-3678 |
422,492 | 02.04.2020 20:13:05 | -10,800 | f8258c05e3bbc195b8839466eef7b8fbed44e2bb | [Atlasian] Fix function postComment()
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Atlassian.groovy",
"new_path": "src/com/mirantis/mk/Atlassian.groovy",
"diff": "@@ -60,20 +60,14 @@ List extractJIRA(String commitMsg, String matcherRegex = '([A-Z]+-[0-9]+)') {\n*\n* @param uri (string) JIRA url to post message to\n* @para... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [Atlasian] Fix function postComment()
Related-To: PRODX-3678
Change-Id: I2cec926ab0f4e1c7449e9003b89247300fbeb7ce |
422,483 | 07.04.2020 11:34:48 | -7,200 | 3a82bbec8b9b662ed31caaecb2f44c4ef6d83671 | update ceph pipline for refactored grains
Releted-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ceph.groovy",
"new_path": "src/com/mirantis/mk/Ceph.groovy",
"diff": "@@ -40,8 +40,9 @@ def waitForHealthy(master, target, flags=[], count=0, attempts=300) {\ndef removePartition(master, target, partition_uuid, type='', id=-1) {\ndef salt =... | Groovy | Apache License 2.0 | mirantis/pipeline-library | update ceph pipline for refactored grains
Releted-Prod: PROD-35018
Change-Id: I9c91d332753039f21708f9fd4956a6a65cfeecc7 |
422,492 | 03.04.2020 14:56:39 | -10,800 | b26ad206cb5dea2c330c85430e9bff8a4e3ffd78 | [Atlassian] Add functions to update Jira fields
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Atlassian.groovy",
"new_path": "src/com/mirantis/mk/Atlassian.groovy",
"diff": "@@ -28,6 +28,8 @@ def callREST (String uri, String auth, String method = 'GET', String message = n\nString responseText = ''\nif (responseCode == 200) {\nrespon... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [Atlassian] Add functions to update Jira fields
Related-To: PRODX-3678
Change-Id: If3c3d2f2710c40605194ff398d8f80bd8d3a72d1 |
422,492 | 07.04.2020 13:03:53 | -10,800 | 3eb9fc9dd8e1b2fa4b8a2c30eb2990b8057a5a15 | [Atlassian] Add support of plaintext to extractJIRA function
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Atlassian.groovy",
"new_path": "src/com/mirantis/mk/Atlassian.groovy",
"diff": "@@ -48,7 +48,13 @@ def callREST (String uri, String auth, String method = 'GET', String message = n\n**/\nList extractJIRA(String commitMsg, String matcherRegex... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [Atlassian] Add support of plaintext to extractJIRA function
Related-To: PRODX-3678
Change-Id: I27ee9ce31e01abc0b7a9bf040e45fb55dd34c592 |
422,447 | 06.04.2020 13:24:54 | -10,800 | f446e41d56728415210a7abd9f2fbda281b05bbc | Add artifactory support in Workflow library
Due SI team migration to Artifactory need make
support Artifactoy in Workflow library for
get artifacts from artifactory instead of a job
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -87,17 +87,32 @@ def runJob(job_name, job_parameters, global_variables, Boolean propagate = false\n* will be empty.\n*\n*/\n-def storeArtifacts(build_url, step... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add artifactory support in Workflow library
Due SI team migration to Artifactory need make
support Artifactoy in Workflow library for
get artifacts from artifactory instead of a job
Related-prod: PRODX-3226
Change-Id: I5087fc1f04126e68fed9a0dced6e0a496293d37f |
422,476 | 29.04.2020 00:00:34 | -10,800 | 5f014d8454b2bc949d7576e94023fa95570e8917 | Add Workflow option 'inherit_parent_params'
new method "getJobDefaultParameters(jobName)" to get the job
defaults
new workflow option "inherit_parent_params" (default: false)
to pass all the parameters from the parent to child job if "true" | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -17,6 +17,32 @@ package com.mirantis.mk\n*/\n+/**\n+ * Get Jenkins parameter names, values and types from jobName\n+ * @param jobName job name\n+ * @return Map... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add Workflow option 'inherit_parent_params'
- new method "getJobDefaultParameters(jobName)" to get the job
defaults
- new workflow option "inherit_parent_params" (default: false)
to pass all the parameters from the parent to child job if "true"
https://mirantis.jira.com/browse/PRODX-3627
Change-Id: I0dc8b4d03f... |
422,476 | 30.04.2020 14:32:45 | -10,800 | 334eecdd2f2b0f221a72042ee40b7484553b58a5 | Fix HashMap default value for step parameters | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -168,12 +168,13 @@ def runSteps(steps, global_variables, failed_jobs, Boolean propagate = false) {\ndef job_name = step['job']\ndef job_parameters = [:]\n+ def... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix HashMap default value for step parameters
https://mirantis.jira.com/browse/PRODX-3627
Change-Id: I5aa13174cac7af0ac521d9f8cb311b853b1aef48 |
422,445 | 04.05.2020 17:35:20 | -7,200 | 33747e1f2c07ef6baa3e2ad65d98672ce9257b72 | [feat][core] common utils for kaas per-commit testing
Determine scope of test suite against per-commit KaaS deployment based on keywords
written in gerrit commit body
Determine if custom si tests/pipelines refspec forwarded from gerrit change request
us: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "+package com.mirantis.mk\n+common = new com.mirantis.mk.Common()\n+\n+/**\n+ *\n+ * KaaS Component Testing Utilities\n+ *\n+ */\n+\n+\n+/**\n+* Determine scope of test suite against per-commit KaaS... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] common utils for kaas per-commit testing
- Determine scope of test suite against per-commit KaaS deployment based on keywords
written in gerrit commit body
- Determine if custom si tests/pipelines refspec forwarded from gerrit change request
Change-Id: I1fcd62c5374c3d7a0c9cccebed436541b005fd27
us: https:... |
422,445 | 04.05.2020 18:25:50 | -7,200 | bdb902267ea690fa0737e6e3f87a09a4bad9d831 | [fix][core] common lib calling inside kaasUtils
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "package com.mirantis.mk\n-common = new com.mirantis.mk.Common()\n/**\n*\n@@ -23,6 +22,8 @@ common = new com.mirantis.mk.Common()\n* ]\n*/\ndef checkDeploymentTe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] common lib calling inside kaasUtils
Change-Id: Ief787be33201d2d59ae3c5ce9b5cdb5953e77ae2
us: PRODX-4282 |
422,447 | 05.05.2020 20:08:52 | -10,800 | 39cf09ca2721189297eaf2a69cdcd1a657998b61 | Add custom artifact upload func
Related-prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"new_path": "src/com/mirantis/mcp/MCPArtifactory.groovy",
"diff": "@@ -472,3 +472,64 @@ def uploadJobArtifactsToArtifactory(LinkedHashMap config) {\n}\nreturn artifactsDescription\n}\n+\n+/**\n+ * Save custom artifa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add custom artifact upload func
Related-prod: PRODX-3226
Change-Id: I418f9ee8709c10c929332b745508c57ed7f4022b |
422,492 | 07.05.2020 14:10:37 | -10,800 | d15406129f9b30f5a504b5e68a746f6b39e726c0 | [Git] Add getGitCommitMessage() function
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -79,6 +79,19 @@ def getGitRemote(name = '', type = 'fetch') {\nreturn gitRemote\n}\n+/**\n+ * Get commit message for given commit reference\n+ */\n+def getGitCommitMessa... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [Git] Add getGitCommitMessage() function
Related-To: PRODX-4768
Change-Id: I36534f21e81c705f5069ba7240ec4096d6042ba9 |
422,479 | 11.05.2020 13:28:59 | -7,200 | 88e0bb4a3c5d26f3b290e8baa44a6ff382687314 | fix partition removal for ceph nautilus
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ceph.groovy",
"new_path": "src/com/mirantis/mk/Ceph.groovy",
"diff": "@@ -93,7 +93,7 @@ def removePartition(master, target, partition_uuid, type='', id=-1) {\n}\n}\nif (lvm_enabled && type != 'lockbox') {\n- salt.cmdRun(master, target, \"ce... | Groovy | Apache License 2.0 | mirantis/pipeline-library | fix partition removal for ceph nautilus
Related-Prod: PROD-35230
Change-Id: I954e4f3379486cf7c6d36481ec3cf7a57c77457f |
422,458 | 12.05.2020 12:40:44 | -10,800 | 898e174736da7dc8fe5044721b965b3781cd98e7 | add common.setMapDefaults() | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -945,6 +945,29 @@ def mergeEnv(envVar, extraVars) {\n}\n}\n+def setMapDefaults(Object base, Object defaults, Boolean recursive = false) {\n+/**\n+ * Function to up... | Groovy | Apache License 2.0 | mirantis/pipeline-library | add common.setMapDefaults()
PRODX-4799
Change-Id: I896ef3aae8f82b0162b09837c8d99334ead1ed2c |
422,445 | 20.05.2020 11:24:02 | -7,200 | 68cba27c1ad61bdc9032e0c98242cd6902319ba2 | [fix][wf] manage success build result in wf scenario
to avoid slack reporting null issues
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -325,6 +325,8 @@ def runScenario(scenario, slackReportChannel = '') {\ncurrentBuild.result = 'FAILURE'\n}\nprintln \"Failed jobs: ${failed_jobs}\"\n+ } else {\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][wf] manage success build result in wf scenario
to avoid slack reporting null issues
Change-Id: I90ffc04e9916923be3347998147b2323c0b46399
us: https://mirantis.jira.com/browse/PRODX-5084 |
422,457 | 27.05.2020 17:48:36 | -10,800 | 4badf83f9faecf97d29c5e52df92a4bca008b5ee | Introduce setEnvDefaults function
* This function set default values of a environment variables
object. Existing keys are not modifies, missed keys added.
* Misc: remove common.msg since it's not supported at JenkinsMaster | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -6,6 +6,8 @@ import static groovy.json.JsonOutput.toJson\nimport com.cloudbees.groovy.cps.NonCPS\nimport groovy.json.JsonSlurperClassic\n+import org.jenkinsci.plug... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Introduce setEnvDefaults function
* This function set default values of a environment variables
object. Existing keys are not modifies, missed keys added.
* Misc: remove common.msg since it's not supported at JenkinsMaster
PRODX-5224
Change-Id: I4cbe7c0b430f349f0fb6b4e5f26140f45c7f92be |
422,445 | 05.06.2020 12:54:53 | -7,200 | 6c2afffef70fc8b6e45031d26ed3bcdda83d91ea | [refactor][core] keywords parser conditions
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -16,7 +16,8 @@ package com.mirantis.mk\n* New CR pushed in kubernetes/lcm-ansible -> parsing it's commit body and combine test-suite -> trigger deployment jo... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [refactor][core] keywords parser conditions
us: PRODX-5443
Change-Id: I4b15815991475ab3c74b337ca0ed5b48934848db |
422,445 | 02.06.2020 19:06:46 | -7,200 | 2a982ffee082f058f08c528298dd0f56f16444c4 | [feat][core] generate shared wf for testing components w/ kaas core CI
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -135,3 +135,66 @@ def checkCustomSIRefspec() {\nKeywords: https://gerrit.mcp.mirantis.com/plugins/gitiles/kaas/core/+/refs/heads/master/.git-message-template... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] generate shared wf for testing components w/ kaas core CI
us: https://mirantis.jira.com/browse/PRODX-5353
Change-Id: I004151b237f1d1c465cfb4abf1f3c1c0b0dec1f4 |
422,445 | 08.06.2020 13:57:16 | -7,200 | 9080f3758da1ff497e5d08ce6ca5b4a86d2f48bf | [feat][core] manage custom kaas/core refspecs
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -137,6 +137,45 @@ def checkCustomSIRefspec() {\nreturn [siTests: siTestsRefspec, siPipelines: siPipelinesRefspec, siTestsDockerImage: siTestsDockerImage]\n}\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] manage custom kaas/core refspecs
us: PRODX-5419
Change-Id: I17551888748b99395dec3c8cd0ce208016b80954 |
422,445 | 08.06.2020 14:36:11 | -7,200 | 4a5c324d70fd586230a2c6c77daf1b4027ade684 | [fix][core] set waiters for parrallel demo run
typo fixes
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -201,7 +201,7 @@ def triggerPatchedComponentDemo(component, patchSpec) {\nstring(name: 'GERRIT_REFSPEC', value: coreRefspec.core),\nstring(name: 'KAAS_PIPELI... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] set waiters for parrallel demo run
typo fixes
us: PRODX-4984
Change-Id: Ib9cd7ee367b3cb45b703e29618ab3d2053854a06 |
422,445 | 08.06.2020 15:28:11 | -7,200 | 1244fb139d8e11f6e22db359546deec7f4118bc3 | [feat][core] manage aws for component teams demo run
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -209,6 +209,7 @@ def triggerPatchedComponentDemo(component, patchSpec) {\nbooleanParam(name: 'DEPLOY_CHILD', value: triggers.deployChildEnabled),\nbooleanPar... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] manage aws for component teams demo run
us: PRODX-5353
Change-Id: I31d98768a1bbfd41ccadbbe8f5d4aa3618099046 |
422,445 | 08.06.2020 16:37:01 | -7,200 | 905dd36f4d761635666737fa49f486820b14fff5 | [feat][core] manage aws demo in component teams testing
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -32,7 +32,7 @@ def checkDeploymentTestSuite() {\ndef runMgmtConformance = env.RUN_MGMT_CFM ? env.RUN_MGMT_CFM.toBoolean() : false\ndef runChildConformance = ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] manage aws demo in component teams testing
us: PRODX-5353
Change-Id: I641519871da2c05f9df389f81d3a8d2b6b4092f2 |
422,445 | 08.06.2020 17:18:31 | -7,200 | aa430616911510e405a03ee3468122ad85124565 | [refactor][core] parallel demo run of kaas jobs
recording and parsing job results
remove useless try/catch blocks
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -212,34 +212,39 @@ def triggerPatchedComponentDemo(component, patchSpec) {\nbooleanParam(name: 'ALLOW_AWS_ON_DEMAND', value: triggers.awsOnDemandDemoEnabled)... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [refactor][core] parallel demo run of kaas jobs
- recording and parsing job results
- remove useless try/catch blocks
us: PRODX-5353
Change-Id: I8fc9fc1130a77a05ad2eaa57147b0d257f94828a |
422,445 | 09.06.2020 14:04:48 | -7,200 | f86b111f806cfe341700d54cfff60430d3dfc007 | [refactor][core] try/catch in for parallel demo execution
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -214,28 +214,32 @@ def triggerPatchedComponentDemo(component, patchSpec) {\ndef jobResults = []\njobs[\"kaas-core-openstack-patched-${component}\"] = {\n+ tr... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [refactor][core] try/catch in for parallel demo execution
us: PRODX-5353
Change-Id: I0ba6f4936c82dbe2242a2fe03cbe6cc8aa7d5d76 |
422,534 | 10.06.2020 14:15:32 | -10,800 | e1fa9ebd344d0d8fc0ef83c939e9ec09394ab3d1 | Remove tmp:tmp mount for tempest tests | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Validate.groovy",
"new_path": "src/com/mirantis/mcp/Validate.groovy",
"diff": "@@ -57,7 +57,6 @@ def runContainer(Map params){\ndefault_mounts = [\"/etc/ssl/certs/\": \"/etc/ssl/certs/\",\n\"/srv/salt/pki/${cluster_name}/\": \"/etc/certs\"... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Remove tmp:tmp mount for tempest tests
PROD-34692
Change-Id: I45cb44078986f5cdef703047b87b80556ac9a8f3 |
422,475 | 05.06.2020 13:42:08 | -10,800 | 8505a7f6985d0222840a812530a67cf794650e15 | Extend description for workflow jobs
* Add handler for 'description' parameter in workflows eg:
.......
job: si-test-k8s-conformance
ignore_failed: true
description: "Run mgmt conformance ${ENV_NAME}"
parameters:
ENV_NAME:
type: StringParameterValue
use_variable: ENV_NAME
KUBECONFIG_ARTIFACT:
...... | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Workflow.groovy",
"new_path": "src/com/mirantis/mk/Workflow.groovy",
"diff": "@@ -152,6 +152,71 @@ def storeArtifacts(build_url, step_artifacts, global_variables, job_name, build_\n}\n}\n+/**\n+ * Update workflow job build description\n+ *\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Extend description for workflow jobs
* Add handler for 'description' parameter in workflows eg:
.......
- job: si-test-k8s-conformance
ignore_failed: true
description: "Run mgmt conformance ${ENV_NAME}"
parameters:
ENV_NAME:
type: StringParameterValue
use_variable: ENV_NAME
KUBECONFIG_ARTIFA... |
422,543 | 15.06.2020 14:44:56 | -14,400 | 9959de5ba7e7f1f04549e21f321854518e3d2907 | Specify branch for pulling ruby-build
New jenkins nodes comes with newer git with strict rules
for branch operations (or it just comes without set-upstream-to) | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ruby.groovy",
"new_path": "src/com/mirantis/mk/Ruby.groovy",
"diff": "@@ -11,7 +11,7 @@ package com.mirantis.mk\ndef ensureRubyEnv(rubyVersion=\"2.4.1\"){\nif (!fileExists(\"/var/lib/jenkins/.rbenv/versions/${rubyVersion}/bin/ruby\")){\n//X... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Specify branch for pulling ruby-build
New jenkins nodes comes with newer git with strict rules
for branch operations (or it just comes without set-upstream-to)
PROD-35466
Change-Id: I6be44c85e826d4da23a02353f94c17f109cec622 |
422,445 | 15.06.2020 18:36:53 | -7,200 | 8a0598ba5935ad9fbf33cc4f6bb9e3510f68dcfc | [feat][core] manage SI feature flags
allow forwarding SI ff values as gerrit comment keyword
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -113,11 +113,13 @@ def checkCustomSIRefspec() {\n// Available triggers and its sane defaults\ndef siTestsRefspec = env.SI_TESTS_REFSPEC ?: 'master'\n+ def si... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] manage SI feature flags
allow forwarding SI ff values as gerrit comment keyword
us: PRODX-5418
Change-Id: Ib9ec104e0627e92dace919a8ba18bec3a38085bb |
422,492 | 16.06.2020 14:39:43 | -10,800 | 2fb93485ac3bed934789f3e522c08376407bc9fb | Pass name and email of author/committer as env variables too
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -129,6 +129,12 @@ def commitGitChanges(path, message, gitEmail='jenkins@localhost', gitName='jenki\n} else {\ngitOpts = ''\n}\n+ def gitEnv = [\n+ \"GIT_AUTHOR_NAME=${gi... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Pass name and email of author/committer as env variables too
Related-To: PRODX-5658
Change-Id: I4640ab439cff56bab8163e69af37ba2ea9df9172 |
422,445 | 16.06.2020 15:01:53 | -7,200 | 763334487fd17ecbc722691ce95d8425e9234628 | [fix][core] regex parsing for si ff
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -128,7 +128,7 @@ def checkCustomSIRefspec() {\n\"kaas-si-test-${siTestsRefspec.split('/')[-2]}:${siTestsRefspec.split('/')[-1]}\"\n}\nif (siFeatureFlagsMatch... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] regex parsing for si ff
us: PRODX-5418
Change-Id: I604d43b15f0ba507822f6421d387852862b8b66c |
422,445 | 16.06.2020 18:02:34 | -7,200 | a45750921cb5708c6967da6ae8e5f3c42e0606c4 | [fix][core] use global vars for getting job info
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -221,7 +221,7 @@ def triggerPatchedComponentDemo(component, patchSpec) {\njobs[\"kaas-core-openstack-patched-${component}\"] = {\ntry {\ncommon.infoMsg('Depl... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] use global vars for getting job info
us: PRODX-5418
Change-Id: I8d92a3f45912743e5c0d4349cf64fd78cc2bf42f |
422,445 | 16.06.2020 18:52:21 | -7,200 | 4aa112d436b7983143b52ecd40a1efcab9cd7713 | [refactor][core] change var names for job info
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -221,13 +221,13 @@ def triggerPatchedComponentDemo(component, patchSpec) {\njobs[\"kaas-core-openstack-patched-${component}\"] = {\ntry {\ncommon.infoMsg('De... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [refactor][core] change var names for job info
us: PRODX-5418
Change-Id: I11d384d81f8be1606a5b3dc0d38311c88e2a020a |
422,495 | 17.06.2020 00:54:07 | -14,400 | 8d1aec13f00f24362de4d33e08abcfdfaa86ce3b | Use gerritPort variable insted of hardcode and default
Related_PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -173,21 +173,22 @@ def gerritPatchsetCheckout(gerritUrl, gerritRef, gerritBranch, credentialsId, pa\n* Return gerrit change object from gerrit API\n* @param gerrit... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Use gerritPort variable insted of hardcode and default
Related_PROD: PRODX-5675
Change-Id: Id5cea54a8056bc7c90ea7c9cd703950c19203649 |
422,445 | 17.06.2020 15:33:43 | -7,200 | d044e84cdcddd369d733eb23d600c6eccae5d64f | [refactor][core] try catch for parallel core demo
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -223,13 +223,14 @@ def triggerPatchedComponentDemo(component, patchSpec) {\ncommon.infoMsg('Deploy: patched KaaS demo with Openstack provider')\nos_job_info ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [refactor][core] try catch for parallel core demo
us: PRODX-5481
Change-Id: Id4f142a9a05506d25eb77de35c70511d4dd3de02 |
422,445 | 17.06.2020 17:35:43 | -7,200 | 6d741fac31b91e439544efc59ef6f4472a9da251 | [fix][core] remove var definitions from finally block
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -230,7 +230,7 @@ def triggerPatchedComponentDemo(component, patchSpec) {\ncurrentBuild.description += build_description\n}\n} finally {\n- common.infoMsg(\"P... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] remove var definitions from finally block
us: PRODX-5418
Change-Id: I75174752126ddfff1f8297b77c824f319bb7c41c |
422,458 | 19.06.2020 15:19:05 | -10,800 | d987eb697e394592a88e0ce0957436ea8661449b | Add readYaml2 common func | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -1121,3 +1121,24 @@ def isSemVer(version){\nString semVerRegex = /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add readYaml2 common func
PRODX-5427
Change-Id: Ib73db41ec92e2db354f722556b0c52c671bf251f |
422,458 | 22.06.2020 14:50:33 | -10,800 | 255cadd675fd36bb85ea7717b5d3be584b61a473 | Fix typo in readYaml2 | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -1138,6 +1138,7 @@ def readYaml2(LinkedHashMap kwargs) {\nif (data instanceof String) {\nreturn readYaml(text: data)\n}\n+ return data\n} else if (kwargs.get('text... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix typo in readYaml2
PRODX-5427
Change-Id: I4042c3f0e20ec1411df5294d45bd05f3a64caf70 |
422,457 | 07.07.2020 16:29:39 | -10,800 | e2ccc1aee38e21deea5dc5a7b91e65638a383ef0 | Switch to artifact-metadata-app docker image
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -40,7 +40,7 @@ def checkoutReleaseMetadataRepo(Map params = [:]) {\n*\n* @param key metadata key\n* @param params map with expected parameters:\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Switch to artifact-metadata-app docker image
Related-Prod: PRODX-6008
Change-Id: I4901e6da18e572c06290f185680cf288f06b3a2d |
422,445 | 09.07.2020 13:15:41 | -7,200 | 30a516cc9e7d8a9b4e7fc5138fd0fbc66dc586f3 | [feat][core] parse config file from component repo
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -143,6 +143,36 @@ def checkCustomSIRefspec() {\nreturn [siTests: siTestsRefspec, siFeatureFlags: siTestsFeatureFlags, siPipelines: siPipelinesRefspec, siTest... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] parse config file from component repo
us: PRODX-6088
Change-Id: I5c66a7c76606ca1a30ad4645797b61c0682481aa |
422,445 | 09.07.2020 18:31:10 | -7,200 | 418042b3555d820e374c7285bf14ded200812fd5 | [refactor][core] parse config file for component job triggering
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -113,13 +113,11 @@ def checkCustomSIRefspec() {\n// Available triggers and its sane defaults\ndef siTestsRefspec = env.SI_TESTS_REFSPEC ?: 'master'\n- def si... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [refactor][core] parse config file for component job triggering
us: PRODX-6088
Change-Id: I63b279f47e1d5dc285343b733239926cd0a8dcb6 |
422,445 | 14.07.2020 15:28:36 | -7,200 | cb5ffca855cd99fd6a5ef2b842f5af5fbb3a7ad9 | [fix][core] remove si ff duplicates during ff merge
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -157,8 +157,8 @@ def parseKaaSComponentCIParameters(configurationFile){\ndef ffMeta = ciSpec['siTestsFeatureFlags'].tokenize(',').collect { it.trim() }\nffMe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] remove si ff duplicates during ff merge
us: PRODX-6088
Change-Id: I2a7fa5eea5409fcef0ab095313fa81c7ad6bb03f |
422,445 | 29.07.2020 13:05:14 | -7,200 | 080d94173f0dc9d8e8a09b8898da17bd21583d7d | [fix][core] set proper names for jj parameters for core-demo
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -246,12 +246,12 @@ def triggerPatchedComponentDemo(component, patchSpec, configurationFile = '.ci-p\nstring(name: 'SI_TESTS_FEATURE_FLAGS', value: componentF... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] set proper names for jj parameters for core-demo
us: PRODX-4983
Change-Id: I54cad97d0f577920e09b207ab70eec38dc46f8f8 |
422,445 | 29.07.2020 13:33:38 | -7,200 | 5a523ef58eeb3b0e6c6b5d33eef4464cf93b4b14 | [docs][core] update guilde links
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -9,7 +9,7 @@ package com.mirantis.mk\n/**\n* Determine scope of test suite against per-commit KaaS deployment based on keywords\n- * Keyword list: https://ge... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [docs][core] update guilde links
us: PRODX-4983
Change-Id: Ic4adca34cce448979d8ba3028248b5cfd75f3bc0 |
422,445 | 29.07.2020 16:43:49 | -7,200 | 59281950f452655f91ccb0684e30407d278d2c52 | [feat][core] manage sync binaries to public-ci during cross-component core-demo scenarios
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -272,6 +272,16 @@ def triggerPatchedComponentDemo(component, patchSpec, configurationFile = '.ci-p\n}\n}\nif (triggers.awsOnDemandDemoEnabled) {\n+ common.in... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] manage sync binaries to public-ci during cross-component core-demo scenarios
us: https://mirantis.jira.com/browse/PRODX-6444
Change-Id: I7295d02b02785311ae140fb6bc80c2ff2712798a |
422,445 | 29.07.2020 17:07:38 | -7,200 | c17dd5565cf680893f616eaca92be1fd90cf7f2b | [docs][core] update guide links
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -234,7 +234,9 @@ def triggerPatchedComponentDemo(component, patchSpec, configurationFile = '.ci-p\ncomponentFeatureFlags = ciSpec['siTestsFeatureFlags']\n} e... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [docs][core] update guide links
us: PRODX-5426
Change-Id: I792b212b90f5e09104f1a21bee30db78583f91d1 |
422,445 | 12.08.2020 16:30:20 | -7,200 | e53458121e1fd61c1ad09b862d5ed25e8e9120f4 | [feat][core] ff management for kaas core ci
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -6,6 +6,29 @@ package com.mirantis.mk\n*\n*/\n+/**\n+ * Check KaaS Core CICD feature flags\n+ * such triggers can be used in case of switching between pipeli... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] ff management for kaas core ci
us: PRODX-6545
Change-Id: Ia0f4878547c8ef8f7b329258f9fefac9c1565132 |
422,445 | 12.08.2020 17:20:12 | -7,200 | 90caa88f32d007a715e937435e5a5ed3df8bcbe1 | [feat][jenkins] manage not_built job status in dependency checker
to allow skipping deps if its in not_built status
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"new_path": "src/com/mirantis/mk/JenkinsUtils.groovy",
"diff": "@@ -236,26 +236,32 @@ def waitForOtherBuilds(LinkedHashMap config){\n* Check dependency jobs passed successfully\n* @param block (bool) Block child jobs i... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][jenkins] manage not_built job status in dependency checker
to allow skipping deps if its in not_built status
us: PRODX-6545
Change-Id: I7b3e960ad5ff7bd581aac532ef77e0abfaad8e1a |
422,445 | 31.08.2020 14:45:16 | -7,200 | 4eb1da385a8610b722a8f8de4aa7fb22a0fa385e | [feat][core] disable os-demo on demand
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -55,7 +55,10 @@ def checkDeploymentTestSuite() {\ndef runMgmtConformance = env.RUN_MGMT_CFM ? env.RUN_MGMT_CFM.toBoolean() : false\ndef runChildConformance =... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] disable os-demo on demand
us: https://mirantis.jira.com/browse/PRODX-6963
Change-Id: Id79a37296ffdbfa3d0d1c593f9c37254ab77cf53 |
422,458 | 04.09.2020 17:24:12 | -10,800 | 1761bdce52159c0863db213f4cc6df5f30ff1493 | [feat][core] disable bm-demo on demand
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -59,6 +59,7 @@ def checkDeploymentTestSuite() {\n// optional demo deployment customization\ndef awsOnDemandDemo = env.ALLOW_AWS_ON_DEMAND ? env.ALLOW_AWS_ON_... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] disable bm-demo on demand
Change-Id: I8af9c36a5f5e83ef2c1376dc497d2d377b926831
us: https://mirantis.jira.com/browse/PRODX-6963 |
422,445 | 07.09.2020 18:09:24 | -7,200 | 765f3bd8a89fb85e45679becaf9758eb0c8eedd1 | [feat][core] multiregional demo keyword trigger
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -55,6 +55,12 @@ def checkDeploymentTestSuite() {\ndef runMgmtConformance = env.RUN_MGMT_CFM ? env.RUN_MGMT_CFM.toBoolean() : false\ndef runChildConformance =... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] multiregional demo keyword trigger
us: PRODX-6926
Change-Id: Ia62c861910fd6323ec807bc8111dfd7bb9fbb930 |
422,445 | 11.09.2020 14:43:39 | -7,200 | 38ed7bf8ec7950dbbde54ed774752e0e462ecf0f | [fix][core] multiregion trigger conditional rules | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -175,7 +175,7 @@ def multiregionWorkflowParser(keyword) {\ndef supportedRegionalProviders = ['os']\ndef clusterTypes = ''\n- if (keyword.contains('multiregio... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] multiregion trigger conditional rules
PRODX-6926
Change-Id: I5d751e285b5a2fc8ddfd15d683d3c782a714eb35 |
422,445 | 11.09.2020 14:46:48 | -7,200 | 8c0c39d9217c1801bf13cd5d932f80d8d9aa5b5c | [fix][core] common class adding | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -171,6 +171,7 @@ def checkDeploymentTestSuite() {\n* ]\n*/\ndef multiregionWorkflowParser(keyword) {\n+ def common = new com.mirantis.mk.Common()\ndef suppor... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] common class adding
PRODX-6926
Change-Id: Ia48211fadd3f0371fc7f676475e731c90d7d6537 |
422,445 | 11.09.2020 14:49:50 | -7,200 | 41be0612c669321396082c59b5e809fbd5bc6f7d | [fix][core] disable multiregion checks until proper fix | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -56,11 +56,13 @@ def checkDeploymentTestSuite() {\ndef runChildConformance = env.RUN_CHILD_CFM ? env.RUN_CHILD_CFM.toBoolean() : false\ndef fetchServiceBinar... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] disable multiregion checks until proper fix
PRODX-6926
Change-Id: I36c6d81dea191c4c50e50e2805a026c38ddb3eba |
422,445 | 11.09.2020 15:19:19 | -7,200 | f793fe3700c5a1edd1d53da0fa98a4a04240bfe6 | [feat][core] multiregion keyword triggers trim spaces | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -56,13 +56,11 @@ def checkDeploymentTestSuite() {\ndef runChildConformance = env.RUN_CHILD_CFM ? env.RUN_CHILD_CFM.toBoolean() : false\ndef fetchServiceBinar... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] multiregion keyword triggers trim spaces
PRODX-6926
Change-Id: I1f127e4daa947f025ede8bb89ea8feb9d594880b |
422,445 | 11.09.2020 17:05:34 | -7,200 | 3e4b5a3bea7f3223346ae7642048868402eabb12 | [feat][core] resolve conditionals between OSt demo and multiregional | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -125,10 +125,12 @@ def checkDeploymentTestSuite() {\ncase 'aws':\nawsOnDemandDemo = true\ncommon.warningMsg('Forced running additional kaas deployment with A... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] resolve conditionals between OSt demo and multiregional
PRODX-6926
Change-Id: I7262609e9fc75f1d3f3a5e159349d124d89f424a |
422,554 | 16.09.2020 15:38:56 | -14,400 | 427435f38f2c1f312e5d131cb07e949252e337cb | Add optional changeId parameter to com.mirantis.mk.Git.updateChangeRequest function
Related-PROD: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Git.groovy",
"new_path": "src/com/mirantis/mk/Git.groovy",
"diff": "@@ -529,7 +529,7 @@ def updateChangeRequest(Map params) {\ndef changeParams = ['owner': auth['USER'], 'status': status, 'project': project, 'branch': branch, 'topic': topic... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add optional changeId parameter to com.mirantis.mk.Git.updateChangeRequest function
Change-Id: I5da5b77080d30d8504364dde7ce054efffe5d489
Related-PROD: PRODX-3125 |
422,445 | 13.07.2020 18:36:21 | -7,200 | 92288d982fc650958c6acae665ced773f2cdbeaf | [feat][core] manage cloud creds for kaas executor
used by component teams through kaas core demo-executor
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -317,6 +317,27 @@ def checkCustomCoreRefspec() {\n}\n+/**\n+ * generate Jenkins Parameter objects from from text parameter with additonal kaas core context\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] manage cloud creds for kaas executor
used by component teams through kaas core demo-executor
us: PRODX-6129
Change-Id: I27487309af42e96d1771aa3f01fe186112467e66 |
422,445 | 14.07.2020 12:29:22 | -7,200 | 2db15e2b12265fd0674f3510f6cc46f8dbfe05c0 | [feat][core] manage si tests docker image for demo executor
used for by component teams
us: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -224,7 +224,8 @@ def checkCustomSIRefspec() {\n// Available triggers and its sane defaults\ndef siTestsRefspec = env.SI_TESTS_REFSPEC ?: 'master'\ndef siPipe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] manage si tests docker image for demo executor
used for by component teams
us: PRODX-6129
Change-Id: I13337b268707eca5ce5a299140570dbacad1a2e9 |
422,457 | 23.09.2020 13:05:59 | -10,800 | bd57deef494b48de2050489f5d484d9f61946405 | Add withTempDir function
Sometimes it is required to execute a block of code inside
a temporaty directory that will be removed afterwards.
This commit adds withTempDir function that does exactly this.
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -1143,3 +1143,25 @@ def readYaml2(LinkedHashMap kwargs) {\nreturn readYaml(text: kwargs['text'])\n}\n}\n+\n+/**\n+ * withTempDir runs a block of code inside a new ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add withTempDir function
Sometimes it is required to execute a block of code inside
a temporaty directory that will be removed afterwards.
This commit adds withTempDir function that does exactly this.
Related-Prod: PRODX-5657
Change-Id: I79d3ac92f6a03bb32c10cb81e5c304e119c88414 |
422,445 | 01.10.2020 17:36:51 | -7,200 | bef51a9400588a30e7c27e9ac97b58c42da290ce | [fix][core] triggerPatchedComponentDemo additonal params forwarding | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -400,7 +400,7 @@ def triggerPatchedComponentDemo(component, patchSpec = '', configurationFile = '\nif (coreContext != '') {\ncommon.infoMsg('Additional KaaS ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] triggerPatchedComponentDemo additonal params forwarding
PRODX-6128
Change-Id: I334ecfa7ed48c0989e6ca3ea562b9c157e323e3f |
422,467 | 12.10.2020 13:34:25 | -14,400 | 0f6c2710fa6e4598abfb0a2dd70db0281539dbd3 | Fix for restart fails in the installFoundationInfraOnTarget function
If staticMgmtNet is true, then restarting the salt-minion service
fails because of missed dependency packages. But if we install all
repositories before checking this flag, it will resolve the issue.
Closes-Bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -83,6 +83,8 @@ def installFoundationInfraOnTarget(master, target, staticMgmtNet=false, extra_tg\nsalt.enforceState([saltId: master, target: \"I@salt:mast... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Fix for restart fails in the installFoundationInfraOnTarget function
If staticMgmtNet is true, then restarting the salt-minion service
fails because of missed dependency packages. But if we install all
repositories before checking this flag, it will resolve the issue.
Closes-Bug: PROD-34400
Change-Id: I023b9f6ab7acd8... |
422,459 | 09.10.2020 13:07:05 | -14,400 | 07e1de193cbd0471f2478360efc11966f9a148ad | Add trigger for AWS demo on RHEL | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -64,6 +64,7 @@ def checkDeploymentTestSuite() {\n// optional demo deployment customization\ndef awsOnDemandDemo = env.ALLOW_AWS_ON_DEMAND ? env.ALLOW_AWS_ON_... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add trigger for AWS demo on RHEL
PRODX-7387
Change-Id: I3128da131a315c682e763d44ec884268836255a3 |
422,492 | 15.10.2020 17:53:34 | -10,800 | d6254436f1806e48a831c523b18759c9470fc7df | Add Lock class to create/delete lock file on artifactory
Related-To: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/com/mirantis/mk/Lock.groovy",
"diff": "+import org.jfrog.hudson.pipeline.common.types.ArtifactoryServer\n+import java.util.concurrent.TimeoutException\n+\n+class Lock {\n+ String name, id, path\n+ Integer retryInterval, timeout, expiration\n... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add Lock class to create/delete lock file on artifactory
Related-To: PRODX-7033
Change-Id: Idccd6492b7e4a3d4a08a35d00c42d0b02bf7c18a |
422,492 | 20.10.2020 13:00:11 | -10,800 | 7aca6e79a47c8d7f02c5e7b0faac5024604bb426 | [Lock] Reset lock file content cache in waiting function
Without the reset it cannot be determined that file has been removed on
artifactory in middle of waiting.
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Lock.groovy",
"new_path": "src/com/mirantis/mk/Lock.groovy",
"diff": "@@ -111,6 +111,10 @@ class Lock {\nthrow new TimeoutException(\"Execution of waitLock timed out after ${this.timeout} seconds\")\n}\ncommon.infoMsg(\"'${this.name}' is lo... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [Lock] Reset lock file content cache in waiting function
Without the reset it cannot be determined that file has been removed on
artifactory in middle of waiting.
Related-To: PRODX-8287
Change-Id: If8f0dde642cfe738b4f6804290de5b10ca61b7c0 |
422,457 | 19.10.2020 20:03:21 | -10,800 | 70ef70023aa7b092be90afd0d608c635a54524d9 | Update gitCheckout parameters
* set branch default to FETCH_HEAD
* add optinal checkout depth
* add optional operation timeout
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mcp/Git.groovy",
"new_path": "src/com/mirantis/mcp/Git.groovy",
"diff": "@@ -79,6 +79,9 @@ def gitCheckout(LinkedHashMap config) {\ndef credentialsId = config.get('credentialsId', '')\ndef protocol = config.get('protocol', 'ssh')\ndef refspec ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Update gitCheckout parameters
* set branch default to FETCH_HEAD
* add optinal checkout depth
* add optional operation timeout
Related-Prod: PRODX-8292
Change-Id: I78daf1f0f186faab023ec661addbc1433d194bcb |
422,556 | 12.10.2020 22:27:12 | -14,400 | 24b9c5d34c5703079bd4121bb5b9b19eeb793b1a | Add [vsphere-demo] on demand trigger | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -65,6 +65,7 @@ def checkDeploymentTestSuite() {\n// optional demo deployment customization\ndef awsOnDemandDemo = env.ALLOW_AWS_ON_DEMAND ? env.ALLOW_AWS_ON_... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add [vsphere-demo] on demand trigger
PRODX-7420
Change-Id: I4bd5b5f3310c79c07e9f03c3f0ea7628c3edeca9 |
422,467 | 23.10.2020 14:49:12 | -14,400 | 80dcc1194daa879483fa33100abaa126fad75b4f | Missed batch definition
Small fix for missed variable
Related-Bug: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Orchestrate.groovy",
"new_path": "src/com/mirantis/mk/Orchestrate.groovy",
"diff": "@@ -76,7 +76,7 @@ def installFoundationInfra(master, staticMgmtNet=false, extra_tgt = '', batch=20\nsalt.enforceStateWithTest([saltId: master, target: \"I@o... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Missed batch definition
Small fix for missed variable
Related-Bug: PROD-34400
Change-Id: I1182b662a475dd4f39db75f36fed5d443b5339f3 |
422,492 | 29.10.2020 18:28:40 | -10,800 | 463efebd79ab41fd2f5df735b5e63477494f9487 | [Lock] Distinguish FileNotFound error from all other
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Lock.groovy",
"new_path": "src/com/mirantis/mk/Lock.groovy",
"diff": "@@ -10,6 +10,7 @@ class Lock {\nprivate String lockFileContent\nprivate String lockFileContentCache\n+ private Boolean fileNotFound\nfinal private String fileUri\n@@ -53,... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [Lock] Distinguish FileNotFound error from all other
Related-To: PRODX-8457
Change-Id: I9697dedcd56559619e78e9385af15d888f1a826c |
422,445 | 30.10.2020 17:59:27 | -3,600 | 482fb50a74a7897dcdfecafc516cdb46b06e93d9 | [feat][core] verbosity for m/r trigger check | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -207,7 +207,7 @@ def multiregionWorkflowParser(keyword) {\n}\nif (clusterTypes.size() != 2) {\n- error('Incorrect regions definiton, valid scheme: [miltiregi... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] verbosity for m/r trigger check
PRODX-8635
Change-Id: I52e0e5d7cad071f8e0ba24bf9891a942c04e30af |
422,445 | 05.11.2020 12:38:53 | -3,600 | 6ec7430583b17e15465897f50f13f7bb2158951d | [fix][core] allow on-demand vsphere demo run
allows trigger nighlty job from UI by hand
allows triggering vsphere demo from external repos | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -65,7 +65,7 @@ def checkDeploymentTestSuite() {\n// optional demo deployment customization\ndef awsOnDemandDemo = env.ALLOW_AWS_ON_DEMAND ? env.ALLOW_AWS_ON_... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [fix][core] allow on-demand vsphere demo run
- allows trigger nighlty job from UI by hand
- allows triggering vsphere demo from external repos
PRODX-8681
Change-Id: I70ce47b3666eb129424cac3f5259351edec4cbe0 |
422,535 | 05.11.2020 16:51:23 | -3,600 | e55c718a58dc33a43fa1929da375c4d621221e83 | Replace 12 spaces with newline in commit description
To avoid unexpected indentation like in:
```
Update Helm charts of prometheus
Build-Url:
Related-To:
``` | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"new_path": "src/com/mirantis/mk/ReleaseWorkflow.groovy",
"diff": "@@ -181,8 +181,7 @@ def updateReleaseMetadata(String key, String value, Map params, Integer dirdepth\ncommitMessage =\n\"\"\"${comment}\n- |${Change... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Replace 12 spaces with newline in commit description
To avoid unexpected indentation like in:
```
Update Helm charts of prometheus
Build-Url: https://ci.mcp.mirantis.net/job/helm-publish-metadata-prometheus/80/
Related-To: PRODX-8030
Change-Id: I2e9a3899c195ed2f5d4543adc08f7650a10e0953
```
Change-Id: I... |
422,445 | 13.11.2020 13:30:48 | -3,600 | 0dc99255593b39f16e619aa9fed836463b5c2309 | [feat][core] byo attach trigger for core demos | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -50,6 +50,7 @@ def checkDeploymentTestSuite() {\n// Available triggers and its sane defaults\ndef deployChild = env.DEPLOY_CHILD_CLUSTER ? env.DEPLOY_CHILD_C... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] byo attach trigger for core demos
PRODX-8842
Change-Id: I697d134b5413663e5d4849b667d5e2c7fe61fbbf |
422,445 | 01.12.2020 16:51:09 | -3,600 | cdbd84e3f33200ce286caa4ad6bd868ca159176b | [feat][core] parse keyword for byo upgrade scenario | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -51,6 +51,7 @@ def checkDeploymentTestSuite() {\ndef deployChild = env.DEPLOY_CHILD_CLUSTER ? env.DEPLOY_CHILD_CLUSTER.toBoolean() : false\ndef upgradeChild ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] parse keyword for byo upgrade scenario
PRODX-9055
Change-Id: Ib250cfdde80cb2004d35acabe2f00faab4e3c556 |
422,445 | 04.12.2020 20:22:53 | -3,600 | 44c64b7210b2ccf4922ca5b6d38adf7ac28fb964 | [feat][core] new trigger for macos seed scenario | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -48,6 +48,7 @@ def checkDeploymentTestSuite() {\ndef common = new com.mirantis.mk.Common()\n// Available triggers and its sane defaults\n+ def seedMacOs = en... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] new trigger for macos seed scenario
PRODX-9686
Change-Id: I8f410cb6e9c5a4866890377be4bf751d249bb4a8 |
422,471 | 16.12.2020 15:43:12 | -14,400 | a451c6b4596b7b03c44c228856be29d5cac623b2 | Bump Ruby to stable 2.6.6 version
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ruby.groovy",
"new_path": "src/com/mirantis/mk/Ruby.groovy",
"diff": "@@ -6,9 +6,9 @@ package com.mirantis.mk\n/**\n* Ensures Ruby environment with given version (install it if necessary)\n- * @param rubyVersion target ruby version (optiona... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Bump Ruby to stable 2.6.6 version
Change-Id: I3efc30d5c395eb821b16e91dbdffd1847088be07
Related-Prod: PROD-36020 |
422,492 | 16.12.2020 14:52:57 | -10,800 | 5d22b2d9783c31e1e858a15eef65fd7310de9df1 | Option to pass extra flags gerrit command in findGerritChange()
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Gerrit.groovy",
"new_path": "src/com/mirantis/mk/Gerrit.groovy",
"diff": "@@ -320,11 +320,13 @@ LinkedHashMap getDependentPatches(LinkedHashMap changeInfo) {\n* HOST, PORT and USER\n* @param changeParams Parameters to identify Geriit change... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Option to pass extra flags gerrit command in findGerritChange()
Related-To: PRODX-10059
Change-Id: I1b1329ab9829007ca23dc09472f9f036bda88184 |
422,492 | 16.12.2020 15:58:24 | -10,800 | 2b668e56b505f8a93ea5ca5813302a0c72839510 | Add getDuration() function
Related-To: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Common.groovy",
"new_path": "src/com/mirantis/mk/Common.groovy",
"diff": "@@ -3,6 +3,8 @@ package com.mirantis.mk\nimport static groovy.json.JsonOutput.prettyPrint\nimport static groovy.json.JsonOutput.toJson\n+import groovy.time.TimeCatego... | Groovy | Apache License 2.0 | mirantis/pipeline-library | Add getDuration() function
Related-To: PRODX-10059
Change-Id: Ic5ac382e11e22a7ecb72192f8f040ab7c0fdca49 |
422,536 | 25.12.2020 15:44:13 | -14,400 | df247c3eb9404f62ff68a20410069c069501c0b8 | [feat][core] new trigger for equinix demo scenario
Task: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -69,6 +69,7 @@ def checkDeploymentTestSuite() {\ndef awsOnDemandDemo = env.ALLOW_AWS_ON_DEMAND ? env.ALLOW_AWS_ON_DEMAND.toBoolean() : false\ndef awsOnRhelDe... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] new trigger for equinix demo scenario
Task: PRODX-9555
Change-Id: I493cb4a40cb28b2be85e12e0b232cfa39420d2c1 |
422,445 | 30.12.2020 17:05:40 | -3,600 | 74e2d6ee2c9267e72e5a93b57d3846aa3ab044cb | [feat][core] calculate demo weight according to trigger set | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -173,6 +173,9 @@ def checkDeploymentTestSuite() {\nbreak\n}\n+ // calculate weight of current demo run to manage lockable resources\n+ def demoWeight = (depl... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] calculate demo weight according to trigger set
PRODX-10268
Change-Id: Iccc7a72e9ee14a4df235755ab863e87219773223 |
422,492 | 02.01.2021 14:09:56 | -10,800 | f47034a68284178dab317b7391cc0e8e39691509 | [HTTP] Add java.lang.NullPointerException to catch while parsing json
Probably after updating jenkins/groovy that JsonSlurperClassic() also
fixed/changed something and now when it tries to parse output like
'127.0.0.1' or event just a single number it throws
java.lang.NullPointerException exception and it breaks flow o... | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Http.groovy",
"new_path": "src/com/mirantis/mk/Http.groovy",
"diff": "@@ -55,7 +55,10 @@ def sendHttpRequest(url, method = 'GET', data = null, headers = [:], read_timeou\nresponse = connection.inputStream.text\ntry {\nresponse_content = new... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [HTTP] Add java.lang.NullPointerException to catch while parsing json
Probably after updating jenkins/groovy that JsonSlurperClassic() also
fixed/changed something and now when it tries to parse output like
'127.0.0.1' or event just a single number it throws
java.lang.NullPointerException exception and it breaks flow ... |
422,445 | 07.01.2021 15:08:27 | -3,600 | 53b07e5e376cbb8f32107303002a51b0b1d85b9e | [feat][core] deny seed macos in case of private cloud regional provider | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/KaasUtils.groovy",
"new_path": "src/com/mirantis/mk/KaasUtils.groovy",
"diff": "@@ -159,12 +159,16 @@ def checkDeploymentTestSuite() {\n}\nswitch (multiregionalMappings['managementLocation']) {\ncase 'aws':\n+ common.warningMsg('Forced runn... | Groovy | Apache License 2.0 | mirantis/pipeline-library | [feat][core] deny seed macos in case of private cloud regional provider
PRODX-9779
Change-Id: If49498b323dbd5362e1b90858358b4e4ac3982e4 |
422,483 | 30.04.2020 15:14:39 | -7,200 | b8dc1a1bc4c9edaa765a38b997063c374322e357 | move function to ceph class
Related-Prod: | [
{
"change_type": "MODIFY",
"old_path": "src/com/mirantis/mk/Ceph.groovy",
"new_path": "src/com/mirantis/mk/Ceph.groovy",
"diff": "package com.mirantis.mk\n/**\n+ * Install and configure ceph clients\n*\n- * Ceph functions\n+ * @param master Salt connection object\n+ * @param extra_tgt Extra targets ... | Groovy | Apache License 2.0 | mirantis/pipeline-library | move function to ceph class
Change-Id: I793ecc26e9934ae09e0cd05cffd8cef496ca786a
Related-Prod: PROD-35582 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.