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
setup-vp GitLab対応の裏側
Search
Naoki Haba
September 15, 2026
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
setup-vp GitLab対応の裏側
非公式 Vue Fes Japan 2026 タイムテーブル解説会
https://andpad.connpass.com/event/398631/
Naoki Haba
September 15, 2026
More Decks by Naoki Haba
See All by Naoki Haba
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
90
Vite+ Unified Toolchain for the Web
naokihaba
0
960
Nuxt 4 の Singleton Data Fetching Layer で 何が変わるのか
naokihaba
1
2.5k
Laravel+PHPStanで始める実践的静的解析入門
naokihaba
2
840
Webからモバイルへ Vue.js × Capacitor 活用事例
naokihaba
0
1.5k
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
2.6k
unplugin-vue-routerで実現する Nuxt 風ファイルベースルーティング
naokihaba
1
290
VueUse: 5分で分かる Vue.js 開発の効率化術
naokihaba
5
4.5k
チームで始める_テスト文化のススメ
naokihaba
0
870
Other Decks in Programming
See All in Programming
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
120
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
310
CodeRabbitの効果検証と過ごしてみた3ヶ月
armondando
0
140
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
130
カツオ、ご期待ください
suneo3476
0
150
The Rails Doctrine Decade
koic
2
490
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
120
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
13
6.6k
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
670
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
440
contenteditable と日本語入力に向き合う
colorful12
0
110
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
740
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
How to Ace a Technical Interview
jacobian
280
24k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
550
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
Un-Boring Meetings
codingconduct
0
440
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
58k
Transcript
setup-vp GitLab対応の裏側 Naoki Haba 非公式 Vue Fes Japan 2026 タイムテーブル解説会
September 15, 2026
setup-vp Vite+ をCI環境で利用する際のセットアップを行なってくれる。 GitHub Actions/GitLab CI/CD/Azure Pipelines に対応。 https://github.com/voidzero-dev/setup-vp
ある日、Vite+ に要望が届く “GitLab CI/CDでもVite+を使えるようにしてほしい” https://github.com/voidzero-dev/vite-plus/issues/1920
GitLab CI/CD ごとに セットアップを自作する? セットアップの実装・保守も利用者側の責務になる 1 2 3 4 5
6 7 - run: | curl -fsSL https://vite.plus | bash echo "$HOME/.vite-plus/bin" >> "$GITHUB_PATH" - run: vp env use 24 - uses: actions/cache@v5 - run: vp install
setup-vp は GitHub Actions として 作られている そのままGitLab CI/CDから利用することはできない。 GitHub Actionsでは
“uses:” でGitHub上のリポジトリを Actionとして参照できる。 GitLab CI/CDにはこれと同じ仕組みがない。
setup-vp を GitLab CI/CD からも使いたい
GitLab 側に mirror を作る? 実装コストは低い しかし、更新同期・タグ・リリースの整合性など CI対応のためだけに運用対象が増える
GitHub で管理したまま GitLab CI/CD から参照したい GitLab CI/CDには、外部URLのYAMLを読み込める “include:remote” がある 1
include: 2 - remote: "https://raw.githubusercontent.com/voidzerodev/setup-vp/..."
include:remote で読み込めた これで完成? ……ではなかった。「読み込める」と「実行できる」は別 include:remote は外部のYAMLをCI設定に追加する仕組み。 読み込めても setup-vp を動かすための Node.js.
が 足りない
setup-vpを動かす Node.jsを誰が用意する?
GitLab CI/CDでは 実行環境をimageで選べる 1 test: 2 image: node:24 3 before_script:
4 - ./bootstrap.sh 5 - node dist/gitlab/index.mjs
setup-vpが Node.jsを用意すればよくない? 技術的にはできる。でも、責務が広がる。 Node.jsのセットアップには考慮事項が増える OS / CPU Architecture / Node.js
Version / PATH …
Node.js は GitLab CI/CDに 委ねる GitLab CI/CDにはimage で実行環境を選ぶ仕組みがある。 GitLabにある仕組みを、setup-vpで作り直さない。 setup-vpの責務を、必要以上に広げない。
まとめ OSSへの機能追加は、実装することだけではない。 期待・プラットフォーム・責務の「なぜ」を、愚直に一つずつ 理解していく。 その ”理解の積み重ね” が、トレードオフと向き合い、設計判断 するための土台になる。
Naoki Haba Software Engineer at ANDPAD Inc. Vite+ Team Member
Vue Fes Japan Core Team Member