Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
20181107-gitlab-women-mikit.pdf
Search
mikiT
December 07, 2018
490
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20181107-gitlab-women-mikit.pdf
mikiT
December 07, 2018
More Decks by mikiT
See All by mikiT
サブドメインテイクオーバー事例紹介と対策について
mikit
24
13k
APRICOT-APAN 2015とNOCチーム
mikit
0
130
ドメイン名の終活について - JPAAWG 7th -
mikit
39
36k
show catalogs; - Trino Japan community meetup 2024 -
mikit
0
530
dnsops.jp - CNDT2023 コミュニティLT
mikit
0
310
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1370
210k
Building Adaptive Systems
keathley
44
3.3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
600
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
770
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
480
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Claude Code のすすめ
schroneko
67
230k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Transcript
gitlab ci pipeline 活⽤TIPSと要望 GitLab Women (GitLab Meetup Tokyo #11)
NTTコミュニケーションズ株式会社 技術開発部 ⾼⽥ 美紀
⾃⼰紹介 • ⾼⽥ 美紀 (たかた みき) @mikit_t • NTTコミュニケーションズ株式会社 –
技術開発部: 研究開発部⾨ – テーマ: データ分析基盤の構築と運⽤ • DSL: Data Science Lab – dnsops.jp 幹事 • private – うさぎ – ⾼校3年JK: 吹奏楽 – 写真 2018/11/7 2 GitLab Women (GitLab Meetup Tokyo #11)
2018/11/7 GitLab Women (GitLab Meetup Tokyo #11) 3 Fx Fx
蓄積 分析 可視化 収集 ホットデータ データ収集・ETL コールドデータ 分析処理(SQL) F DSL@オンプレ環境 DSL@クラウド環境 Metabase & 異常検知処理 R Markdown リアルタイム分析 バッチ分析 ・Docker上に各ミドルウェアを配置して実施する⽅針としている。 DSLの分析基盤の概要
2018/11/7 GitLab Women (GitLab Meetup Tokyo #11) 4 DSL基盤 論理構成(⼀部抜粋)
kafka01 〜 07 core01 〜 03 note01 〜 03 Docker Docker Swarm 2375 2377 Docker 2375 kubem tesla01 〜 04 Kubernetes 6443 Docker 2375
Gitlab利⽤状況 • Oldest created project: 2013/10 • ユーザ数: 231 2018/11/7
GitLab Women (GitLab Meetup Tokyo #11) 5
.GITLAB-CIをCRONTAB的に使う 本題 2018/11/7 GitLab Women (GitLab Meetup Tokyo #11) 6
スケジュール設定 5,15,25,35,45,55 * * * * 0 4 * *
* 7 0,6,9,12,15,18,21 * * * 7 3 * * * 2018/11/7 GitLab Women (GitLab Meetup Tokyo #11) 7 スケジュール
各々のスケジュール設定 • 別々の時間帯に、それぞ れ別々のスクリプトを実 ⾏したい • 起動時間などとともに、 環境変数を設定しておく 2018/11/7 GitLab
Women (GitLab Meetup Tokyo #11) 8
別々のjobを⾛らせるために • .gitlab-ci.ymlでのステージ設定 – 環境変数が設定されていなければ exit 2018/11/7 GitLab Women (GitLab
Meetup Tokyo #11) 9
実⾏されないjobの結果 • 実⾏すべきタイミングでない(=環境変数が設 定されてない)場合、Job succeeded で終了 2018/11/7 GitLab Women (GitLab
Meetup Tokyo #11) 10
pipeline表⽰が… • Succededで終わる関係上、いつ、どのjobが 実⾏されたか、わからない! 2018/11/7 GitLab Women (GitLab Meetup Tokyo
#11) 11
その他の困りごと • アカウントロック→jobが全部inactiveにL – アカウントに紐づいたjobを⼀覧したい – もしかしてAPIで簡単にできたりする? 2018/11/7 GitLab Women
(GitLab Meetup Tokyo #11) 12