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

Reduce organisation impact of semaphore job #2854

Merged
merged 4 commits into from
Jun 21, 2021

Conversation

fasaxc
Copy link
Member

@fasaxc fasaxc commented Jun 21, 2021

Description

Proposing a few changes to the semaphore job to increase efficiency at the expense of a slightly longer job times (and some other changes):

  • Coalesce the build, UT, k8sfv, image-all jobs into one job that is run first. Previously, the jobs took an aggregate of ~32minutes but combining them reduces that to 14 minutes due to being able to make use of the warm go build cache etc.
  • Enable auto-cancel for master; I think it's pretty rare that we queue up multiple master builds but it might help when we're doing a lot of pin updates etc.

Todos

  • Unit tests (full coverage)
  • Integration tests (delete as appropriate) In plan/Not needed/Done
  • Documentation
  • Backport
  • Release note

Release Note

None required

- Run PR builds in parallel (as now).
- Queue everything else up serially.
- Classify pin update PRs as "everything else".
@fasaxc fasaxc changed the title Reduce width of felix sempahore job. Reduce organisation impact of semphore job Jun 21, 2021
@fasaxc fasaxc changed the title Reduce organisation impact of semphore job Reduce organisation impact of semaphore job Jun 21, 2021
@fasaxc fasaxc marked this pull request as ready for review June 21, 2021 13:23
@fasaxc fasaxc requested a review from a team as a code owner June 21, 2021 13:23
Copy link
Contributor

@Brian-McM Brian-McM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for doing that!

@Brian-McM Brian-McM merged commit e698ad1 into projectcalico:master Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants