mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 02:52:56 +01:00
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/
34 lines
699 B
YAML
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: []
|