Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the tag creation workflow with bundle manifest groovy library #2296

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
createReleaseTag.legacySCM(groovy.lang.Closure)
createReleaseTag.library({identifier=jenkins@20211123, retriever=null})
createReleaseTag.readYaml({file=tests/jenkins/data/opensearch-dashboards-bundle-2.0.0-rc1.yml})
BuildManifest.asBoolean()
BuildManifest.getNames()
BundleManifest.asBoolean()
BundleManifest.getNames()
createReleaseTag.echo(Creating 2.0.0-rc1 release tag for 11 components in the manifest)
createReleaseTag.usernamePassword({credentialsId=dummy_token_name, usernameVariable=GITHUB_USER, passwordVariable=GITHUB_TOKEN})
createReleaseTag.withCredentials([[GITHUB_USER, GITHUB_TOKEN]], groovy.lang.Closure)
BuildManifest.getCommitId(ganttChartDashboards)
BuildManifest.getRepo(ganttChartDashboards)
BundleManifest.getCommitId(ganttChartDashboards)
BundleManifest.getRepo(ganttChartDashboards)
createReleaseTag.echo(Tagging ganttChartDashboards at 69c54344eebb48d56deca823732954c27a10211c ...)
createReleaseTag.dir(ganttChartDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=69c54344eebb48d56deca823732954c27a10211c}], userRemoteConfigs=[{url=https://github.com/opensearch-project/dashboards-visualizations.git}]})
createReleaseTag.sh({script=git ls-remote --tags https://github.com/opensearch-project/dashboards-visualizations.git 2.0.0.0-rc1 | awk 'NR==1{print $1}', returnStdout=true})
createReleaseTag.echo(Tag 2.0.0.0-rc1 has been created with identical commit ID. Skipping creating new tag for ganttChartDashboards.)
BuildManifest.getCommitId(indexManagementDashboards)
BuildManifest.getRepo(indexManagementDashboards)
BundleManifest.getCommitId(indexManagementDashboards)
BundleManifest.getRepo(indexManagementDashboards)
createReleaseTag.echo(Tagging indexManagementDashboards at a39d9d307e9fbbaf6f23aefe794aa23022a68fa0 ...)
createReleaseTag.dir(indexManagementDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=a39d9d307e9fbbaf6f23aefe794aa23022a68fa0}], userRemoteConfigs=[{url=https://github.com/opensearch-project/index-management-dashboards-plugin.git}]})
Expand All @@ -34,8 +34,8 @@
createReleaseTag.sh(git tag 2.0.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/index-management-dashboards-plugin.git 2.0.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/index-management-dashboards-plugin.git 2.0.0.0-rc1)
BuildManifest.getCommitId(anomalyDetectionDashboards)
BuildManifest.getRepo(anomalyDetectionDashboards)
BundleManifest.getCommitId(anomalyDetectionDashboards)
BundleManifest.getRepo(anomalyDetectionDashboards)
createReleaseTag.echo(Tagging anomalyDetectionDashboards at 3324c01f66ec9919cc6d69420c37f5687312f9c4 ...)
createReleaseTag.dir(anomalyDetectionDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=3324c01f66ec9919cc6d69420c37f5687312f9c4}], userRemoteConfigs=[{url=https://github.com/opensearch-project/anomaly-detection-dashboards-plugin}]})
Expand All @@ -44,8 +44,8 @@
createReleaseTag.sh(git tag 2.0.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/anomaly-detection-dashboards-plugin 2.0.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/anomaly-detection-dashboards-plugin 2.0.0.0-rc1)
BuildManifest.getCommitId(OpenSearch-Dashboards)
BuildManifest.getRepo(OpenSearch-Dashboards)
BundleManifest.getCommitId(OpenSearch-Dashboards)
BundleManifest.getRepo(OpenSearch-Dashboards)
createReleaseTag.echo(Tagging OpenSearch-Dashboards at 23ee797c0542271a36746e0beea33833cd7396ba ...)
createReleaseTag.dir(OpenSearch-Dashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=23ee797c0542271a36746e0beea33833cd7396ba}], userRemoteConfigs=[{url=https://github.com/opensearch-project/OpenSearch-Dashboards.git}]})
Expand All @@ -54,8 +54,8 @@
createReleaseTag.sh(git tag 2.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/OpenSearch-Dashboards.git 2.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/OpenSearch-Dashboards.git 2.0.0-rc1)
BuildManifest.getCommitId(notificationsDashboards)
BuildManifest.getRepo(notificationsDashboards)
BundleManifest.getCommitId(notificationsDashboards)
BundleManifest.getRepo(notificationsDashboards)
createReleaseTag.echo(Tagging notificationsDashboards at eb3af31759668a94727950d081e8a3a161f22918 ...)
createReleaseTag.dir(notificationsDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=eb3af31759668a94727950d081e8a3a161f22918}], userRemoteConfigs=[{url=https://github.com/opensearch-project/notifications.git}]})
Expand All @@ -64,8 +64,8 @@
createReleaseTag.sh(git tag 2.0.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/notifications.git 2.0.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/notifications.git 2.0.0.0-rc1)
BuildManifest.getCommitId(securityDashboards)
BuildManifest.getRepo(securityDashboards)
BundleManifest.getCommitId(securityDashboards)
BundleManifest.getRepo(securityDashboards)
createReleaseTag.echo(Tagging securityDashboards at 7420eb2b5115ad29c40a49de9b5acb42dd26bdc7 ...)
createReleaseTag.dir(securityDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=7420eb2b5115ad29c40a49de9b5acb42dd26bdc7}], userRemoteConfigs=[{url=https://github.com/opensearch-project/security-dashboards-plugin.git}]})
Expand All @@ -74,8 +74,8 @@
createReleaseTag.sh(git tag 2.0.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/security-dashboards-plugin.git 2.0.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/security-dashboards-plugin.git 2.0.0.0-rc1)
BuildManifest.getCommitId(functionalTestDashboards)
BuildManifest.getRepo(functionalTestDashboards)
BundleManifest.getCommitId(functionalTestDashboards)
BundleManifest.getRepo(functionalTestDashboards)
createReleaseTag.echo(Tagging functionalTestDashboards at ec2da5c44634f40dc97c3fdac4e85ff7139091b3 ...)
createReleaseTag.dir(functionalTestDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=ec2da5c44634f40dc97c3fdac4e85ff7139091b3}], userRemoteConfigs=[{url=https://github.com/opensearch-project/opensearch-dashboards-functional-test.git}]})
Expand All @@ -84,8 +84,8 @@
createReleaseTag.sh(git tag 2.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/opensearch-dashboards-functional-test.git 2.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/opensearch-dashboards-functional-test.git 2.0.0-rc1)
BuildManifest.getCommitId(alertingDashboards)
BuildManifest.getRepo(alertingDashboards)
BundleManifest.getCommitId(alertingDashboards)
BundleManifest.getRepo(alertingDashboards)
createReleaseTag.echo(Tagging alertingDashboards at de11dd89cbdd431f5073901a74907125f1133baf ...)
createReleaseTag.dir(alertingDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=de11dd89cbdd431f5073901a74907125f1133baf}], userRemoteConfigs=[{url=https://github.com/opensearch-project/alerting-dashboards-plugin.git}]})
Expand All @@ -94,8 +94,8 @@
createReleaseTag.sh(git tag 2.0.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/alerting-dashboards-plugin.git 2.0.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/alerting-dashboards-plugin.git 2.0.0.0-rc1)
BuildManifest.getCommitId(queryWorkbenchDashboards)
BuildManifest.getRepo(queryWorkbenchDashboards)
BundleManifest.getCommitId(queryWorkbenchDashboards)
BundleManifest.getRepo(queryWorkbenchDashboards)
createReleaseTag.echo(Tagging queryWorkbenchDashboards at eb65d2d956872cb13c7cca340fff679468b86074 ...)
createReleaseTag.dir(queryWorkbenchDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=eb65d2d956872cb13c7cca340fff679468b86074}], userRemoteConfigs=[{url=https://github.com/opensearch-project/sql.git}]})
Expand All @@ -104,8 +104,8 @@
createReleaseTag.sh(git tag 2.0.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/sql.git 2.0.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/sql.git 2.0.0.0-rc1)
BuildManifest.getCommitId(reportsDashboards)
BuildManifest.getRepo(reportsDashboards)
BundleManifest.getCommitId(reportsDashboards)
BundleManifest.getRepo(reportsDashboards)
createReleaseTag.echo(Tagging reportsDashboards at 478ea41b5d962bcf40964ffc7e3f1131f7e1fc34 ...)
createReleaseTag.dir(reportsDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=478ea41b5d962bcf40964ffc7e3f1131f7e1fc34}], userRemoteConfigs=[{url=https://github.com/opensearch-project/dashboards-reports.git}]})
Expand All @@ -114,8 +114,8 @@
createReleaseTag.sh(git tag 2.0.0.0-rc1)
createReleaseTag.sh({script=git push https://[email protected]/opensearch-project/dashboards-reports.git 2.0.0.0-rc1, returnStatus=true})
createReleaseTag.sh(git push https://[email protected]/opensearch-project/dashboards-reports.git 2.0.0.0-rc1)
BuildManifest.getCommitId(observabilityDashboards)
BuildManifest.getRepo(observabilityDashboards)
BundleManifest.getCommitId(observabilityDashboards)
BundleManifest.getRepo(observabilityDashboards)
createReleaseTag.echo(Tagging observabilityDashboards at 52ae188b9a38e96f1d666f51e56ed92998c1d745 ...)
createReleaseTag.dir(observabilityDashboards, groovy.lang.Closure)
createReleaseTag.checkout({$class=GitSCM, branches=[{name=52ae188b9a38e96f1d666f51e56ed92998c1d745}], userRemoteConfigs=[{url=https://github.com/opensearch-project/observability.git}]})
Expand Down
Loading