Hydra/ja: Difference between revisions
Updating to match new version of source page |
Created page with "公式のHydraサーバーは、Nixpkgsのアップデート時間を短縮するためにあらかじめ構築されたバイナリパッケージを提供しています。ユーザーは自分でコンピューターでコンパイルする必要はありません。" |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<languages /> | <languages /> | ||
{{note| HydraはNix/NixOSパッケージ開発者が使用することを目的としています。単にNixOSを利用しているだけの場合、使用する必要はありません。}} | |||
{{note| | |||
Hydraは、構築されたジョブとその依存関係を説明するために純粋に機能的な言語を使用する、継続的な統合テストおよびソフトウェアリリースのためのツールである。継続的インテグレーションとは、ソフトウェア開発プロセスの品質を向上させるための簡単な手法である。自動化されたシステムは、プロジェクトのソースコードを継続的または定期的にチェックし、作成し、テストを実行し、開発者向けのレポートを生成する。したがって、誤ってコードベースに取り込まれた可能性のあるさまざまなエラーが自動的に検出される。 | |||
公式のHydraサーバーは、Nixpkgsのアップデート時間を短縮するためにあらかじめ構築されたバイナリパッケージを提供しています。ユーザーは自分でコンピューターでコンパイルする必要はありません。 | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
| Line 24: | Line 18: | ||
</div> | </div> | ||
< | <syntaxhighlight lang="nix"> | ||
services.hydra = { | services.hydra = { | ||
enable = true; | enable = true; | ||
| Line 31: | Line 25: | ||
# a standalone Hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines | # a standalone Hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines | ||
buildMachinesFiles = []; | buildMachinesFiles = []; | ||
# you will probably also want, otherwise *everything* will be built from scratch | # you will probably also want this, otherwise *everything* will be built from scratch | ||
useSubstitutes = true; | useSubstitutes = true; | ||
}; | }; | ||
</ | </syntaxhighlight> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||