-
Notifications
You must be signed in to change notification settings - Fork 286
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
Clean-up step of migrating Jenkins shared libraries to opensearch-build-libraries repo #2679
Conversation
Signed-off-by: Jeff Lu <[email protected]>
Signed-off-by: Jeff Lu <[email protected]>
Signed-off-by: Jeff Lu <[email protected]>
Signed-off-by: Jeff Lu <[email protected]>
Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: Jeff Lu <[email protected]>
Signed-off-by: Jeff Lu <[email protected]>
Signed-off-by: Jeff Lu <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2679 +/- ##
==========================================
- Coverage 94.24% 94.10% -0.15%
==========================================
Files 162 156 -6
Lines 4313 4208 -105
Branches 19 0 -19
==========================================
- Hits 4065 3960 -105
Misses 248 248 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hey @jordarlu you can clean up some Jenkinsfiles in |
Thanks for the comment @prudhvigodithi ,, I am hesitating on which of those can be removed/shall be staying ... would it be possible letting me know? and I will run test at my local and then update in PR. Thanks!! |
Hey @jordarlu yes the files that test the libraries example |
Signed-off-by: Jeff Lu <[email protected]>
Thank you, @prudhvigodithi , let me remove that file as well |
I mean it has many like them :) |
right, right .. we can clean more few others at alter ... trying to get the Jacoco to be happy again sooner .. :) |
Many of the files under |
Thanks for the guidance, Sayali.. I compared /jobs/ between both repo, the build and build-lib, but found they are almost identical.
|
Yes I believe so. The /jobs contained all the jenkinsfile to call the libraries to be tested. Since the build-lib-repo has those I believe we can delete from here. Thanks! |
Thanks again, @gaiksaya , I will remove /jobs as well.. |
Signed-off-by: Jeff Lu <[email protected]>
LGTM, @peterzhuamazon @gaiksaya @zelinh can you please take a look? |
…ld-libraries repo (opensearch-project#2679) * update lib clean-up p1 Signed-off-by: Jeff Lu <[email protected]> * clean-up p2 Signed-off-by: Jeff Lu <[email protected]> * clean-up p3 Signed-off-by: Jeff Lu <[email protected]> * update parameters on TestRunNonSecurityPerfTestScript.groovy Signed-off-by: Jeff Lu <[email protected]> * Fix tests Signed-off-by: prudhvigodithi <[email protected]> * Fix tests Signed-off-by: prudhvigodithi <[email protected]> * update fix on TestReleaseTagJob Signed-off-by: Jeff Lu <[email protected]> * updating TestReleaseTagJob one more time Signed-off-by: Jeff Lu <[email protected]> * remove TestReleaseTagJob for now to unblock Jacoco error Signed-off-by: Jeff Lu <[email protected]> * remove AssembleUpload_Jenkinsfile Signed-off-by: Jeff Lu <[email protected]> * remove /jobs/ as it has been migrated to build-lib repo Signed-off-by: Jeff Lu <[email protected]> Signed-off-by: Jeff Lu <[email protected]> Signed-off-by: prudhvigodithi <[email protected]> Co-authored-by: prudhvigodithi <[email protected]> Signed-off-by: Monu Singh <[email protected]>
Description
This is one of the clean-up steps of moving Jenkins shared lib from opensearch-build to opensearch-build-libraries
#2646
Issues Resolved
In this PR:
Remove/Clean vars + adding lib session on a few of jobs that did not have it previously to prevent the 'lib@20211123 not found' issue from happening again.
Remove/Clean couple of test jobs that have been migrated to opensearch-build-libraries repo, here is the list:
(the following jobs had been moved to opensearch-build-libraries repo previously )
TestArchiveAssembleUpload.groovy
TestAssembleManifest.groovy
TestAssembleUpload.groovy
TestBuildArchive.groovy
TestBuildAssembleUpload.groovy
TestBuildDockerImage.groovy
TestBuildFailureMessage.groovy
TestBuildInfoYaml.groovy
TestBuildManifest.groovy
TestBuildUploadManifestSHA.groovy
TestBuildYumRepo.groovy
TestCopyContainer.groovy
TestCreateGithubIssue.groovy
TestCreateReleaseTag.groovy
TestCreateTestResultsMessage.groovy
TestDetectDockerImage.groovy
TestDetectTestDockerAgent.groovy
TestDownloadFromS3.groovy
TestGetManifestSHA.groovy
TestInputManifest.groovy
TestMessages.groovy
TestParallelMessages.groovy
TestPostCleanup.groovy
TestPrintArtifactDownloadUrlsForStaging.groovy
TestPromoteArtifacts.groovy
TestPromoteYumRepos.groovy
TestPublishNotification.groovy
TestRpmDashboardsDistValidation.groovy
TestRpmMetaValidation.groovy
TestRpmOpenSearchDistValidation.groovy
TestRunBwcTestScript.groovy
TestRunGradleCheck.groovy
TestRunIntegTestScript.groovy
TestRunPerfTestScript.groovy
TestScanDockerImage.groovy
TestSignArtifacts.groovy
TestUploadIndexFile.groovy
TestUploadMinSnapshotsToS3.groovy
TestUploadTestResults.groovy
TestUploadToS3.groovy
TestbuildManifestVar.groovy
(the following jobs are staying at opensearch-build repo)
TestCCRPerfTest.groovy
TestDataPrepperReleaseArtifacts.groovy
TestMavenSignReleaseJob.groovy
TestOpenSearchBwcTest.groovy
TestOpenSearchDashboardsBwcTest.groovy
TestOpenSearchDashboardsIntegTest.groovy
TestOpenSearchIntegTest.groovy
TestPromoteContainer.groovy
TestRunNonSecurityPerfTestScript.groovy
TestSignStandaloneArtifactsJob.groovy
TestReleaseTagJob.groovy ( this job is temporary removed and will be restored at later time)
Remove/Clean lib-testers + Merging some codes from lib-testers onto the remaining test jobs listed above
Remove/Clean src/jenkins + code refactoring
Change build.gradle from multithreads to single one in order to prevent possible future problems
Remove/Clean tests/jenkins/jobs as it had been migrated to opensearch-build-libraries repo previousely
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.