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

Builder HouseKeeping - cleanup #1425

Open
jsirex opened this issue May 21, 2020 · 3 comments
Open

Builder HouseKeeping - cleanup #1425

jsirex opened this issue May 21, 2020 · 3 comments

Comments

@jsirex
Copy link
Contributor

jsirex commented May 21, 2020

Describe the Enhancement:

Ability to configure some cleanup jobs on builder. There are multiple conditions may be:

  • purge packages from a channel
  • purge if no RDEP
  • purge if not in channel
  • keep only latest package
  • keep only latest release for each package version
  • whatever else?

Example: I want to purge all packages in my origin which are not in stable or production channel.

I really don't know how to better implement this. HBQL (habitat builder query language)? External cli?

Describe the Need:

Many of us who uses builder have it on-prem. And usually only one. Also, we have our ci/cd.
CI/CD in turn produces lots of test-and-trash packages. Most of these package will be never used.

Current Alternative

Probably, current alternative is to maintain another on-prem builder dedicated to CI/CD with weekly implode-and-start-from-scratch job. However this doubles maintenance efforts and infrastructure costs.

Aha! Link: https://chef.aha.io/features/APPDL-118

@stale
Copy link

stale bot commented May 22, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added Stale and removed Stale labels May 22, 2021
@stale
Copy link

stale bot commented Jun 11, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Jun 11, 2022
@stale
Copy link

stale bot commented Sep 18, 2023

This issue has been automatically closed after being stale for 400 days. We still value your input and contribution. Please re-open the issue if desired and leave a comment with details.

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

No branches or pull requests

1 participant