Closed niceking closed 2 months ago
I'm a little confused by how to do the go module rename, and the sequencing of all the rename and packaging and releasing actions.
I found this guide and based on that, I think what we want to do is:
bktec
branch bktec
name, I think that's the goreleaser and the release pipeline (this plan is a little different from what the guide recommends, cos they keep a v1 branch around when they release a v2 with a new name, but we've decided that we're releasing v1.0.0 with the new name. If previous versions have issues we will ask the customer to upgrade and not patch them)
I'm not 100% sure at which point we update the imports at the top of each file? Is that part of step 1?
Does this sound sane? cc @DrJosh9000 @nprizal / anyone
I'm a little confused by how to do the go module rename, and the sequencing of all the rename and packaging and releasing actions. ... Does this sound sane? cc @DrJosh9000 @nprizal / anyone
Because the whole thing is a binary, nobody (Buildkite or otherwise) is importing packages from it - so a lot of the worries to do with locating Go modules across versions and ensuring they are published in a findable place aren't really a concern. I'm pretty sure you won't be breaking anybody's build (other than your own). So you could do this:
Changing the binary build name - does this just get done as part of the go mod rename?
We use goreleaser to build the binary, and by default it uses the project directory name. So, until we rename the git repository, we may need to explicitly set the binary name in the goreleaser config file.
Are there Pact changes needed as part of this?
We changed the consumer and provider name in this PR, therefore we need to change the Pact configuration (state) in the Buildkite repository.
aws ssm param namespace maybe should be changed? not super necessary tho
Yes, I've captured this as Linear tickets.
I can't approve this as I'm the original author, but LGTM once the tests are passing
Description
Have renamed the following:
BUILDKITE_SPLITTER_*
->BUILDKITE_TEST_ENGINE_*
Outstanding tasks that will be done in a separate PR:
packaging/Dockerfile
.goreleaser.yaml
pipeline.yml
andpipeline.release.yml
Testing
This is purely a rename, and shouldn't change any functionality of bktec. It also doesn't change any of the packaging and releasing.
Will test locally that a build of this still fetches a test plan, given the new env var names