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
scala-ojisan
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Toshiyuki Takahashi
March 30, 2021
Programming
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
scala-ojisan
scala-stewardを自前運用してみました
Toshiyuki Takahashi
March 30, 2021
Transcript
13 slides
scala-ojisan @tototoshi / rpscala #264
scala-steward-org/scala-steward ⾃動で Scala 関係のバージョンをあげてくれる bot renovatebot / dependabot / @xuwei-k
的なやつ
便利 でも設定めんどくさいんでしょう? 簡単です!!
使い⽅ repos-github.md に Pull Request するだけ
でも... すごく個⼈的なしょぼいやつを公式のリストに載せるのが気が引ける ⾃分で運⽤したい
⾃前運⽤ scala-steward は単体で動かせるのでどこかで稼働させる GitHub Actions を使う GitHub 使ってるなら多分これが⼀番楽 リポジトリごとに設定してもよし 1
つのリポジトリで全部管理してもよし
採⽤した⽅法 1 つのリポジトリで管理する tototoshi/scala-ojisan というリポジトリを作って repos.md を置く scala-steward-action を設定する tototoshi/scala-ojisan
の GitHub Actions で各リポジトリにプルリクを 送る scala-ojisan という個⼈⽤の GitHub App を作ってそのトークンを使う 権限は⾃分のリポジトリに対して content と pull-request の read/write
tototoshi/scala-ojisan
ディレクトリ構成 ├── │ └── │ └── └── これだけ でも困りポイントがいくつか
困りポイント GitHub のどのトークン使えば良いかわからん p - デフォルトのやつだと CI がキックされない 個⼈のトークン使うと bot
ではなく⾃分のコミットになってしまう
詳しくはこちら GitHub Actions と scala-steward を組み合わせて token や bot account
の ⽤意すらせずに pull req を送ってもらう⽅法 - xuwei-k's blog scala-steward を独⾃に作った GitHub App(bot)で動かす⽅法 - xuwei-k's blog
感想など 最新バージョンを追えるので便利 ちょっと放置してしまってたリポジトリの作業を再開するのに便利 常に新鮮なプロジェクトテンプレートが⼿に⼊る 細かいアップデートのコミットが増えるので merge コミットがうざくな ってくる vs vs
戦争が勃発しそう 以上です
Q & A Pull Requestが増えて⼤変そう 設定でPull Requestの頻度(daily/weekly/monthly)を変えると良さそう ⾃動マージなどを活⽤すると良さそう
More Decks by Toshiyuki Takahashi
See All by Toshiyuki Takahashi
Purely Functional Programming with Cats Effect 3 and Scala 3 [ScalaMatsuri2022]
tototoshi
0
7.9k
5年ぶりにPHPを書いた話
tototoshi
0
360
Steps to master the Play source code
tototoshi
1
570
flyway-play
tototoshi
2
2.2k
Template Engines in Scala
tototoshi
1
4k
Play と Scala のこれまでとこれから
tototoshi
1
2.1k
Other Decks in Programming
See All in Programming
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
360
SODA - FACT BOOK(EN)
sodainc
1
310
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
200
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
450
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
880
Apache Airflow Introduction
leew
1
100
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
650
Jujutsu で毎日のバージョン管理に「安心」と「直感性」を
oukayuka
0
130
初学者向け 分散トレーシングとDatadog
mtaka1222
0
120
はじめてのPLATEAU
nokonoko1203
1
680
Featured
See All Featured
A better future with KSS
kneath
240
18k
Mind Mapping
helmedeiros
1
460
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
30 Presentation Tips
portentint
PRO
1
480
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
320
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
Become a Pro
speakerdeck
PRO
31
6.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
How STYLIGHT went responsive
nonsquared
100
6.4k