Skip to content

Automate PATH verification in install_prerequisites.sh, simplify README#858

Merged
smklein merged 23 commits into
mainfrom
check-paths-too
Apr 8, 2022
Merged

Automate PATH verification in install_prerequisites.sh, simplify README#858
smklein merged 23 commits into
mainfrom
check-paths-too

Conversation

@smklein

@smklein smklein commented Apr 3, 2022

Copy link
Copy Markdown
Collaborator

Automating as much of the README as possible within the installation script to simplify the onboarding process.

@smklein smklein requested review from bnaecker and davepacheco April 4, 2022 14:15
Comment thread README.adoc
$ ./tools/install_prerequisites.sh
----

Alternatively, the manual installation steps as follows:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I admit I'm a little sad to see this section go. I feel like this is useful documentation for the important third-party pieces that we're using. At the same time, it probably doesn't make sense to have both this and an automated version that can get out of sync. I wonder if there's a useful compromise -- what if we move more of this documentation into install_prerequisites.sh itself? Things I could imagine noting in that script:

  • That Diesel uses the native libpq to talk to to PostgreSQL (CockroachDB in our case)
  • That the test suite expects the cockroach and clickhouse commands on your PATH
  • That the brand/omicron1/tools package is used for deploying control plane components into zones on a test machine [as opposed to a local build or test suite run]

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good suggestion, I've added much more documentation to the script itself.

Base automatically changed from better-db-install to main April 8, 2022 14:27
@smklein smklein enabled auto-merge (squash) April 8, 2022 14:34
@smklein smklein merged commit 9c9e913 into main Apr 8, 2022
@smklein smklein deleted the check-paths-too branch April 8, 2022 15:12
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.

3 participants