From 52fd7b7d77d5d922e0a2ca3c28785a6ad450b49b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 1 Jun 2020 19:09:18 +0200 Subject: tools: add syz-big-env On top of syz-env it provides akaros/fuchsia/netbsd toolchains and gcloud sdk. With this it's possible to run dashboard/app tests on CI and locally and test executor build and pkg/{csource,cover} for these OSes. Update #1765 --- tools/syz-env | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/syz-env') diff --git a/tools/syz-env b/tools/syz-env index e8686cf6c..182db8752 100755 --- a/tools/syz-env +++ b/tools/syz-env @@ -47,6 +47,10 @@ if [ "$COMMAND" == "" ]; then fi SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)" +IMAGE="env" +if [ "$(basename -- "$0")" == "syz-big-env" ]; then + IMAGE="big-env" +fi # Run everything as the host user, this is important for created/modified files. docker run \ @@ -62,4 +66,4 @@ docker run \ --env GITHUB_SHA \ --env CI \ ${DOCKERARGS[@]} \ - gcr.io/syzkaller/env -c "$COMMAND" + gcr.io/syzkaller/${IMAGE} -c "$COMMAND" -- cgit mrf-deployment