rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Automated Nightly Releases

Open rockwotj opened this issue 2 years ago • 4 comments

I wanted to capture this because I think it'd be super useful, especially because when there are changes to this repo we usually want to use them right away (for example reducing the compile error output change I'm tempted to create a custom release for...). In the meantime I may setup GitHub actions and a nightly crontab to do this in a separate repo.

@cgruber not sure if youve considered a release per-commit? Might be easier to configure if thats the issue with buildkite. Kotlin seems to do something similar based on the number of releases in their repo

Per-commit or per-nightly - regardless I'll need to get a pipeline executing. The main issue is that we're using bazelbuild's custom org config of buildKite, and I'm not authorized to admin that, so it's a bit trickier. Nevertheless, let's shelve this because it's orthogonal to this issue.

Originally posted by @cgruber in https://github.com/bazelbuild/rules_kotlin/issues/570#issuecomment-932490846

rockwotj avatar Nov 17 '21 03:11 rockwotj

Open issue in the bazel repo to set this up for us.

restingbull avatar Dec 10 '21 20:12 restingbull

We worked up a solution for making it easier for us to cut releases in the future that uses Github Actions https://github.com/bazelbuild/rules_kotlin/pull/742

We can trigger this as frequently as we need to by tagging new releases, and Github Actions should do the rest.

Bencodes avatar May 08 '22 04:05 Bencodes

Wonderful 🎉

Is there a plan going forward for how frequent releases will happen now that they are so easy to make? Or is a nightly build still on the table? I'm happy to submit a small cron action to create a new nightly tag if there has been any changes since the last tag

rockwotj avatar May 09 '22 02:05 rockwotj

We need to sort out pulling artifacts from BuildKite to make "nightly" (TBH, there aren't enough PRs to be truly nightly) work. Mostly because I'd rather avoid running out Github Actions minutes.

restingbull avatar May 09 '22 02:05 restingbull