SlideShare a Scribd company logo
Automated Dependency Updates
with Renovate
@teppeis
Cybozu Meetup #14
Jun 21, 2018
Hello!
4 @teppeis
4
4
4
!
+
"
+
#
=
$
4 Deckset
2
!
npm
A.
B.
C. Greenkeeper
3
!
4
4
4 deprecated ...
4
4
4
4
5
6
!
Greenkeeper
7
8
☠
9
10
11
12
13
☠
14
!
Why?
15
https://www.reddit.com/r/ProgrammerHumor/comments/6s0wov/heaviest_objects_in_the_universe/ 16
npm
17
18
Renovate
19
20
Renovate
4 https://renovatebot.com
4 PR GitHub App
4 Greenkeeper
21
Renovate
4
4
/
22
What's Renovate?
Renovate saves you time and reduces risk in software
projects by automating the tedious process of
updating dependencies.
Behaviour is fully customizable so there is a setting to
suit everybody.
23
24
!
1. https://github.com/apps/renovate
2. Onboarding PR
3. renovate.json
4 PR
4. PR
25
!
Demo
26
https://github.com/apps/renovate
28
!
Greenkeeper
1. push
2.
3. CI
4.
29
!
Renovate
1. push
2.
3. CI
4. ←
30
Auto Merge
31
!
PR
1. push
2. ←
3. CI
4.
32
!
4 major, minor, patch
4 patch
4 major
4 deps, devDeps, peerDeps
4 (deps "fix: ", "chore: ")
4 GitHub PR
33
!
4
4 typescript semver minor major
4 @types/node major
4
4 ESLint PR
4 @babel, @angular monorepo
34
⏰
4
4 0 8
4
4
4 npm publish 24
35
!
4 lock file (npm/yarn)
4 Greenkeeper ...
4 monorepo
4 package.json OK
4 Greenkeeper v3
36
!
Docker / CirlceCI
Docker Hub
(digest)
4 Dockerfile From
4 Node Docker
.circleci/config.yml
4 Node 6/8/10 CI
4 CircleCI digest
4 ( yarn )
37
!
4 Bazel, Python, PHP (!)
4 GitHub GitLab, VSTS
4 self-hosting
4 OSS CLI GitHub App
4
4 GitHub Enterprise
38
!
Shareable Config
4 npm
4 ESLint
4 npm install
4 ex) https://github.com/teppeis/renovate-config
4 ↑ GitHub
4 Cybozu OSS
ex) https://github.com/kintone/plugin-packer
39
!
Renovate
1. base timezone
2. devDeps pin
!
:preserveSemverRanges
3. patch automerge
4.
5. shareable config
40
!
renovate.json
{
"extends": [
"config:base",
":timezone(Asia/Tokyo)",
":preserveSemverRanges",
":automergePatch"
],
"schedule": "before 8am on Monday"
}
41
!
4
4 patch minor
4
4
!
4 Renovate
42
!
4
!
4
!
4 (@rarkins)
4
4
43
44
!
Donate!
45
!
100 100
npm
46
Tips:
4 https://renovatebot.com/dashboard
4 Renovate
4
4
47

More Related Content

What's hot (20)

PDF
10分でわかる Cilium と XDP / BPF
Shuji Yamada
 
PDF
Amazon Aurora - Auroraの止まらない進化とその中身
Amazon Web Services Japan
 
PDF
NetflixにおけるPresto/Spark活用事例
Amazon Web Services Japan
 
PDF
手乗りちょまぎょアプリ開発で学ぶ MRTK 入門 (MRTK 2.5 対応)
Madoka Chiyoda
 
PDF
マイクロサービス時代の認証と認可 - AWS Dev Day Tokyo 2018 #AWSDevDay
都元ダイスケ Miyamoto
 
PDF
コンテナの作り方「Dockerは裏方で何をしているのか?」
Masahito Zembutsu
 
PPTX
Goss入門
ShuyaMotouchi1
 
PPTX
GitLab CI/CD パイプライン
Tetsurou Yano
 
PDF
高校生に仕事の面白さを伝える法
Mizuhiro Kaimai
 
PDF
入門 Kubeflow ~Kubernetesで機械学習をはじめるために~ (NTT Tech Conference #4 講演資料)
NTT DATA Technology & Innovation
 
PDF
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)
akira6592
 
PDF
SharePoint Online を JavaScript でイジる。
Hirofumi Ota
 
PDF
私のチームのリーダブルコード
Keisuke Tameyasu
 
PDF
PyconJP2017 Kivyによるアプリケーション開発のすすめ
Jun Okazaki
 
PDF
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
whywaita
 
PPTX
「Atomic Design × Nuxt.js」コンポーネント毎に責務の範囲を明確にしたら幸せになった話
gree_tech
 
PDF
Protocol Buffers 入門
Yuichi Ito
 
PDF
Azure Infrastructure as Code 体験入隊
Toru Makabe
 
PDF
AWSのログ管理ベストプラクティス
Akihiro Kuwano
 
PDF
MySQL 5.7の罠があなたを狙っている
yoku0825
 
10分でわかる Cilium と XDP / BPF
Shuji Yamada
 
Amazon Aurora - Auroraの止まらない進化とその中身
Amazon Web Services Japan
 
NetflixにおけるPresto/Spark活用事例
Amazon Web Services Japan
 
手乗りちょまぎょアプリ開発で学ぶ MRTK 入門 (MRTK 2.5 対応)
Madoka Chiyoda
 
マイクロサービス時代の認証と認可 - AWS Dev Day Tokyo 2018 #AWSDevDay
都元ダイスケ Miyamoto
 
コンテナの作り方「Dockerは裏方で何をしているのか?」
Masahito Zembutsu
 
Goss入門
ShuyaMotouchi1
 
GitLab CI/CD パイプライン
Tetsurou Yano
 
高校生に仕事の面白さを伝える法
Mizuhiro Kaimai
 
入門 Kubeflow ~Kubernetesで機械学習をはじめるために~ (NTT Tech Conference #4 講演資料)
NTT DATA Technology & Innovation
 
Ansible とネットワーク自動化の概要(SmartCS と Ansible の連携による自動化の可能性を体験!)
akira6592
 
SharePoint Online を JavaScript でイジる。
Hirofumi Ota
 
私のチームのリーダブルコード
Keisuke Tameyasu
 
PyconJP2017 Kivyによるアプリケーション開発のすすめ
Jun Okazaki
 
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
whywaita
 
「Atomic Design × Nuxt.js」コンポーネント毎に責務の範囲を明確にしたら幸せになった話
gree_tech
 
Protocol Buffers 入門
Yuichi Ito
 
Azure Infrastructure as Code 体験入隊
Toru Makabe
 
AWSのログ管理ベストプラクティス
Akihiro Kuwano
 
MySQL 5.7の罠があなたを狙っている
yoku0825
 

Similar to Automated Dependency Updates with Renovate (20)

PDF
CNCF_ A step to step guide to platforming your delivery setup.pdf
LibbySchulze
 
PDF
Gerrit Analytics applied to Android source code
Luca Milanesio
 
PDF
Next Level DevOps Implementation with GitOps
Ramadoni Ashudi
 
PDF
GitLab: Remote and Open (2018-07-16 @ The New Digital School's Business Of Te...
Pedro Moreira da Silva
 
PPTX
DevOps for Hackathons: DevOps without the Ops
Or Rosenblatt
 
PPTX
Python Usefulness
Vipul Petkar
 
PDF
GitOps Core Concepts & Ways of Structuring Your Repos
Weaveworks
 
DOCX
6 most essential front end web & app development tools
AsadIjaz9
 
PDF
Prepara tu entorno para Magento 2
Óscar Recio Soria
 
PDF
SAP Inside Track Munich 2018 - DevOps and Deployment Pipelines in ABAP Landsc...
Sascha Junkert
 
PDF
Extreme SAFe - Turning Up the Flow in PI Execution
Em Campbell-Pretty
 
PDF
和艦長一起玩轉 GitLab & GitLab Workflow
Chen Cheng-Wei
 
PDF
Rejekts 24 EU No GitOps Pain, No Platform Gain
Łukasz Piątkowski
 
PDF
Introducing the new "react-native upgrade"
Nicolas Cuillery
 
PDF
Deploying Rails Apps with Chef and Capistrano
SmartLogic
 
PPTX
Beyond Gerrit @ Gerrit User Summit 2017, London
Jacek Centkowski
 
PDF
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
TomHalpin9
 
PDF
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
eoinhalpin99
 
PPTX
Github Action 開始簡易入門 DevOps,自動化你的專案 (LearnWeb Taiwan Meetup #15)
LearnWeb Taiwan
 
PPTX
SaaS Boilerplate.pptx
DuyKhi8
 
CNCF_ A step to step guide to platforming your delivery setup.pdf
LibbySchulze
 
Gerrit Analytics applied to Android source code
Luca Milanesio
 
Next Level DevOps Implementation with GitOps
Ramadoni Ashudi
 
GitLab: Remote and Open (2018-07-16 @ The New Digital School's Business Of Te...
Pedro Moreira da Silva
 
DevOps for Hackathons: DevOps without the Ops
Or Rosenblatt
 
Python Usefulness
Vipul Petkar
 
GitOps Core Concepts & Ways of Structuring Your Repos
Weaveworks
 
6 most essential front end web & app development tools
AsadIjaz9
 
Prepara tu entorno para Magento 2
Óscar Recio Soria
 
SAP Inside Track Munich 2018 - DevOps and Deployment Pipelines in ABAP Landsc...
Sascha Junkert
 
Extreme SAFe - Turning Up the Flow in PI Execution
Em Campbell-Pretty
 
和艦長一起玩轉 GitLab & GitLab Workflow
Chen Cheng-Wei
 
Rejekts 24 EU No GitOps Pain, No Platform Gain
Łukasz Piątkowski
 
Introducing the new "react-native upgrade"
Nicolas Cuillery
 
Deploying Rails Apps with Chef and Capistrano
SmartLogic
 
Beyond Gerrit @ Gerrit User Summit 2017, London
Jacek Centkowski
 
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
TomHalpin9
 
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
eoinhalpin99
 
Github Action 開始簡易入門 DevOps,自動化你的專案 (LearnWeb Taiwan Meetup #15)
LearnWeb Taiwan
 
SaaS Boilerplate.pptx
DuyKhi8
 
Ad

More from Teppei Sato (20)

PDF
Node.js Native ESM への道 〜最終章: Babel / TypeScript Modules との闘い〜
Teppei Sato
 
PDF
サイボウズの給与交渉戦 - Boss Side -
Teppei Sato
 
PDF
Recent compat-table issues
Teppei Sato
 
PDF
kintoneがAWSで目指すDevOpsQAな開発
Teppei Sato
 
PDF
君はyarn.lockをコミットしているか?
Teppei Sato
 
PDF
サイボウズのフロントエンド開発 現在とこれからの挑戦
Teppei Sato
 
PDF
サイボウズの現在と未来
Teppei Sato
 
PDF
離れた場所でも最高のチームワークを実現する方法 ーサイボウズ開発チームのリモートワーク事例ー
Teppei Sato
 
PDF
サイボウズの開発を支えるKAIZEN文化
Teppei Sato
 
PDF
JavaScript Language Update 2016 (LLoT)
Teppei Sato
 
PDF
You Don't Know ES Modules
Teppei Sato
 
PDF
Closure Compiler Updates for ES6
Teppei Sato
 
PDF
ES6 in Practice
Teppei Sato
 
PDF
Our wish to Flowtype
Teppei Sato
 
PDF
Effective ES6
Teppei Sato
 
PDF
Flowtype Introduction
Teppei Sato
 
PDF
Closure CompilerのES6対応 あるいはES6時代のAltJS生存戦略
Teppei Sato
 
PDF
本当のClosure Compilerをお見せしますよ。
Teppei Sato
 
PDF
DockerがYAVAY!
Teppei Sato
 
PDF
JavaScript Unit Test Why? What? How?
Teppei Sato
 
Node.js Native ESM への道 〜最終章: Babel / TypeScript Modules との闘い〜
Teppei Sato
 
サイボウズの給与交渉戦 - Boss Side -
Teppei Sato
 
Recent compat-table issues
Teppei Sato
 
kintoneがAWSで目指すDevOpsQAな開発
Teppei Sato
 
君はyarn.lockをコミットしているか?
Teppei Sato
 
サイボウズのフロントエンド開発 現在とこれからの挑戦
Teppei Sato
 
サイボウズの現在と未来
Teppei Sato
 
離れた場所でも最高のチームワークを実現する方法 ーサイボウズ開発チームのリモートワーク事例ー
Teppei Sato
 
サイボウズの開発を支えるKAIZEN文化
Teppei Sato
 
JavaScript Language Update 2016 (LLoT)
Teppei Sato
 
You Don't Know ES Modules
Teppei Sato
 
Closure Compiler Updates for ES6
Teppei Sato
 
ES6 in Practice
Teppei Sato
 
Our wish to Flowtype
Teppei Sato
 
Effective ES6
Teppei Sato
 
Flowtype Introduction
Teppei Sato
 
Closure CompilerのES6対応 あるいはES6時代のAltJS生存戦略
Teppei Sato
 
本当のClosure Compilerをお見せしますよ。
Teppei Sato
 
DockerがYAVAY!
Teppei Sato
 
JavaScript Unit Test Why? What? How?
Teppei Sato
 
Ad

Recently uploaded (20)

PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 

Automated Dependency Updates with Renovate