EngineeringMeasuring Git performance with OpenTelemetryUse our new open source Trace2 receiver component and OpenTelemetry to capture and visualize telemetry from your Git commands. When I think about large codebases, the repositories for Microsoft Windows and Office are top of mind. When Microsoft began migrating these codebases to Git in 2017, they contained 3.5M files and a full clone was more
PolyrepoとMonorepo これはアソビュー! Advent Calendar 2022の23日目です。 アソビューでVPoE兼Tech Leadをしているdisc99🐼です! 今回は、Monorepo運用の事例紹介をさせてもらえればと思います! アソビューではほぼすべてのGitリポジトリを統合したMonorepo運用を2年以上行っています。 最近では特定の技術領域やプロダクトに対してMonorepoを適用した事例は増えてきています。 しかし、社内のほぼすべてのソースコードを1つのMonorepoで管理している組織はまだ多くないと思いますので、参考になれば幸いです。 今回はなぜMonorepoに移行したかや、具体的にどのような管理をしているか、また今後の展望などを公開します! 🐣なぜMonorepoなのか 背景 Monorepoとは? 素早さ 分かりやすさ 管理のしやすさ その
こんにちは、インフラ部の id:sue445 です。 前回に引き続きGitLabのGCP移行について紹介します。 前編の記事はこちらになります inside.pixiv.blog 今回の目次 今回の目次 やったこと2: 実際にGCPに構築した GitLab構築に関係するリポジトリの構成 gcp-gitlab-terraform gcp-gitlab-playbook gcp-gitlab-helm 備考 全体の構成図 webservice (GitLab本体) GitLab CI 3rd party製のDockerイメージから公式のDockerイメージに移行した Docker Swarmは継続利用 GitLabを複数ゾーンで動かすための準備だけした やりたかった構成 現在の構成 Cloud IAPとTunneling SSH Connectionsを利用したgitアクセス Tunnelin
EngineeringOpen SourceHighlights from Git 2.39Another new release of Git is here to end the year! Take a look at some of our highlights on what's new in Git 2.39. The open source Git project just released Git 2.39, with features and bug fixes from over 86 contributors, 31 of them new. We last caught up with you on the latest in Git back when 2.38 was released. To celebrate this most recent release
はじめに gitを使いソフトウェアを管理することは多いです。 今回はVimに依存することで、git生活をより快適に送るTipsを紹介します。 1. git commit実行時のテンプレートにprefixを追加する commitメッセージを書く際にprefixを先頭に書くことは多いです。 よく使うprefixなら、commitメッセージを書くときに逐一確認できる環境を作りたいですよね。 gitコマンドを使うことで、git commitを実行した際に特定の文字列をテンプレートとして挿入できます。 コミットメッセージの書き方自体は、以下の記事を参考にしました。 https://qiita.com/konatsu_p/items/dfe199ebe3a7d2010b3e # feat: A new feature # fix: A bug fix # docs: Documentation onl
こんにちは、インフラ部の id:sue445 です。 先日ピクシブ社内で利用しているGitLabをオンプレミス環境からGCPに移行しました。 とても長いので全3回にわけて紹介したいと思います。 全体の構成 前編:前置きとアーキテクチャ検討 中編:環境構築 後編:実際の移行作業とその前後の対応。移行後の所感など 今回の目次 全体の構成 今回の目次 tl;dr; 移行の理由 筆者略歴 GitLab移行の時系列 やったこと1: アーキテクチャ検討 構成図 GitLabをクラウドに移行するための障壁をまとめた URLをどうするか Cloud IAP利用時の通信のオーバーヘッドをなくしたい 実際にGCP移行した後の構成 AWSでPoC環境を作った時の構成 LDAPからの依存をやめたい&複数のログイン方法を統一したい ssh接続時にあるLDAP依存を不要にしたい 余談 AWS移行案 GCP移行案 Gi
EngineeringOpen SourceThe Story of ScalarNew to Git v2.38, Scalar is a built-in repository manager for large repos. Here, we’ll tell the story of how Scalar went from a rough VFS for Git successor to a fully-integrated Git tool, with all of the engineering lessons learned in the process. When you install Git v2.38, you’ll find a new executable tool available called scalar. At its core, Scalar enab
EngineeringOpen SourceHighlights from Git 2.38Another new release of Git is here! Take a look at some of our highlights on what's new in Git 2.38. The open source Git project just released Git 2.38, with features and bug fixes from over 92 contributors, 24 of them new. We last caught up with you on the latest in Git back when 2.37 was released. To celebrate this most recent release, here’s GitHub’
GitHub Actions Workflow Best Practices こんにちは。2022年新卒入社の上田です。現在は本配属前のジョブロで ABEMA に所属しております。 この記事では GitHub Actions workflow/job 作成に関するベストプラクティスをまとめました。 workflow/job 追加時に参照できるチェックリストとしてご利用いただけるような一記事として公開しています。堅牢で安全な CI/CD pipeline を作る参考になれば幸いです。 (ジョブロ:メディア事業部における新卒研修の一環として二ヶ月間実施される本配属前のジョブローテーション研修) 自己紹介 GitHub Actions は Beta v1 の頃から利用しており、個人としても peaceiris/actions-gh-pages などをはじめとして、いくつかのサードパーティー Ac
EngineeringOpen SourceImprove Git monorepo performance with a file system monitorMonorepo performance can suffer due to the sheer number of files in your working directory. Git’s new builtin file system monitor makes it easy to speed up monorepo performance. If you have a monorepo, you’ve probably already felt the pain of slow Git commands, such as git status and git add. These commands are slow b
Git開発チームの濱野純氏は6月27日(現地時間)、分散型バージョン管理ツール「Git」の最新版「Git v2.37.0」をリリースしました(Phoronix、The GitHub Blog)。 Git v2.37.0はv2.36.0以来、20人の新人を含む75人の貢献者によって作成された、395件の非マージコミットで構成されたリリースとなっています。 Git v2.37では、到達不能なオブジェクトを"cruft pack"にパックする機能の追加や、WindowsとmacOS用の組み込みのファイルシステム・モニターの追加、スパースインデックスのより広範囲な導入等が行われています。 大きな作業ディレクトリを使用している場合、例えばgit statusを実行すると、Gitはどのファイルが変更されたかのを把握するために、作業ディレクトリ全体をクロール必要があります。Git 2.37ではファイルの
EngineeringOpen SourceHighlights from Git 2.36Another new release of Git is here! Take a look at some of our highlights on what's new in Git 2.36. The open source Git project just released Git 2.36, with features and bug fixes from over 96 contributors, 26 of them new. We last caught up with you on the latest in Git back when 2.35 was released. To celebrate this most recent release, here’s GitHub’
EngineeringOpen SourceHighlights from Git 2.35The open source Git project just released Git 2.35. Here's GitHub's look at some of the most interesting features and changes introduced since last time. The open source Git project just released Git 2.35, with features and bug fixes from over 93 contributors, 35 of them new. We last caught up with you on the latest in Git back when 2.34 was released.
EngineeringOpen SourceMake your monorepo feel small with Git’s sparse indexThe new sparse index feature makes it feel like you are working in a small repository when working in a focused portion of a monorepo. One way that Git scales to the largest monorepos is the sparse-checkout feature, which allows you to focus on a subset of the files. This is supposed to make it feel like you are actually in
こんにちは、SWETでCI/CDチームの前田( @mad_p )です。 SWETではCI/CDチームの一員として、Jenkins運用のサポートや、CI/CD回りのノウハウ蓄積・研究をしています。 はじめに Gitリポジトリをクローンすると、ローカルフォルダにはそのリポジトリの全体がダウンロードされ .git というフォルダに格納されます。ブランチをチェックアウトすると、ブランチ内のファイルがワーキングツリーとして展開されます。この様子を図にするとこのようになります。 この .git とワーキングツリーの使うディスク容量を節約しようというのが今回のお話です。特にJenkinsにおいて、大きめのGitリポジトリをクローンしてくる場合に課題があり、いろいろ工夫してみたので、その結果を紹介します。同じCI/CDチームの加瀬による記事「大規模リポジトリで高速にgit cloneするテクニック」と内容
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く