koji assign-task for a channel #4466
Labels
No labels
backlog
bug
Closed As
Dropped
Closed As
Duplicate
Closed As
Fixed
Closed As
Insufficient data
Closed As
Invalid
deprecation
discussion
doc
easyfix
feature
fedora-infra
groomed
NEEDINFO
no_qe
Priority
High
Priority
Low
Priority
Normal
rhel6-eol
scheduler
tech-debt
testing-basic
testing-custom
testing-done
testing-ready
usability
wishful
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
koji/koji#4466
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In Fedora/RISCV we have different machines and we schedule builds based on their requirements (strong single-thread performance, many-cores, memory to core ratio, and in general high-memory systems). We do a lot of individual assignments to the builders.
It would be a convenient if we could directly assign a task to a channel instead of a builder/host.
All builders are in 'default' channel, but we want to have more precision to target specific subset of those builders based on their specifications as described above. In some rare cases we also schedule builds based on geographical location (e.g. to avoid high-priority long-running tasks landing on builders where we have active weather event).
Today we can create channels and assign builders to them, but the logic to pick a builder would still be outside Koji.
This sounds like a useful and reasonable feature. So, sure, I 'll have a look.
OTOH, I want to make sure you're aware of the
channelpolicy. The hub uses this policy on every new task to determine the channel. The available data for policy tests is a bit limited here, but you can still get a lot done. It's better to have the task scheduling data correct out of the gate.You can read a bit more here -- https://docs.pagure.org/koji/defining_hub_policies/
Metadata Update from @mikem:
Metadata Update from @mikem:
Maybe one more suggestion would be to allow
koji buildcommand to list a channel too.We have looked at Hub policies, but so far we only managed to break operations playing with it.
Metadata Update from @mikem: