Commit 7f394b6
committed
Migrate from
This represents a pretty significant amount of work to move away from the old
and deprecated `WORKSPACE` way of managing Bazel external dependencies, to using
`MODULE.bazel` aka Bzlmod.
In the process of doing this I did a few things to get the migration over the
line.
**Migrated from `rules_docker` to `rules_oci`.** The former is more or less
deprecated and there's no Bazel module for it in BCR. There is a module for
`rules_oci` though, which seems to be the spiritual successor to `rules_docker`.
They do mostly the same things, although in different ways.
**Bumped version of most dependencies.** The main reason for doing so was to get
on versions of dependencies that likely had much better support for Bzlmod.
**Struggled a lot to get the dependencies on the Docker Go libraries working**,
and ended up refactoring my old version of `dockertest` in favor of one based on
`github.com/ory/dockertest/v3` which I know from professional experience works
perfectly fine and doesn't require me to do some of the lower-level Docker stuff
myself.
**Removed a bunch of the existing Docker-related stuff**, since I couldn't be
bothered to fix it and will likely not be using it in the near future anyway.
**Removed the `./bazel` script**, and chose to just rely on Bazelisk being
installed on the system instead.
Probably more things I'm forgetting, but they're probably not that important if
I can't think of them right now.WORKSPACE to MODULE.bazel.1 parent c005469 commit 7f394b6
File tree
58 files changed
+2498
-2857
lines changed- adventofcode/cc
- geometry
- tools
- generate_benchmark
- generate_header
- generate_test
- year2022
- auth
- n/basic
- docker
- config/generate_config
- dockertest
- httpserver
- go
- imagetar
- grpclog/klogger
- grpctest
- patches/com_github_docker_cli
- postgres
- log/klogadapter
- postgrestest
- runfiles
- cc
- tasks
- fake
- server
- postgres
- server
- service
- tasks_go_proto
- testsuite
- testing
- echo_go_proto
- echo
- tls
- generate_certificate
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
58 files changed
+2498
-2857
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | | - | |
| 17 | + | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
0 commit comments