Skip to content

Commit c69673b

Browse files
authored
[interpreter] Remove the docker-compose based setup (#359)
1 parent 3b3cf3b commit c69673b

File tree

5 files changed

+39
-142
lines changed

5 files changed

+39
-142
lines changed

.github/workflows/verification.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
password: ${{ env.GHCR_REGISTRY_TOKEN }}
3333

3434
- run: ./run.sh
35-
working-directory: services/node-services
35+
working-directory: verification

services/node-services/compose/compose.template.yml

-70
This file was deleted.

services/node-services/compose/run.sh

-71
This file was deleted.

verification/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Nightly verification changes
2+
3+

verification/run.sh

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/usr/bin/env bash
2+
3+
export SERVICES=InterpreterDriverJob
4+
export NODE_ENV=production
5+
export NODE_OPTIONS="--max-old-space-size=4096"
6+
export AWS_LAMBDA_FUNCTION_NAME=1
7+
export DEBUG=testcontainers:containers
8+
9+
SEED=$(date --iso-8601=seconds)
10+
11+
export INTERPRETER_DRIVER_CONF=$(cat <<-EOF
12+
{
13+
"seed" : "${SEED}",
14+
"keys" : 100000,
15+
"tests" : 1000000,
16+
"maxProgramSize" : 50,
17+
"crashInterval" : 900000,
18+
"bootstrap" : true
19+
}
20+
EOF
21+
)
22+
23+
docker pull ghcr.io/restatedev/e2e-node-services:main
24+
25+
docker run \
26+
--net host\
27+
-v /var/run/docker.sock:/var/run/docker.sock \
28+
--env SERVICES \
29+
--env NODE_ENV \
30+
--env NODE_OPTIONS \
31+
--env AWS_LAMBDA_FUNCTION_NAME \
32+
--env DEBUG \
33+
--env INTERPRETER_DRIVER_CONF \
34+
ghcr.io/restatedev/e2e-node-services:main 2>&1 | grep -v "undefined is not a number, but it still has feelings"
35+

0 commit comments

Comments
 (0)