sourcegraph/dev/scaletesting
Jean-Hadrien Chabran 3d36d34b3d
ci: re-enable race detection (#52776)
The previous approach to enable race detection was too radical and
accidently led to build our binaries with the race flage enabled, which
caused issues when building images down the line.

This happened because putting a `test --something` in bazelrc also sets
it on `build` which is absolutely not what we wanted. Usually folks get
this one working by having a `--stamp` config setting that fixes this
when releasing binaries, which we don't at this stage, as we're still
learning Bazel.

Luckily, this was caught swiftly. The current approach insteads takes a
more granular approach, which makes the `go_test` rule uses our own
variant, which injects the `race = "on"` attribute, but only on
`go_test`.


## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

CI, being a main-dry-run, this will cover the container building jobs,
which were the ones failing.

---------

Co-authored-by: Alex Ostrikov <alex.ostrikov@sourcegraph.com>
2023-06-05 20:41:47 +02:00
..
bulkrepocreate bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
bulkreposettings bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
codehostcopy [github app] Add GitHub App authenticators (#50963) 2023-04-24 09:05:50 +02:00
internal/store ci: re-enable race detection (#52776) 2023-06-05 20:41:47 +02:00
syntheticgithubdata bazel: fix remaining backend tests (#47961) 2023-03-01 17:03:01 +00:00
OWNERS Add a script to generate blank repos in bulk on a GHE instance (#43082) 2022-10-24 11:03:09 +02:00
README.md Re-enable prettier format checking. Disable with flag (#43548) 2022-10-31 12:14:42 +02:00

Scaletesting

This package is a collection of CLI tools to perform various operations in batch:

  • bulkrepocreate: generates blank repositories in large numbers on a codehost within an organization.
  • bulkreposettings: updates the settings of all repositories of an organization all at once.
  • codehostcopy: copies repositories from one codehost to another.

Please see the individual READMEs for how to use these tools.