From dc038113a5ae05e8ebdc32ff82620c55cbef8bec Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 10 Oct 2017 12:54:25 +0100 Subject: [PATCH] build(aio): freeze yarn lockfile for aio-builds-setup scripts (#19616) PR Close #19616 --- aio/aio-builds-setup/dockerbuild/Dockerfile | 2 +- aio/aio-builds-setup/scripts/create-image.sh | 2 +- aio/aio-builds-setup/scripts/test.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aio/aio-builds-setup/dockerbuild/Dockerfile b/aio/aio-builds-setup/dockerbuild/Dockerfile index b45f9c220d..5bbe6c670d 100644 --- a/aio/aio-builds-setup/dockerbuild/Dockerfile +++ b/aio/aio-builds-setup/dockerbuild/Dockerfile @@ -156,7 +156,7 @@ RUN find $AIO_SCRIPTS_SH_DIR -maxdepth 1 -type f -printf "%P\n" \ # Set up the Node.js scripts COPY scripts-js/ $AIO_SCRIPTS_JS_DIR/ WORKDIR $AIO_SCRIPTS_JS_DIR/ -RUN yarn install --production +RUN yarn install --production --freeze-lockfile # Set up health check diff --git a/aio/aio-builds-setup/scripts/create-image.sh b/aio/aio-builds-setup/scripts/create-image.sh index 86c6905bcf..4d35376ef0 100755 --- a/aio/aio-builds-setup/scripts/create-image.sh +++ b/aio/aio-builds-setup/scripts/create-image.sh @@ -9,7 +9,7 @@ readonly defaultImageNameAndTag="aio-builds:latest" # (Necessary, because only `scripts-js/dist/` is copied to the docker image.) ( cd "$SCRIPTS_JS_DIR" - yarn install + yarn install --freeze-lockfile --non-interactive yarn build ) diff --git a/aio/aio-builds-setup/scripts/test.sh b/aio/aio-builds-setup/scripts/test.sh index 06a9fb76b1..b449bd8270 100755 --- a/aio/aio-builds-setup/scripts/test.sh +++ b/aio/aio-builds-setup/scripts/test.sh @@ -7,6 +7,6 @@ source "`dirname $0`/_env.sh" # Test `scripts-js/` ( cd "$SCRIPTS_JS_DIR" - yarn install + yarn install --freeze-lockfile --non-interactive yarn test )