Skip to content

Commit 4bc4d1b

Browse files
committed
- renamed dockerfile for network tests
- chmod +x for network_tests scripts
1 parent ad6150b commit 4bc4d1b

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

docker/Dockerfile.network_tests

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM aleph-node:latest
22

33
RUN apt update && \
4-
apt install curl iproute2 iputils-ping net-tools netwox tcpdump gdb -y && \
5-
apt clean && \
6-
rm -rf /var/lib/apt/lists/*
4+
apt install curl iproute2 iputils-ping net-tools netwox tcpdump gdb gdbserver -y && \
5+
apt clean
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ services:
77
- PURGE_BEFORE_START=false
88
cap_add:
99
- NET_ADMIN
10+
- SYS_PTRACE
1011

1112
Node1:
1213
image: aleph-node:network_tests
@@ -16,6 +17,7 @@ services:
1617
- PURGE_BEFORE_START=false
1718
cap_add:
1819
- NET_ADMIN
20+
- SYS_PTRACE
1921

2022
Node2:
2123
image: aleph-node:network_tests
@@ -25,6 +27,7 @@ services:
2527
- PURGE_BEFORE_START=false
2628
cap_add:
2729
- NET_ADMIN
30+
- SYS_PTRACE
2831

2932
Node3:
3033
image: aleph-node:network_tests
@@ -34,6 +37,7 @@ services:
3437
- PURGE_BEFORE_START=false
3538
cap_add:
3639
- NET_ADMIN
40+
- SYS_PTRACE
3741

3842
Node4:
3943
image: aleph-node:network_tests
@@ -43,3 +47,4 @@ services:
4347
- PURGE_BEFORE_START=false
4448
cap_add:
4549
- NET_ADMIN
50+
- SYS_PTRACE

scripts/run_consensus_network_delay.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [[ "$BUILD_IMAGE" = true ]]; then
4141
fi
4242

4343
log "starting network"
44-
OVERRIDE_DOCKER_COMPOSE=./docker/docker-compose.network_test.yml DOCKER_COMPOSE=./docker/docker-compose.bridged.yml ./.github/scripts/run_consensus.sh 1>&2
44+
OVERRIDE_DOCKER_COMPOSE=./docker/docker-compose.network_tests.yml DOCKER_COMPOSE=./docker/docker-compose.bridged.yml ./.github/scripts/run_consensus.sh 1>&2
4545
log "network started"
4646

4747
log "setting network delay"

0 commit comments

Comments
 (0)