-
Notifications
You must be signed in to change notification settings - Fork 275
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
[META] Move snapshot build jobs out of distribution build jobs #3185
Closed
20 tasks done
Comments
This was referenced Feb 6, 2023
Related #1182 |
jordarlu
added
triaged
This issue has been reviewed by the triage team
and removed
untriaged
Issues that have not yet been triaged
labels
Feb 14, 2023
The plan is to move the snapshot publication to each individual repo |
gaiksaya
changed the title
Move snapshot build jobs out of distribution build jobs
[META] Move snapshot build jobs out of distribution build jobs
Feb 17, 2023
This was referenced Feb 18, 2023
This was referenced Mar 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
Currently the snapshot jobs are tightly coupled with monolithic distribution build job creating single point of failure and bottleneck for day to day development.
There are 2 kinds of snapshots:
More details: https://github.com/opensearch-project/opensearch-build#min-snapshots
The maven snapshots are published based on input manifest where if one of the component fails to build, the entire snapshot publication to maven is abandoned. We will need to move the snapshot job outside of distribution build jobs in to its own job / have the respective repos publish snapshots via GitHub actions to de-centralize the publishing process.
Solution
The move tightly coupled workflows can be decoupled by moving snapshot publication to each component repository. The credentials to publish snapshot can be retrieved via AWS GHA integration that is already set in place
We tried this solution with security plugin and it works well. https://github.com/opensearch-project/security/actions/runs/4206453061
Child issues with all backend plugins:
The text was updated successfully, but these errors were encountered: