gitlab-build-images/.gitlab-ci.yml
Lukas Eipert a9c5fa7b10 Cache Google Chrome deb with generic packages rather than AWS
We currently cache Google Chrome deb files in AWS. Since GitLab 14.8
Generic Packages have become generally available. So in order to remove
the dependency on AWS and to dogfood the feature, we are going to cache
the Google Chrome deb files with GitLab

https://docs.gitlab.com/ee/user/packages/generic_packages/
2022-02-22 13:32:13 +01:00

34 lines
699 B
YAML

# we support merge request workflow only
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- local: '.gitlab/ci/*.yml'
default:
image: docker:20.10.9-git
services:
- docker:20.10.9-dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- apk add -U bash
tags:
- gitlab-org-docker
stages:
- test
- deploy
- automation
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375
cache-google-chrome:
image: ubuntu:16.04
stage: automation
# Starts the job immediately
needs: []
script:
- bash ./scripts/cache-google-chrome
# disable DinD
before_script: []
services: []