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
For a Future-Friendly Web
brad_frost
181
10k
Ethics towards AI in product and experience design
skipperchong
2
180
Information Architects: The Missing Link in Design Systems
soysaucechin
0
750
4 Signs Your Business is Dying
shpigford
187
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Agile that works and the tools we love
rasmusluckow
331
21k
Building AI with AI
inesmontani
PRO
1
650
Un-Boring Meetings
codingconduct
0
190
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
First, design no harm
axbom
PRO
2
1.1k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
160
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
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も是非ご覧ください!