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
170
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
710
Actions Runner Controller Deep Dive
jnytnai0613
4
900
沈め!KubernetesOperator沼!!
jnytnai0613
5
850
[Alpha] PodでUserNamespaceを使おう
jnytnai0613
0
900
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Building the Perfect Custom Keyboard
takai
2
670
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Darren the Foodie - Storyboard
khoart
PRO
2
2.2k
Ruling the World: When Life Gets Gamed
codingconduct
0
130
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Claude Code のすすめ
schroneko
67
210k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
200
Designing Experiences People Love
moore
144
24k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.9k
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も是非ご覧ください!