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
dotfilesで盆栽してみない?
Search
Junya Taniai
August 27, 2025
0
130
dotfilesで盆栽してみない?
Geeks Who Drink in Fukuoka ~わたしの『好き』と『これまで』~
https://nulab.connpass.com/event/361974/
で使用した資料です。
Junya Taniai
August 27, 2025
Tweet
Share
More Decks by Junya Taniai
See All by Junya Taniai
Actions Runner Controllerを利用したPlatform Engineering
jnytnai0613
1
580
Actions Runner Controller Deep Dive
jnytnai0613
4
810
沈め!KubernetesOperator沼!!
jnytnai0613
5
830
[Alpha] PodでUserNamespaceを使おう
jnytnai0613
0
800
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
53k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Embracing the Ebb and Flow
colly
87
4.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
The Invisible Side of Design
smashingmag
301
51k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Navigating Team Friction
lara
189
15k
Typedesign – Prime Four
hannesfritz
42
2.8k
Automating Front-end Workflow
addyosmani
1370
200k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
113
20k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Transcript
dotfilesで盆栽してみない?
自己紹介 谷合 純也 / Junya Taniai クラウドインフラエンジニア@AP Communications Platform Engineering
/ Internal Developer Platform (IDP) GitHub Actions / Actions Runner Controller の運用基盤を構築・改善 Terraform / Argo CD / Backstage / dotfiles など育成中 Speaker Deck: jnytnai0613 GitHub: jnytnai0613 X: jnytnai0530
dotfilesってなんなん? dotfiles とは ~/.vimrc、~/.zshrc、〜/.config/ などのホームディレクトリ 直下にある . で始まるファイルやディレクトリのことです。 これを集約し、GitHubリポジトリなどに置いて再セットアップの手間を大幅に 低減しようという試みのこと。
魅力 環境の再現が爆速 名刺代わりになる モテる(?) 何よりも育てる楽しさ
育てている設定 ファイルたち 🖥️ .zshrc 📦 "AQUA" aqua.yaml 🍺 "Brew" Brewfile
🔌 "Krew" krewfile ✨ "Starship" starship.toml 🎨 "git-cz" change.config.js 🎨 "VSCode" setting.json
とりまリンク貼ろ? 以降で説明するが、各種ツールの構成情報や設定ファ イルは全自動でGitHubに保存する。 これらのファイル はシンボリックリンクとして紐付け、dotfiles側に変 更をリンクさせる。 ln -sf $(pwd)/.zshrc ~/.zshrc
ln -sf $(pwd)/.config/starship.toml ~/.config/starship.toml ln -sf $(pwd)/.config/aqua/aqua.yaml ~/.config/aqua/aqua.yaml ln -sf $(pwd)/.config/brew/brewfile ~/.config/brew/brewfile ln -sf $(pwd)/.config/krew/krewfile ~/.config/krew/krewfile ln -sf $(pwd)/changelog.config.js ~/changelog.config.js
Taskrunnerで自動 化しよう Homebrewやkrewでインストールしたツールはdumpとし て保存する。 util:brewbundle: # desc: brew bundle dump
summary: | Brewfileの出力 aliases: - bd cmd: brew bundle dump -f --file=~/.config/brew/brewfile silent: true util:krewbundle: # desc: krew dump summary: | krewfileの出力 aliases: - kd cmd: kubectl krew list | awk '{print}' > ~/.config/krew/krewfile silent: true
GitHubへのPushと Mergeも全自動化 _git:auto: summary: | git add, commit, push までを自動化
cmds: - git fetch --prune --all - git checkout origin/HEAD - git add . - git commit -m"{{.TITLE}}" - git push origin HEAD:refs/heads/{{.BRANCH}} -f _git:gh: summary: | - GitHub CLI を使用して PR を作成し、オートマージを設定する cmds: - gh pr create -t "{{.TITLE}}" -b "" -l "" -H "{{.BRANCH}}" -B "m - sleep 1 - gh pr merge "{{.BRANCH}}" --auto -s - git switch main - git pull origin main
Thanks 普段育てている盆栽dotfilesも是非ご覧ください!