$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ラズパイでもCircleCI - Armサポートを使ってみた
Search
Masahiko Funaki(舟木 将彦)
May 19, 2021
Programming
1
420
ラズパイでもCircleCI - Armサポートを使ってみた
Masahiko Funaki(舟木 将彦)
May 19, 2021
Tweet
Share
More Decks by Masahiko Funaki(舟木 将彦)
See All by Masahiko Funaki(舟木 将彦)
mabl MCP x 生成AIによる開発・テスト自動化の未来 - コンテクスト駆動型のAI体験 -
mfunaki
1
75
テスト自動化がさらに加速!生成AIが作成・修正・分析まで行う『エージェント型テスト』の全貌
mfunaki
1
180
Playwrightとmablのパワフルな統合: 効率的なテスト自動化を実現する新機能を学ぶ!
mfunaki
1
250
AIで進化するソフトウェアテスト:mablの最新生成AI機能でQAを加速!
mfunaki
1
300
Harness the Power of Advanced LLM and CI/CD Practices
mfunaki
0
400
CircleCI によるソフトウェア開発の品質向上と効率化の実現
mfunaki
0
300
CircleCI と Argo Rollouts で 実現する Kubernetes 上の プログレッシブデリバリー
mfunaki
0
200
はじめてのCircleCI
mfunaki
0
80
CircleCIでChatGPTにエラーの解説を頼んでみた
mfunaki
0
650
Other Decks in Programming
See All in Programming
Microservices rules: What good looks like
cer
PRO
0
1.6k
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
1.6k
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.4k
Navigating Dependency Injection with Metro
l2hyunwoo
1
170
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
930
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
120
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
160
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
430
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
170
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
520
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
2
450
Developing static sites with Ruby
okuramasafumi
0
320
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
130
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
90
Reality Check: Gamification 10 Years Later
codingconduct
0
1.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
14
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
41
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
96
Tell your own story through comics
letsgokoyo
0
750
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
0
60
Transcript
1 ラズパイでもCircleCI Armサポートを使ってみた https://github.com/mayoct/CCI-RPI-TempHum CircleCI Developer Advocate 舟木 将彦
2 自己紹介
3 CircleCI ランナーを使うと ①自分の手元の環境 (Your Systems)上で CircleCIのジョブを実行することができる ②ローンチエージェント (root権限) がCircleCIに常に御用聞き
→実行すべきジョブがあれば、 作業指示を受け取り ③タスクエージェント (指定ユーザ) に下請けに出す ※なので、例えばAWS上で動作し ていれば、IAMの権限割当が可能 ④ジョブ実行内容はクラウド側 (S3) で保持されるので ⑤CircleCIの画面上で普通に 実行結果を参照可能
4 こんな疑問、持ちませんでしたか? 1. どのローンチエージェントに対するジョブ実行指示なのか、どうやって指定 するのですか?
5 こんな疑問、持ちませんでしたか? 2. CircleCIランナー、どこで実行させることが可能ですか? 回答 • runner.circleci.com, circleci-binary-releases.s3.amazonaws.com への アウトバウンド
HTTPS 接続が可能な場所 3. CircleCIランナー、どの環境の上で実行させることが可能ですか? 回答
6 Arm64 + Ubuntuと聞くと、普通は https://aws.amazon.com/jp/ec2/graviton/
7 Arm64 + Ubuntuと聞くと、私は https://ubuntu.com/download/raspberry-pi https://ubuntu.com/download/raspberry-pi/thank-you?version=20.04.2&architecture=server-arm64+raspi
8 やってみた • https://circleci.com/ja/blog/physical-computing-with-circleci-1/ • https://circleci.com/ja/blog/physical-computing-with-circleci-2/ • https://circleci.com/ja/blog/physical-computing-with-circleci-3/
9
10 学んだこと&今後公開予定 • ランナーすげー(エージェントの設定まですれば良い意味でランナーを意識不要 ) • ハードウェアアクセスには適切な権限が必要 (sudoグループに入れない!)→次スライド • ラズパイ上でコンパイルは時間の浪費
(なんといってもストレージがmicroSD) Arm Executor上でのビルド記事を早く出すようにします! 組み込みなんか 興味ないよ!と いう方も Armで
11 プロジェクト設定+エージェント権限にご注意を リポジトリがpublic(だれでもフォークできる)+ Build forked pull requests(フォーク先からの プルリクもビルド実行する)がONになっていると、 (さらにタスクエージェントにsudo権限を与えたり すると)
セキュリティリスクにつながので、要注意!
Thank you. 12