mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-08 17:42:56 +01:00
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
# we support merge request workflow only
|
|
include:
|
|
- local: '.gitlab/ci/*.yml'
|
|
|
|
workflow:
|
|
rules:
|
|
- if: $CI_MERGE_REQUEST_IID
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_SERVER_HOST == "gitlab.com"'
|
|
variables:
|
|
PUSH_CUSTOM_IMAGE: "true"
|
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && ($CI_SERVER_HOST == "ops.gitlab.net" || $CI_SERVER_HOST == "dev.gitlab.org")'
|
|
variables:
|
|
PUSH_CUSTOM_IMAGE: "true"
|
|
BASE_BUILD_REGISTRY_IMAGE: $CI_REGISTRY_IMAGE
|
|
|
|
default:
|
|
interruptible: true
|
|
image: ${BASE_BUILD_REGISTRY_IMAGE}/debian-bullseye-slim:docker-${DOCKER_VERSION}
|
|
services:
|
|
- docker:${DOCKER_VERSION}-dind
|
|
tags:
|
|
- gitlab-org-docker
|
|
|
|
stages:
|
|
- automation
|
|
- custom
|
|
- customers
|
|
- docker
|
|
- e2e
|
|
- ep
|
|
- gitaly
|
|
- gitlab
|
|
- gitlab-assets
|
|
- gitlab-chart
|
|
- gitlab-cng
|
|
- gitlab-kas
|
|
- gitlab-workhorse
|
|
- report
|
|
|
|
variables:
|
|
DOCKER_HOST: tcp://docker:2375
|
|
BASE_BUILD_REGISTRY_IMAGE: registry.gitlab.com/gitlab-org/gitlab-build-images
|
|
DOCKER_VERSION: "24.0.5"
|
|
|
|
dont-interrupt-me:
|
|
stage: .pre
|
|
interruptible: false
|
|
script:
|
|
- echo "This jobs makes sure this pipeline won't be interrupted! See https://docs.gitlab.com/ee/ci/yaml/#interruptible."
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
allow_failure: true
|
|
- if: $CI_MERGE_REQUEST_IID
|
|
when: manual
|
|
allow_failure: true
|
|
|
|
cache-chrome-chromium:
|
|
extends: .cache-google-chrome
|