Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
circleci.vim
Search
Yasuhiroki
August 23, 2019
Programming
0
1.7k
circleci.vim
CircleCI UserCommunity Meetup Tokyo #6 LT
Yasuhiroki
August 23, 2019
Tweet
Share
More Decks by Yasuhiroki
See All by Yasuhiroki
自分に勉強させるには
yasuhiroki
1
430
Android Studio `Command+Shift+A`
yasuhiroki
0
370
シェルスクリプトをサーバーレスで cron したい
yasuhiroki
1
870
rails new コマンド
yasuhiroki
1
810
自動化を習慣化する
yasuhiroki
2
15k
GitHub Actions Parallel Testing
yasuhiroki
1
1.3k
ベンチャー企業がCircleCIを選んだ理由と活用方法
yasuhiroki
1
830
Rubyの正規表現を調べてみた
yasuhiroki
0
930
開発者(個人)のためのJenkins 運用編
yasuhiroki
0
2.3k
Other Decks in Programming
See All in Programming
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.3k
JETLS.jl ─ A New Language Server for Julia
abap34
2
450
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
190
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
280
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
210
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
420
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
270
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
130
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
6
720
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
450
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
120
Featured
See All Featured
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
100
How to train your dragon (web standard)
notwaldorf
97
6.4k
Paper Plane (Part 1)
katiecoart
PRO
0
1.9k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
72
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.7k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
What does AI have to do with Human Rights?
axbom
PRO
0
1.9k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
290
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
510
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
27
Transcript
circleci.vim CircleCI UserCommunity Meetup #6 A10 Lab Inc. yasuhiroki
⾃自⼰己紹介
Twitter
Vimmer
本題
Vimmer ですか?
config.yml 書いてますか?
circleci.vim
なぜ circleci.vim を作ったのか • config.yml をもっと効率よく書きたい • circleci config validate
の出⼒力力が分かりづらい • 既存のプラグイン (vim-circleci) では満⾜足でき ない (省略略)
どこが間違っているでしょう?
circleci config validate $ circleci config validate Error: Config does
not conform to schema: {:workflows {:ci {:jobs [{:shellcheck/check {:exclude disallowed-key}} nil nil nil nil nil nil nil]}}}
circleci config validate $ circleci config validate Error: Config does
not conform to schema: {:workflows {:ci {:jobs [{:shellcheck/check {:exclude disallowed-key}} nil nil nil nil nil nil nil]}}} わからん
正解
正解 ひと⽬目で気づきたい
circleci.vim で ϋΠϥΠτをつける
typoしたとき
正しいとき
正しいとき ⾊色で気づける
ハイライト • ドキュメントに載っているキーに⾊色付け • ハイライトは4種類類 • type (string とか approval
とか) • steps (checkout とか save_cache とか ) • << >> と {{ }} <- こだわりポイント • その他 (version とか commands とか)
<< >> と {{ }} • シェルのリダイレクトとの⾒見見間違いを防⽌止
補完機能 (オムニ補完)
TODO: snippets • jobs とか filter とかのテンプレートがあると 便便利利そう
使ってみてください
https://github.com/ yasuhiroki/circleci.vim
ご清聴ありがとうございました
これでいいのか?
本当に求めていたもの
間違った記述をしている ⾏行行を教えてくれる Linter が欲しい
本当に求めていたもの ※ 適当な合成です
circleci config validate を ハックすれば何とかなる?
circleci config validate の中身
GraphQLでリクエストしている
GraphQL の詳細仕様は... https://discuss.circleci.com/t/any-documentation-on-the-graphql-api/29913/2
レスポンスの中身を⾒見見てみる
レスポンスの中身を⾒見見てみる ⾏行行数の情報はなさそう
間違った記述をしている ⾏行行を教えてくれる Linter が欲しい
間違った記述をしている ⾏行行を教えてくれる Linter が欲しい 何か情報があれば教えて
ご清聴ありがとうございました