mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Cache chromium for arm64 builds
This commit is contained in:
parent
7d5f25b97e
commit
292fe33fba
7 changed files with 156 additions and 90 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue