371967f791
By using npm ci, we can make sure the versions of the helper libraries (e.g. Karma, Jasmine) we are testing with locally is the same as the versions we are using in the continuous integration system. The copying is needed because our docker recipe forces us to run as not root, and this was causing some issues. As a result, I changed the canvaskit test/perf to not re-use the same file as pathkit does so copying was easier and the dependencies between the two modules is broken. Bug: skia:11077 Change-Id: Ib05890d666d3507d4f724a4ae298484629c7932a Reviewed-on: https://skia-review.googlesource.com/c/skia/+/343503 Reviewed-by: Kevin Lubick <kjlubick@google.com>
19 lines
724 B
Makefile
19 lines
724 B
Makefile
EMSDK_VERSION=2.0.6_v1
|
|
|
|
# Can check CHROME_VERSION with
|
|
# docker run karma-chrome-tests /usr/bin/google-chrome-stable --version
|
|
CHROME_VERSION=87.0.4280.88_v1
|
|
|
|
publish_emsdk_base:
|
|
docker build --no-cache -t emsdk-base ./emsdk-base/
|
|
docker tag emsdk-base gcr.io/skia-public/emsdk-base:${EMSDK_VERSION}
|
|
docker push gcr.io/skia-public/emsdk-base:${EMSDK_VERSION}
|
|
docker tag emsdk-base gcr.io/skia-public/emsdk-base:prod
|
|
docker push gcr.io/skia-public/emsdk-base:prod
|
|
|
|
publish_karma_chrome_tests:
|
|
docker build --no-cache -t karma-chrome-tests ./karma-chrome-tests/
|
|
docker tag karma-chrome-tests gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION}
|
|
docker push gcr.io/skia-public/karma-chrome-tests:${CHROME_VERSION}
|
|
|