summaryrefslogtreecommitdiffstats
path: root/test-scheduler
diff options
context:
space:
mode:
authorQibin Zheng <QibinZheng2014@tongji.edu.cn>2019-01-14 15:44:37 +0800
committerQibin Zheng <QibinZheng2014@tongji.edu.cn>2019-01-25 10:19:36 +0800
commit135a65d7947c1729e86aeaa5a5b2837665927320 (patch)
treef7d5f420e428cae6c34a8a7f09d62436ff51931c /test-scheduler
parent1296d177d1dc0932369162bfbba2c8f730808479 (diff)
Fix test-scheduler build bugs.
JIRA: BOTTLENECK-249 1. set the conductor version at v1.10.4 2. conductor ui container: update natives to the version 1.1.6 3. scheduler ui container: update the npm to the version 6.7.0 Change-Id: I1ed975f79ce1696a59474a15c721db40509550a1 Signed-off-by: Qibin Zheng <QibinZheng2014@tongji.edu.cn>
Diffstat (limited to 'test-scheduler')
-rw-r--r--test-scheduler/docker/plugin/build.sh1
-rw-r--r--test-scheduler/docker/ui/pre-builder/Dockerfile1
2 files changed, 2 insertions, 0 deletions
diff --git a/test-scheduler/docker/plugin/build.sh b/test-scheduler/docker/plugin/build.sh
index d5523b49..079f2d1e 100644
--- a/test-scheduler/docker/plugin/build.sh
+++ b/test-scheduler/docker/plugin/build.sh
@@ -25,4 +25,5 @@ docker rm -f $plugin_container
#build the images of conductor.
cd $tmppath/conductor/docker
+sed -i '/&& npm install/a\ && npm i natives@1.1.6 -S \\' ui/Dockerfile
docker-compose build
diff --git a/test-scheduler/docker/ui/pre-builder/Dockerfile b/test-scheduler/docker/ui/pre-builder/Dockerfile
index 92fbda32..4144ce2e 100644
--- a/test-scheduler/docker/ui/pre-builder/Dockerfile
+++ b/test-scheduler/docker/ui/pre-builder/Dockerfile
@@ -12,6 +12,7 @@ MAINTAINER x-lab/Leo
WORKDIR /home/test-scheduler/ui
COPY ./ui .
+RUN npm install npm@6.7.0 -g
RUN npm install
RUN npm run build