Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Gitlab CI 入門
Search
Jerry
March 19, 2019
Technology
350
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gitlab CI 入門
Jerry
March 19, 2019
More Decks by Jerry
See All by Jerry
LoK101.pdf
cheng
0
290
Other Decks in Technology
See All in Technology
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
MIRU 2026 チュートリアル
keisuke198619
0
860
つくって納得、つかって実感! 大規模言語モデルことはじめ ver2.0
recruitengineers
PRO
3
1.1k
【CEDEC2026】グラフィックスエンジニアのためのニューラルシェーディング入門
cygames
PRO
0
120
【CEDEC2026】『ウマ娘 プリティーダービー』 英語版のキャラクターの方言や口調をローカライズするための創造的アプローチ
cygames
PRO
1
200
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
19k
クラウドセキュリティ入門 ~安全なクラウド利用のための基礎知識~
lhazy
11
8.3k
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.4k
え?フロントエンドエンジニアの ワイがインフラも!?
puku0x
1
420
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
160
QAエンジニア起点で進める、SmartHRにおける信頼性向上について
kaomi_wombat
1
120
AI時代の強いチームの作り方
yuukiyo
25
16k
Featured
See All Featured
A better future with KSS
kneath
240
18k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
4 Signs Your Business is Dying
shpigford
187
22k
KATA
mclloyd
PRO
35
15k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
200
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
520
Designing Powerful Visuals for Engaging Learning
tmiket
1
480
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
590
Product Roadmaps are Hard
iamctodd
55
12k
Utilizing Notion as your number one productivity tool
mfonobong
4
520
How to make the Groovebox
asonas
2
2.3k
Transcript
GITLAB CI JERRY CHENG
• Jerry Cheng • DevOps Engineer • Software
Engineer Agile (?) DevOps •
AGENDA • CI/CD • Why Gitlab CI •
Gitlab CI • Gitlab
CI/CD
CI/CD Syntax Check Test Build Artifacts Deploy Syntax Check
Test Build Artifacts Deploy Syntax Check Test Build Artifacts Deploy
WHY GITLAB CI • ! "Gitlab CI Gitlab
• " .gitlab-ci.yml • job container " • Container Registry
None
None
None
.GITLAB-CI.YML CI/CD https://docs.gitlab.com/ce/ci/yaml/
SCRIPT https://gitlab.com/gitlab-ci-start/sayhi
IMAGE https://gitlab.com/gitlab-ci-start/use-image • Image •
STAGES & JOB https://gitlab.com/gitlab-ci-start/stages-and-job
ARTIFACTS & DEPENDENCIES • Artifacts • Job •
Composer install >> ./vendor • Dependencies • job https://gitlab.com/gitlab-ci-start/artifacts
DOCKER • Services • Link container •
Docker in Docker https://gitlab.com/gitlab-ci-start/use-docker
BUILD & DEPLOY composer install docker build (nginx/php) deploy (qa)
tag (deploy to staging) deploy to production https://gitlab.com/gitlab-ci-start/build-and-deploy
GITLAB • Docker • Kubernetes
DOCKER GITLAB • docker-compose • docker-compose pull &&
docker-compose up –d () • host 22port • https://docs.gitlab.com/omnibus/do cker/#install-gitlab-using-docker- compose
K8S ! GITLAB • Helm chart (K8S Package
Manager) • • Gitlab • Gitlab CI Runner (unprivileged) • Storage (PostgreSQL/Redis/Minio/Container Registry) • Nginx Ingress Controller ( # tcp22 gitlab shell service) • Cert Manager • "! domain • gitlab.yourdomain • registry.yourdomain • minio.yourdomain • • https://docs.gitlab.com/ce/install/kubernetes/gitlab _chart.html • Chart • https://gitlab.com/charts/gitlab/tree/master • https://gitlab.com/gitlab-ci-start/gitlab-chart-values
GITLAB CI RUNNER • Gitlab • ..
• https://docs.gitlab.com/runner/
• • CI/CD •
THANKS FOR LISTEN