mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Run cache step on all branches
This commit is contained in:
parent
5a7bc29e71
commit
a62236ad5b
1 changed files with 6 additions and 3 deletions
|
|
@ -1,5 +1,10 @@
|
|||
image: docker:git
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- automation
|
||||
|
||||
services:
|
||||
- docker:dind
|
||||
|
||||
|
|
@ -114,15 +119,13 @@ omnibus-gitlab-xenial: *build_and_deploy
|
|||
sitespeed-gitlab: *build_and_deploy
|
||||
|
||||
cache-google-chrome:
|
||||
stage: build
|
||||
stage: automation
|
||||
variables:
|
||||
MOUNT_POINT: /builds/$CI_PROJECT_PATH/mnt
|
||||
script:
|
||||
- mkdir -p "$MOUNT_POINT"
|
||||
- cp scripts/cache-google-chrome $MOUNT_POINT
|
||||
- docker run -e "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID" -e "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY" -v "$MOUNT_POINT:/mnt" ubuntu:16.04 /mnt/cache-google-chrome
|
||||
only:
|
||||
- master
|
||||
|
||||
# Old Google Chrome images are listed here for reference:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue