Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 4ebc936

Browse files
committed
mount entrypoint
1 parent f74b495 commit 4ebc936

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
target
33
Cargo.lock
44
devenv/*
5-
!devenv/integration/docker/entrypoint
65
coverage
76
romeo/testing/
87
romeo/asset-contract/.test

devenv/integration/bin/test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env bash
22
set -ueo >/dev/null
33

4+
ENTRYPOINT_PATH="./integration/docker/entrypoint"
5+
46
project_name() {
57
local input="$1"
68
local filter="${input//[![:alnum:]]/_}"
@@ -21,7 +23,7 @@ for filter in "${filters[@]}"; do
2123
./integration/bin/up docker-compose.yml $project
2224

2325
network=${project}_default
24-
id=$(docker run -td --network $network -e PROJECT_NAME=$project testbed "$filter")
26+
id=$(docker run -td --network $network -v $ENTRYPOINT_PATH:/usr/local/bin/entrypoint -e PROJECT_NAME=$project testbed "$filter")
2527
ids+=($id)
2628
echo with container id: $id
2729

@@ -41,7 +43,7 @@ projects+=($project)
4143
./integration/bin/up docker-compose.yml $project
4244

4345
network=${project}_default
44-
id=($(docker run -td --network $network -e PROJECT_NAME=$project testbed "not ($filter_union)"))
46+
id=($(docker run -td --network $network -v $ENTRYPOINT_PATH:/usr/local/bin/entrypoint -e PROJECT_NAME=$project testbed "not ($filter_union)"))
4547
ids+=($id)
4648
echo with container id: $id
4749

devenv/integration/docker/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,4 @@ COPY --from=romeo integration-tests.tar.zst .
3838

3939
COPY . .
4040

41-
COPY ./devenv/integration/docker/entrypoint /bin/entrypoint
42-
4341
ENTRYPOINT [ "entrypoint" ]

0 commit comments

Comments
 (0)