[WIP] Adds a go based installer for the multi-primary environment.#9626
Draft
nrfox wants to merge 1 commit into
Draft
[WIP] Adds a go based installer for the multi-primary environment.#9626nrfox wants to merge 1 commit into
nrfox wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the change
Adds a go based installer for setting up the multi-primary environment. This is experimental and mostly slop at this point. It's not meant to be reviewed closely by a human yet but meant to be a starting point to see if this is the direction we want to go.
On my machine this is 2x improvement in speed over the current hack scripts:

Installer
Hack Scripts

Run with:
hack/run-integration-tests.sh --test-suite frontend-multi-primary --setup-only trueThe logs are much cleaner so it's much easier to follow what step the setup is on or more importantly where it failed. You can also run the installer multiple times to get the same result without recreating the whole environment.
A lot of the steps here overlap with what is performed in the Sail Operator's testing suites. There's potential to further integrate and reuse tools between both projects.
Steps to test the PR
go run ./tools/cmd/installer/... multi-primaryAutomation testing
N/A
Issue reference
#9032
Would replace #8670