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

Run "nightly" build on every merge to master. #515

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

cbiffle
Copy link
Contributor

@cbiffle cbiffle commented Oct 11, 2024

Currently, we run the nightly build once per day, as its name implies. The main use for the nightly build is distributing its artifact (a Humility binary) to other builders, for use in testing compatibility in e.g. the Hubris build.

This means that currently, merging any change that affects archive compatibility involves a mandatory 24-ish hour waiting period between merging the Humility support, and changing Hubris. This is annoying, and is a great way to have me wander off and forget what I was doing (right now it's a Friday, so I'd have to come back on Monday to finish merging). Waiting for computers is dumb.

This commit changes the "nightly" build to re-run and re-clobber the release on every successful merge to master. We've been merging to Humility master far less than once per day, so this will not meaningfully increase the number of builds run.

This also makes the name of the release slightly wrong, but I would like to justify leaving it as-is for three reasons:

  1. It's always night somewhere.
  2. Most "nightly" builds will still be triggered by cron.
  3. Identifying what scripts in other repos depend on this release name seems rather difficult.

Currently, we run the nightly build once per day, as its name implies.
The main use for the nightly build is distributing its artifact (a
Humility binary) to other builders, for use in testing compatibility in
e.g. the Hubris build.

This means that currently, merging any change that affects archive
compatibility involves a mandatory 24-ish hour waiting period between
merging the Humility support, and changing Hubris. This is annoying, and
is a great way to have me wander off and forget what I was doing (right
now it's a Friday, so I'd have to come back on Monday to finish
merging). Waiting for computers is dumb.

This commit changes the "nightly" build to re-run and re-clobber the
release on every successful merge to master. We've been merging to
Humility master far less than once per day, so this will not
meaningfully increase the number of builds run.

This also makes the name of the release slightly wrong, but I would like
to justify leaving it as-is for three reasons:

1. It's always night somewhere.
2. Most "nightly" builds will still be triggered by cron.
3. Identifying what scripts in other repos depend on this release name
   seems rather difficult.
Copy link
Contributor

@labbott labbott left a comment

Choose a reason for hiding this comment

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

Let's see what happens!

@cbiffle
Copy link
Contributor Author

cbiffle commented Oct 11, 2024

If it does something really lame, we'll reverse it! :-)

@cbiffle cbiffle enabled auto-merge (rebase) October 11, 2024 19:04
@cbiffle cbiffle merged commit 3ce8d82 into master Oct 11, 2024
11 checks passed
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.

2 participants