-
Notifications
You must be signed in to change notification settings - Fork 277
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
Refactor distribution job for OpenSearch and OpenSearch Dashboards #1906
Comments
Notice that OSD has a two stage build and assemble which is different from OS. |
[triage] This is worth looking into. We can move the common code to a common jenkins library with relevant parameters and call it within the jobs. It would reduce duplicate code and reduce the size and complexity. Although, this needs to be researched if moving it out in a common library is feasible. |
@peterzhuamazon @tianleh Is this still a valid issue? Can you provide some updates on this issue? |
@tianleh Can you please provide an update? |
ApproachWe can separate the distribution workflow based on distributions as follow for both OS and OSD separately:
|
At this point we are not planning on separating the workflows but the individual |
The current distribution jobs become more complicated due to support of architecture (x64, arm64), snapshot or regular build, distribution (rpm vs tar). Also there are integ/bwc tests running post build. We have witnessed duplicated logic in these Jenkins files.
https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/opensearch/distribution-build.jenkinsfile
https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/opensearch-dashboards/distribution-build.jenkinsfile
This issue is to refactor the common logic into dedicated Groovy files to avoid duplicated code.
Sub tasks
/latest
URL re-rewrite logicAcceptance Criteria
The text was updated successfully, but these errors were encountered: