-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
62 lines (60 loc) · 1.43 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
62 lines (60 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# =========================================================
# 🦊 GitLab CI/CD Pipeline
# =========================================================
#
# Purpose
# -------
# Main GitLab CI/CD entry point.
#
# GitLab automatically discovers ONLY this file.
#
# Additional pipeline definitions are split into smaller
# files under `.gitlab/` and imported via `include`.
#
# Architecture
# ------------
#
# .gitlab-ci.yml
# ├── .gitlab/ci.yml
# ├── .gitlab/python-package.yml
# ├── .gitlab/docker-dev.yml
# ├── .gitlab/docker-prod.yml
# └── .gitlab/release.yml
#
# GitHub Equivalent
# -----------------
#
# .github/workflows/
# ├── ci.yml
# ├── docker-dev.yml
# ├── docker-prod.yml
# └── release.yml
#
# Responsibilities
# ----------------
# - Validation / Testing
# - Python package validation and private GitLab PyPI publication
# - Development Docker Images
# - Production Docker Images
# - Release Creation
#
# Notes
# -----
# GitLab:
# - Discovers only `.gitlab-ci.yml`
# - Does NOT automatically discover
# `.gitlab/*.yml`
#
# =========================================================
stages:
- test
- package
- docker
- publish
- release
include:
- local: ".gitlab/ci.yml"
- local: ".gitlab/python-package.yml"
- local: ".gitlab/docker-dev.yml"
- local: ".gitlab/docker-prod.yml"
- local: ".gitlab/release.yml"