gitlab-build-images/.gitlab-ci.yml
Rémy Coutable 73ac2428a2
Introduce dedicated deploy stages for gitlab, gitlab-assets, and gitaly images
Signed-off-by: Rémy Coutable <remy@rymai.me>
2022-03-22 11:23:30 +01:00

37 lines
768 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
- deploy-gitlab
- deploy-gitlab-assets
- deploy-gitaly
- automation
variables:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375
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: []