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

feat(remote_source): upload all metadata #2106

Conversation

MartinBasti
Copy link
Contributor

@MartinBasti MartinBasti commented Aug 9, 2024

Upload all metadata from cachito, se we can avoid having extra queries for cachito endpoints and keep all data in koji

STONEBLD-2655

Maintainers will complete the following section

  • Commit messages are descriptive enough
  • Code coverage from testing does not decrease and new code is covered
  • Python type annotations added to new code
  • JSON/YAML configuration changes are updated in the relevant schema
  • Changes to metadata also update the documentation for the metadata
  • Pull request has a link to an osbs-docs PR for user documentation updates
  • New feature can be disabled from a configuration file

@MartinBasti MartinBasti force-pushed the upload-all-cachito-metadata branch 2 times, most recently from 9d2ebfe to 987e175 Compare August 9, 2024 16:02
Upload all metadata from cachito, se we can avoid having extra queries
for cachito endpoints and keep all data in koji

STONEBLD-2655

Signed-off-by: Martin Basti <[email protected]>
@MartinBasti MartinBasti force-pushed the upload-all-cachito-metadata branch from 987e175 to 908fd3c Compare August 12, 2024 08:18
@MartinBasti MartinBasti marked this pull request as ready for review August 12, 2024 08:41
@mkosiarc mkosiarc self-requested a review August 13, 2024 09:40
@mkosiarc
Copy link
Contributor

@MartinBasti I see you created this PR against master, don't we want to use the feature_cachi2 branch?

@chmeliik
Copy link
Contributor

@MartinBasti I see you created this PR against master, don't we want to use the feature_cachi2 branch?

IIRC we wanted this change to go to master, because it's relevant for Cachito as well.

Some projects (OpenScanHub) do rebuilds of OSBS builds and they depend on the env vars and config files from Cachito. When we decommission Cachito, they will no longer be able to use them. If we start uploading them to Brew now, they will be able to rebuild things up to half a year old (let's say we will decommission Cachito in half a year).

We don't need to havbe build_args as function anymore, it can be a
property of RemoteSources

Signed-off-by: Martin Basti <[email protected]>
@MartinBasti MartinBasti force-pushed the upload-all-cachito-metadata branch 2 times, most recently from bbf5992 to 68216d8 Compare August 13, 2024 17:05
@MartinBasti MartinBasti merged commit f5b68d8 into containerbuildsystem:master Aug 14, 2024
16 checks passed
@MartinBasti MartinBasti deleted the upload-all-cachito-metadata branch August 14, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants