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

[RFE] tagging builds and builders per package/chroot/user #333

Open
fedora-copr-github-bot opened this issue Nov 16, 2022 · 2 comments
Open
Labels
RFE Enhancement, feature requests

Comments

@fedora-copr-github-bot
Copy link
Collaborator

fedora-copr-github-bot commented Nov 16, 2022

Original issue: https://pagure.io/copr/copr/issue/333
Opened: 2018-06-27 13:34:10
Opened by: praiskup

The https://bugzilla.redhat.com/1334701 solved the heterogeneous farm of builders problem,
but copr backend still treats all the available builders the same way. For this to resolve, it's now
only needed to implement the task-tagging on backend/frontend side ... to let the playbook which allocates builders know what type of builder I need/prefered.

Requirements:

  • this is not needed for Fedora Copr instance, so first of all the functionality should be optional and non-intrusive for any Copr instance which doesn't need the functionality (opt-in)
  • two types of tags are needed, "required tags", and "private tags". First type of tag would be used to say that the particular task "requires" builder having with tag say "x86_powerful". The second type would allow taking some privileged builder, say "praiskup_builder_x86_64" (that builder/tag is otherwise only allowed for user "praiskup")
  • creating new tags must be a copr administrator action, so it's OK to have commandline-only interface
  • labeling tasks/builds/packages should be user defined action, and web-ui would be enough

Ideas?


praiskup commented at 2020-06-22 09:47:59:

Using the resalloc on the backend side now, the "builder" part is already
ready for this now (builders have the tags) and the mechanism is very
flexible.

We have to solve the "frontend" part, and allow users to tag builds,
packages, projects, etc. so backend can properly match the tasks to the
builders.

@fedora-copr-github-bot fedora-copr-github-bot added the RFE Enhancement, feature requests label Nov 24, 2022
@praiskup
Copy link
Member

praiskup commented Jan 3, 2023

Triage mtg: @xsuchy: A good addition would be an AI doing the tagging automatically per build history (dumped time/processor/memory consumption per recent tasks, etc...).

@praiskup
Copy link
Member

Touched again today, @Conan-Kudo needs this for chromium (and alike) projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFE Enhancement, feature requests
Projects
Status: Someday in future
Development

No branches or pull requests

2 participants