From d18465a224f375fdbf7217f5be10a3280df93563 Mon Sep 17 00:00:00 2001 From: stas Date: Thu, 3 Dec 2020 14:03:01 -0800 Subject: [PATCH] fix zap requirements --- cli/raft-tools/tools/ZAP/config.json | 5 ++++- cli/raft-tools/tools/ZAP/requirements.txt | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cli/raft-tools/tools/ZAP/config.json b/cli/raft-tools/tools/ZAP/config.json index 7eba08bc..687fd658 100644 --- a/cli/raft-tools/tools/ZAP/config.json +++ b/cli/raft-tools/tools/ZAP/config.json @@ -3,11 +3,14 @@ "run" : { "command" : "bash", "arguments" : ["-c", - "sleep $RAFT_STARTUP_DELAY; touch /.dockerenv; cd $RAFT_TOOL_RUN_DIRECTORY; ln -s $RAFT_WORK_DIRECTORY /zap/wrk; python3 run.py install; python3 run.py" ] + "sleep $RAFT_STARTUP_DELAY; cd $RAFT_TOOL_RUN_DIRECTORY; ln -s $RAFT_WORK_DIRECTORY /zap/wrk; python3 run.py install; python3 run.py" ] }, "idle" : { "command" : "bash", "arguments" : ["-c", "echo DebugMode; while true; do sleep 100000; done;"] + }, + "environmentVariables" :{ + "IS_CONTAINERIZED" : "true" } } diff --git a/cli/raft-tools/tools/ZAP/requirements.txt b/cli/raft-tools/tools/ZAP/requirements.txt index 372a51c7..23509fab 100644 --- a/cli/raft-tools/tools/ZAP/requirements.txt +++ b/cli/raft-tools/tools/ZAP/requirements.txt @@ -1,2 +1,2 @@ -applicationinsights -azure-servicebus \ No newline at end of file +applicationinsights~=0.11.9 +azure-servicebus~=0.50.3 \ No newline at end of file