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

[Proposal] Publish snapshots with partial builds #3180

Closed
saratvemulapalli opened this issue Feb 3, 2023 · 4 comments
Closed

[Proposal] Publish snapshots with partial builds #3180

saratvemulapalli opened this issue Feb 3, 2023 · 4 comments
Labels
enhancement New Enhancement

Comments

@saratvemulapalli
Copy link
Member

saratvemulapalli commented Feb 3, 2023

Is your feature request related to a problem? Please describe

Our distribution manifest consists of bunch of components and is maintained by different maintainers.
Our build/assemble/publish workflow is sequential and assumes all steps of each workflow to succeed.

As the project grows bigger, few components will consistently fail causing blockers for consumers who depend on snapshots. The stale snapshots are ending with manually kicking off builds with updated manifests.
We have seen multiple problems in the recent weeks:

Our workflows fail hard when one component fails.

Describe the solution you'd like

Our jenkins workflows should allow fail through and let partial components to be published.
For example:
Our manifest contains OpenSearch, Job Scheduler, security. Its ok to have security to fail the build but we should still continue running though the workflows to publish OpenSearch and JS snapshots.

We can leverage jenkins scripts[1] to smartly identify the successful components and run through all stages of the pipeline for snapshots.

[1] https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/

Describe alternatives you've considered

Wait for snapshots being published :/

Additional context

No response

@saratvemulapalli saratvemulapalli added enhancement New Enhancement untriaged Issues that have not yet been triaged labels Feb 3, 2023
@ryanbogan
Copy link
Member

+1

@bbarani
Copy link
Member

bbarani commented Feb 6, 2023

@saratvemulapalli Are you referring to Maven artifacts or TAR here? We did add an enhancement to publish TAR snapshots for core even if plugins fail but yet to work on the Maven part. We are looking in to moving the snapshot outside of distribution build job to individual repos as well. You can track the progress here.

@bbarani bbarani removed the untriaged Issues that have not yet been triaged label Feb 6, 2023
@saratvemulapalli
Copy link
Member Author

@bbarani this is for maven artifacts. I like #3185 , our monolithic build should be broken down to make this seamless.

@saratvemulapalli
Copy link
Member Author

I'll close this as we are already taking care of this and move towards publishing artifacts from each repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New Enhancement
Projects
None yet
Development

No branches or pull requests

3 participants