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
How STYLIGHT went responsive
nonsquared
100
6.3k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
590
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
310
The Cult of Friendly URLs
andyhume
79
7k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
460
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
330
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
470
Embracing the Ebb and Flow
colly
88
5.2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
550
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.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