aboutsummaryrefslogtreecommitdiffstats
path: root/tests/1-node.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/1-node.yml')
-rw-r--r--tests/1-node.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/1-node.yml b/tests/1-node.yml
new file mode 100644
index 000000000..5cd8bd46c
--- /dev/null
+++ b/tests/1-node.yml
@@ -0,0 +1,26 @@
+version: "3"
+services:
+ client:
+ build:
+ context: ..
+ dockerfile: ${DOCKERFILE}
+ args:
+ BASE_IMAGE: ${BASE_IMAGE}
+ image: hicn-base
+ privileged: true
+ container_name: forwarder
+ working_dir: /workspace
+ volumes:
+ - ..:/workspace
+ entrypoint: [/bin/bash, -ex, -c]
+ command:
+ - |
+ if [ -d /workspace/build-dev ]; then
+ ninja -C /workspace/build-dev install
+ fi
+
+ sudo ip addr add 192.168.1.1/24 dev eth0
+ sudo hicn-light-daemon \
+ --daemon --log-file /tmp/lite_client.log
+
+ tail -f /dev/null