Skip to content

Commit 11b7172

Browse files
committed
chore(container): remove contrib/bencode from Containerfile (T8)
- Remove COPY contrib/bencode/Cargo.toml line from recipe stage - Remove contrib/bencode stubs from mkdir/touch in recipe stage - Remove torrust-tracker-contrib-bencode from excluded-packages comment Part of #1881
1 parent 7863546 commit 11b7172

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Containerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,12 @@ WORKDIR /build/src
5151
# or moved crate must have its line updated or removed accordingly.
5252
COPY Cargo.toml Cargo.lock ./
5353
COPY console/tracker-client/Cargo.toml console/tracker-client/
54-
COPY contrib/bencode/Cargo.toml contrib/bencode/
5554
# The following packages are excluded from cargo nextest archive (see Cook and
5655
# Build stages below) because they are not part of the production tracker service
5756
# and do not need to be tested inside the container image:
5857
# - workspace-coupling (analysis/coupling tool, no production value)
5958
# - torrust-tracker-torrent-repository-benchmarking (benchmarking only)
6059
# - torrust-tracker-client (CLI dev tools: tracker_client, tracker_checker, etc.)
61-
# - torrust-tracker-contrib-bencode (contrib utility; its own tests/bins are not needed in the container)
6260
# - torrust-tracker-e2e-tools (E2E runners + profiling tool, GHA host-only)
6361
# - torrust-tracker-persistence-benchmark (persistence layer dev benchmarking tool)
6462
# Their Cargo.toml manifests and stub source files must still be present here
@@ -114,8 +112,6 @@ RUN mkdir -p \
114112
src/bin \
115113
packages/e2e-tools/src/bin \
116114
packages/persistence-benchmark/src/bin \
117-
contrib/bencode/src \
118-
contrib/bencode/benches \
119115
contrib/dev-tools/analysis/workspace-coupling/src \
120116
console/tracker-client/src/bin \
121117
packages/axum-health-check-api-server/src \
@@ -155,8 +151,6 @@ RUN mkdir -p \
155151
packages/e2e-tools/src/bin/profiling.rs \
156152
packages/e2e-tools/src/bin/qbittorrent_e2e_runner.rs \
157153
packages/persistence-benchmark/src/bin/persistence_benchmark_runner.rs \
158-
contrib/bencode/src/lib.rs \
159-
contrib/bencode/benches/bencode_benchmark.rs \
160154
contrib/dev-tools/analysis/workspace-coupling/src/main.rs \
161155
console/tracker-client/src/lib.rs \
162156
console/tracker-client/src/bin/http_tracker_client.rs \

0 commit comments

Comments
 (0)