タグ

2023年12月1日のブックマーク (4件)

  • CIを高速化する技術⚡️ - 10X Product Blog

    この記事は 10X アドベントカレンダー2023 という企画の1日目(12/1)の記事です。 こんにちは、10Xでソフトウェアエンジニアをしている 岡野(@operandoOS)です。 今回 10Xで3回目となるアドベントカレンダー企画の1日目をありがたく担当させていただきます💪 目次 目次 10X アドベントカレンダー2023ってなに? さてさて、題へ CIは絶対に速い方がいい CIを高速化するテクニックの紹介 キャッシュの利用 マシン性能の調整 ジョブの並列実行とテスト分割 最適なテスト分割 ジョブの実行順序・依存関係の最適化 不要なジョブ・ステップを削除する テストコードの実行速度を上げる 紹介したテクニックを活用した10XでのCI高速化事例 アプリのビルド時間の大幅短縮に成功!! APIのテスト実行時間の大幅短縮に成功!! CIを高速化するために日々取り組んでいること CI/C

    CIを高速化する技術⚡️ - 10X Product Blog
    Kesin
    Kesin 2023/12/01
  • Lists are now available as a public beta

    December 9, 2021 Lists level up the starring experience by making it easy to organize and curate your favorite repositories on GitHub. You can create public lists that appear on your stars page at https://github.com/USERNAME?tab=stars. Lists are available to everyone except enterprise managed users. GitHub Enterprise Cloud customers participating in the audit log streaming public beta may now use

    Lists are now available as a public beta
    Kesin
    Kesin 2023/12/01
    Starを付けたリポジトリを分類できるリストなんてあったのか。2021年にbetaでリリースされて2023/12現在でもまだbetaだけど・・・(もしかして忘れ去られている?
  • 成果物のハッシュ値を保存・比較して余計なデプロイを行わないようにする for GitHub Actions

    タイトル通りです。GitHub Actions において、成果物のハッシュ値を保存・比較して余計なデプロイを行わないようにする方法を記します。 TL;DR 対象 ビルド・デプロイを GitHub Actions で行っている 余計なデプロイはしたくない 静的サイトのビルド時に成果物のハッシュ値(sha256)を計算して、前回のデプロイ時と同じであればデプロイをスキップする ファイル 1 つ 1 つのハッシュ値を計算し、全ハッシュ値からさらにハッシュ値を計算する コマンド find <成果物のあるディレクトリパス> -type f -print0 | sort --zero-terminated | xargs -0 sha256sum | cut -d ' ' -f 1 | sha256sum | cut -d ' ' -f 1 デプロイ時に計算したハッシュ値は GitHub Action

    成果物のハッシュ値を保存・比較して余計なデプロイを行わないようにする for GitHub Actions
    Kesin
    Kesin 2023/12/01
    ビルドで生成されたファイルのハッシュ値を見てデプロイをスキップする方法。似たアプローチは色々ありそうだけど覚えておくと困ったときに使えそう
  • GitHub Copilot – November 30th Update · GitHub Changelog

    AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. GitHub CopilotChange how you work with GitHub Copilot. LLMsEverything developers need to know about LLMs. Machine learningMachine learning tips, tricks, and best practices. How AI code generation worksExplore the capabilities and be

    GitHub Copilot – November 30th Update · GitHub Changelog
    Kesin
    Kesin 2023/12/01
    GitHub Copilotのアップデート。Copilot ChatがGPT-4にアップデート、提案されたコードがgithub上のどのコード由来かの詳細を表示、コミットメッセージの生成機能を追加など