File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+
4
+ export RESTATE_CONTAINER_IMAGE=${RESTATE_CONTAINER_IMAGE:- " ghcr.io/restatedev/restate:main" }
5
+ export SERVICES_CONTAINER_IMAGE=${SERVICES_CONTAINER_IMAGE:- " localhost/restatedev/test-services:latest" }
6
+
7
+ export SERVICES=InterpreterDriverJob
8
+ export NODE_ENV=production
9
+ export NODE_OPTIONS=" --max-old-space-size=4096"
10
+ export AWS_LAMBDA_FUNCTION_NAME=1
11
+ export DEBUG=testcontainers:containers
12
+
13
+ SEED=$( date --iso-8601=seconds)
14
+
15
+ export INTERPRETER_DRIVER_CONF=$( cat << -EOF
16
+ {
17
+ "seed" : "${SEED} ",
18
+ "keys" : 100000,
19
+ "tests" : 1000000,
20
+ "maxProgramSize" : 20,
21
+ "crashInterval" : 900000,
22
+ "bootstrap" : true
23
+ }
24
+ EOF
25
+ )
26
+
27
+ echo $RESTATE_CONTAINER_IMAGE
28
+
29
+ docker pull ghcr.io/restatedev/e2e-verification-runner:main
30
+
31
+ docker run \
32
+ --net host\
33
+ -v /var/run/docker.sock:/var/run/docker.sock \
34
+ --env RESTATE_CONTAINER_IMAGE \
35
+ --env SERVICES_CONTAINER_IMAGE \
36
+ --env SERVICES \
37
+ --env NODE_ENV \
38
+ --env NODE_OPTIONS \
39
+ --env AWS_LAMBDA_FUNCTION_NAME \
40
+ --env DEBUG \
41
+ --env INTERPRETER_DRIVER_CONF \
42
+ ghcr.io/restatedev/e2e-verification-runner:main 2>&1 | grep -v " undefined is not a number, but it still has feelings"
43
+
You can’t perform that action at this time.
0 commit comments