Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

Add a customization step to README instructions - #35

Merged
mzabaluev merged 1 commit into
mainfrom
mikhail/readme-on-customizing-config
Jan 30, 2024
Merged

mzabaluev merged 1 commit into
mainfrom
mikhail/readme-on-customizing-config

Conversation

@mzabaluev

Copy link
Copy Markdown
Contributor

When running the QA potentially concurrently as part of a team, it's necessary to customize some infrastrucure configuration parameters to prevent collisions between instances set up for different users.

When running the QA potentially concurrently as part of a team,
it's necessary to customize some infrastrucure configuration parameters
to prevent collisions between instances set up for different users.
@mzabaluev mzabaluev added the documentation Improvements or additions to documentation label Jan 30, 2024
@mzabaluev
mzabaluev requested a review from hvanz January 30, 2024 12:49
Comment thread README.md
```

4. Initialize Terraform (only needed once)
4. If necessary, set the Makefile variables `DO_INSTANCE_TAGNAME` and

@lasarojc lasarojc Jan 30, 2024 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If it is to be configured by experiment, I recommend it being done in experiment.mk instead of Makefile.
Other than that, LGTM

@mzabaluev mzabaluev Jan 30, 2024 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think it should be as per #34.

It's a small distinction, as all variables can me overridden from the make command line. Is experiment.mk used in scripts somewhere so that it needs to be separate?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nope. I broke it down so that that it would be easier to keep multiple versions of experiment.mk, for different experiments, without having to touch Makefile, which should remain untouched.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I broke it down so that that it would be easier to keep multiple versions of experiment.mk, for different experiments, without having to touch Makefile, which should remain untouched.

Should the VERSION_TAG/VERSION_WEIGHT variables be moved there as well, then?

@hvanz hvanz left a comment

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.

LGTM

@mzabaluev
mzabaluev merged commit 9f1da5e into main Jan 30, 2024
@mzabaluev
mzabaluev deleted the mikhail/readme-on-customizing-config branch January 30, 2024 17:07
mzabaluev added a commit to cometbft/cometbft that referenced this pull request Jan 30, 2024
An additional configuration step has been added to the README
in the qa-infra repository
(cometbft/qa-infra#35).
github-merge-queue Bot pushed a commit to cometbft/cometbft that referenced this pull request Jan 31, 2024
An additional configuration step has been added to the README
in the qa-infra repository
(cometbft/qa-infra#35).
mzabaluev added a commit that referenced this pull request Feb 9, 2024
The QA method document in the cometbft repository currently refers to
numbered ranges of steps in this README as setup and run sequences
that the tester needs to perform at different stages.
When the list of steps changes as it did in #35, updating these
hardcoded references is tedious and error-prone (case in point,
I failed to update quite a few places).

The solution is to do to these human-consumed texts what programmers do
to machine code and introduce subroutines!
The step sequences are split under headers that can be "invoked" by name
and anchored in the HTML rendering.
mzabaluev added a commit that referenced this pull request Feb 9, 2024
* README: split steps between setup and test run

The QA method document in the cometbft repository currently refers to
numbered ranges of steps in this README as setup and run sequences
that the tester needs to perform at different stages.
When the list of steps changes as it did in #35, updating these
hardcoded references is tedious and error-prone (case in point,
I failed to update quite a few places).

The solution is to do to these human-consumed texts what programmers do
to machine code and introduce subroutines!
The step sequences are split under headers that can be "invoked" by name
and anchored in the HTML rendering.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants