1cb93a386Sopenharmony_cigold_docker_image: aggregator 2cb93a386Sopenharmony_ci # Set the build context to the current work dir, so we can copy 3cb93a386Sopenharmony_ci # the built binary to where we need it. 4cb93a386Sopenharmony_ci docker build -t gold-karma-chrome-tests -f ./docker/gold-karma-chrome-tests/Dockerfile . 5cb93a386Sopenharmony_ci 6cb93a386Sopenharmony_ciperf_docker_image: aggregator 7cb93a386Sopenharmony_ci # Set the build context to the current work dir, so we can copy 8cb93a386Sopenharmony_ci # the built binary to where we need it. 9cb93a386Sopenharmony_ci docker build -t perf-karma-chrome-tests -f ./docker/perf-karma-chrome-tests/Dockerfile . 10cb93a386Sopenharmony_ci 11cb93a386Sopenharmony_ciaggregator: 12cb93a386Sopenharmony_ci mkdir -p ./tmp 13cb93a386Sopenharmony_ci CGO_ENABLED=0 GOOS=linux go build -o ./tmp/gold-aggregator -a ./gold/ 14cb93a386Sopenharmony_ci mkdir -p ./tmp 15cb93a386Sopenharmony_ci CGO_ENABLED=0 GOOS=linux go build -o ./tmp/perf-aggregator -a ./perf/ 16cb93a386Sopenharmony_ci 17cb93a386Sopenharmony_ci# Can check CHROME_VERSION with 18cb93a386Sopenharmony_ci# docker run karma-chrome-tests /usr/bin/google-chrome-stable --version 19cb93a386Sopenharmony_ciCHROME_VERSION=87.0.4280.88_v2 20cb93a386Sopenharmony_ci 21cb93a386Sopenharmony_cipublish_gold_karma_chrome_tests: gold_docker_image 22cb93a386Sopenharmony_ci docker tag gold-karma-chrome-tests gcr.io/skia-public/gold-karma-chrome-tests:${CHROME_VERSION} 23cb93a386Sopenharmony_ci docker push gcr.io/skia-public/gold-karma-chrome-tests:${CHROME_VERSION} 24cb93a386Sopenharmony_ci 25cb93a386Sopenharmony_cipublish_perf_karma_chrome_tests: perf_docker_image 26cb93a386Sopenharmony_ci docker tag perf-karma-chrome-tests gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION} 27cb93a386Sopenharmony_ci docker push gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION} 28