Open petemounce opened 7 years ago
Maybe in scripts/package or scripts/ci on bazel repository rather? See scripts/docs/Dockerfile for example
Came across https://www.onitato.com/post/running-chocolatey-on-linux/, adding here for later reference.
@damienmg please create a bazel-team account on chocolatey.org that I can then invite to become a package maintainer of bazel there?
@petemounce I'll take care of this.
@petemounce I've created a Chocolatey account with the username "bazel" now. :)
@petemounce I think we can add this step to our release pipeline easily now. We can run the required things on a trusted Windows worker that has access to the secret key required.
Does the "bazel" user on Chocolatey have push access? If yes, I can try to set this up.
Yup, that user has push access.
I see #8258 was merged, too, so that unblocks that.
Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen (or ping me to reopen) if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.
@sgowroji this is being tracked in https://github.com/bazelbuild/continuous-integration/issues/1456. Are you closing issues there too?
Description of the problem / feature request / question:
At present, publishing the chocolatey package for Windows is a manual process
I'd like to eliminate this manual process from the release.
Dependencies:
Having talked to @damienmg and @dslomov the simplest thing to do is to create a Dockerfile for a (ubuntu, probably) container that contains
and then runs the steps (probably, rewritten into bash) to publish the package.
So, I'll have a go at this.
I need to know where to put what I create - I'm going to assume within bazelbuild/continuous-integration somewhere?
Also note dependency (4) - this approach does not satisfy that requirement. Doing that would, I suppose, require shifting this left to become an artifact that is built and tested within CI, as opposed to just within the release process.
I don't intend to address that within this work. Sounds like to do so we'd want to create some
pkg_chocolatey
rule akin to deb and rpm.