Cache chromium for arm64 builds

This commit is contained in:
Andrejs Cunskis 2022-09-27 09:17:36 +00:00 committed by Rémy Coutable
parent 7d5f25b97e
commit 292fe33fba
7 changed files with 156 additions and 90 deletions

View file

@ -1,8 +1,12 @@
# we support merge request workflow only
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- local: '.gitlab/ci/*.yml'
workflow:
rules:
- if: $CI_MERGE_REQUEST_IID
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
default:
image: ${BASE_BUILD_REGISTRY_IMAGE}/debian-bullseye-slim:docker-20.10.14-buildx-0.8
services:
@ -22,14 +26,7 @@ stages:
variables:
DOCKER_HOST: tcp://docker:2375
BASE_BUILD_REGISTRY_IMAGE: registry.gitlab.com/gitlab-org/gitlab-build-images
cache-google-chrome:
image: debian:bullseye-slim
stage: automation
# Starts the job immediately
needs: []
script:
- bash ./scripts/cache-google-chrome
# disable DinD
before_script: []
services: []
cache-chrome-chromium:
extends: .cache-google-chrome