CI / CD パイプラインで詰まった話

YutaSudo
February 20, 2025

CI / CD パイプラインで詰まった話

YutaSudo

February 20, 2025

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

31 slides
  1. 自己紹介 須藤 裕太 RUNTEQ 63期bクラス Ruby on Rails やJavaScriptをメインで学習中 X(Twitter) @dochin26

    職歴 10年ほど駅業務を経験 → トラック配送 趣味 ボードゲーム(カタン・ワイナリー・街コロ) 2
  2. Backend Ruby on Rails, Nginx Frontend Next.js Infra Docker, AWS

    (ECS Fragate), GithubAction 参考資料: https://zenn.dev/ddpmntcpbr/books/rna-hands-on 技術スタック CI / CD パイプラインで詰まった話 2025.02.20 須藤 裕太 12
  3. #14 11.85 Attempted to load @next/swc-linux-x64-gnu, but an error occurred:

    /app/ #14 11.85 Attempted to load @next/swc-linux-x64-musl, but an error occurred: /app/ #14 12.03 ⨯ Failed to load SWC binary for linux/x64, see more info here: #14 12.06 > Build error occurred SWC関連でエラーが出ていました エラー内容 CI / CD パイプラインで詰まった話 2025.02.20 須藤 裕太 20
  4. 設定を変更 next.json.js module.exports = { swcMinify: false } .babelrc {

    "presets": ["next/babel"] } 試したこと CI / CD パイプラインで詰まった話 2025.02.20 須藤 裕太 23
  5. #14 12.03 ⨯ Failed to load SWC binary for linux/x64,

    see more info here: Linux/x64 の記載がある! このSWCはnode_moduleディレクトリにある node_moduleのサイズが670MBもある これをGithubにアップロードするものなのか? エラーを見直す CI / CD パイプラインで詰まった話 2025.02.20 須藤 裕太 25
  6. 5/24 AWS 1570円 5/31 AWS 524円 7/2 AWS 5963円 8/2

    AWS 1036円 合計 9093円 ← 少々高額? 終わったら必ず削除しましょう! 費用 CI / CD パイプラインで詰まった話 2025.02.20 須藤 裕太 30

More Decks by YutaSudo

Other Decks in Programming