Jump To Close Expand all Collapse all Table of contents CI/CD 1. OpenShift Container Platform CI/CD の概要 Expand section "1. OpenShift Container Platform CI/CD の概要" Collapse section "1. OpenShift Container Platform CI/CD の概要" 1.1. OpenShift Builds 1.2. OpenShift Pipeline 1.3. OpenShift GitOps 1.4. Jenkins 2. ビルド Expand section "2. ビルド" Collapse section "2. ビルド" 2.1. イメージビルドについて Expand section "2.1. イメージビルドについて" Collapse section "2.1. イメージビルドについて" 2.1.1. ビルド Expand section "2.1.1. ビルド" Collapse section "2.1.1. ビルド" 2.1.1.1. Docker ビルド 2.1.1.2. Source-to-Image ビルド 2.1.1.3. カスタムビルド 2.1.1.4. パイプラインビルド 2.2. ビルド設定について Expand section "2.2. ビルド設定について" Collapse section "2.2. ビルド設定について" 2.2.1. BuildConfig 2.3. ビルド入力の作成 Expand section "2.3. ビルド入力の作成" Collapse section "2.3. ビルド入力の作成" 2.3.1. ビルド入力 2.3.2. Dockerfile ソース 2.3.3. イメージソース 2.3.4. Git ソース Expand section "2.3.4. Git ソース" Collapse section "2.3.4. Git ソース" 2.3.4.1. プロキシーの使用 2.3.4.2. ソースクローンのシークレット Expand section "2.3.4.2. ソースクローンのシークレット" Collapse section "2.3.4.2. ソースクローンのシークレット" 2.3.4.2.1. ソースクローンシークレットのビルド設定への自動追加 2.3.4.2.2. ソースクローンシークレットの手動による追加 2.3.4.2.3. .gitconfig ファイルからのシークレットの作成 2.3.4.2.4. セキュリティー保護された Git の .gitconfig ファイルからのシークレットの作成 2.3.4.2.5. ソースコードの基本的な認証からのシークレットの作成 2.3.4.2.6. ソースコードの SSH キー認証からのシークレットの作成 2.3.4.2.7. ソースコードの信頼されている認証局からのシークレットの作成 2.3.4.2.8. ソースシークレットの組み合わせ Expand section "2.3.4.2.8. ソースシークレットの組み合わせ" Collapse section "2.3.4.2.8. ソースシークレットの組み合わせ" 2.3.4.2.8.1. .gitconfig ファイルでの SSH ベースの認証シークレットの作成 2.3.4.2.8.2. .gitconfig ファイルと CA 証明書を組み合わせるシークレットの作成 2.3.4.2.8.3. CA 証明書ファイルを使用した Basic 認証のシークレットの作成 2.3.4.2.8.4. .gitconfig ファイルを使用した Basic 認証シークレットの作成 2.3.4.2.8.5. .gitconfig ファイルと CA 証明書を使用した Basic 認証シークレットの作成 2.3.5. バイナリー (ローカル) ソース 2.3.6. 入力シークレットおよび設定マップ Expand section "2.3.6. 入力シークレットおよび設定マップ" Collapse section "2.3.6. 入力シークレットおよび設定マップ" 2.3.6.1. シークレットの概要 Expand section "2.3.6.1. シークレットの概要" Collapse section "2.3.6.1. シークレットの概要" 2.3.6.1.1. シークレットのプロパティー 2.3.6.1.2. シークレットの種類 2.3.6.1.3. シークレットの更新 2.3.6.2. シークレットの作成 2.3.6.3. シークレットの使用 2.3.6.4. 入力シークレットおよび設定マップの追加 2.3.6.5. Source-to-Image ストラテジー 2.3.6.6. Docker ストラテジー 2.3.6.7. カスタムストラテジー 2.3.7. 外部アーティファクト 2.3.8. プライベートレジストリーでの docker 認証情報の使用 2.3.9. ビルド環境 Expand section "2.3.9. ビルド環境" Collapse section "2.3.9. ビルド環境" 2.3.9.1. 環境変数としてのビルドフィールドの使用 2.3.9.2. 環境変数としてのシークレットの使用 2.3.10. サービス提供証明書のシークレット 2.3.11. シークレットの制限 2.4. ビルド出力の管理 Expand section "2.4. ビルド出力の管理" Collapse section "2.4. ビルド出力の管理" 2.4.1. ビルド出力 2.4.2. アウトプットイメージの環境変数 2.4.3. アウトプットイメージのラベル 2.5. ビルドストラテジーの使用 Expand section "2.5. ビルドストラテジーの使用" Collapse section "2.5. ビルドストラテジーの使用" 2.5.1. Docker ビルド Expand section "2.5.1. Docker ビルド" Collapse section "2.5.1. Docker ビルド" 2.5.1.1. Dockerfile FROM イメージの置き換え 2.5.1.2. Dockerfile パスの使用 2.5.1.3. docker 環境変数の使用 2.5.1.4. docker ビルド引数の追加 2.5.1.5. Docker ビルドによる層の非表示 2.5.1.6. ビルドボリュームの使用 2.5.2. Source-to-Image ビルド Expand section "2.5.2. Source-to-Image ビルド" Collapse section "2.5.2. Source-to-Image ビルド" 2.5.2.1. Source-to-Image (S2I) 増分ビルドの実行 2.5.2.2. Source-to-Image (S2I) ビルダーイメージスクリプトの上書き 2.5.2.3. Source-to-Image 環境変数 Expand section "2.5.2.3. Source-to-Image 環境変数" Collapse section "2.5.2.3. Source-to-Image 環境変数" 2.5.2.3.1. Source-to-Image 環境ファイルの使用 2.5.2.3.2. Source-to-Image ビルド設定環境の使用 2.5.2.4. Source-to-Image ソースファイルを無視する 2.5.2.5. Source-to-Image によるソースコードからのイメージの作成 Expand section "2.5.2.5. Source-to-Image によるソースコードからのイメージの作成" Collapse section "2.5.2.5. Source-to-Image によるソースコードからのイメージの作成" 2.5.2.5.1. Source-to-Image ビルドプロセスについて 2.5.2.5.2. Source-to-Image スクリプトの作成方法 2.5.2.6. ビルドボリュームの使用 2.5.3. カスタムビルド Expand section "2.5.3. カスタムビルド" Collapse section "2.5.3. カスタムビルド" 2.5.3.1. カスタムビルドの FROM イメージの使用 2.5.3.2. カスタムビルドでのシークレットの使用 2.5.3.3. カスタムビルドの環境変数の使用 2.5.3.4. カスタムビルダーイメージの使用 Expand section "2.5.3.4. カスタムビルダーイメージの使用" Collapse section "2.5.3.4. カスタムビルダーイメージの使用" 2.5.3.4.1. カスタムビルダーイメージ 2.5.3.4.2. カスタムビルダーのワークフロー 2.5.4. パイプラインビルド Expand section "2.5.4. パイプラインビルド" Collapse section "2.5.4. パイプラインビルド" 2.5.4.1. OpenShift Container Platform Pipeline について 2.5.4.2. パイプラインビルド用の Jenkins ファイルの提供 2.5.4.3. Pipeline ビルドの環境変数の使用 Expand section "2.5.4.3. Pipeline ビルドの環境変数の使用" Collapse section "2.5.4.3. Pipeline ビルドの環境変数の使用" 2.5.4.3.1. BuildConfig 環境変数と Jenkins ジョブパラメーター間のマッピング 2.5.4.4. Pipeline ビルドのチュートリアル 2.5.5. Web コンソールを使用したシークレットの追加 2.5.6. プルおよびプッシュの有効化 2.6. Buildah によるカスタムイメージビルド Expand section "2.6. Buildah によるカスタムイメージビルド" Collapse section "2.6. Buildah によるカスタムイメージビルド" 2.6.1. 前提条件 2.6.2. カスタムビルドアーティファクトの作成 2.6.3. カスタムビルダーイメージのビルド 2.6.4. カスタムビルダーイメージの使用 2.7. 基本的なビルドの実行および設定 Expand section "2.7. 基本的なビルドの実行および設定" Collapse section "2.7. 基本的なビルドの実行および設定" 2.7.1. ビルドの開始 Expand section "2.7.1. ビルドの開始" Collapse section "2.7.1. ビルドの開始" 2.7.1.1. ビルドの再実行 2.7.1.2. ビルドログのストリーミング 2.7.1.3. ビルド開始時の環境変数の設定 2.7.1.4. ソースを使用したビルドの開始 2.7.2. ビルドの中止 Expand section "2.7.2. ビルドの中止" Collapse section "2.7.2. ビルドの中止" 2.7.2.1. 複数ビルドのキャンセル 2.7.2.2. すべてのビルドのキャンセル 2.7.2.3. 指定された状態のすべてのビルドのキャンセル 2.7.3. BuildConfig の編集 2.7.4. BuildConfig の削除 2.7.5. ビルドの詳細表示 2.7.6. ビルドログへのアクセス Expand section "2.7.6. ビルドログへのアクセス" Collapse section "2.7.6. ビルドログへのアクセス" 2.7.6.1. BuildConfig ログへのアクセス 2.7.6.2. 特定バージョンのビルドについての BuildConfig ログへのアクセス 2.7.6.3. ログの冗長性の有効化 2.8. ビルドのトリガーおよび変更 Expand section "2.8. ビルドのトリガーおよび変更" Collapse section "2.8. ビルドのトリガーおよび変更" 2.8.1. ビルドトリガー Expand section "2.8.1. ビルドトリガー" Collapse section "2.8.1. ビルドトリガー" 2.8.1.1. Webhook のトリガー Expand section "2.8.1.1. Webhook のトリガー" Collapse section "2.8.1.1. Webhook のトリガー" 2.8.1.1.1. GitHub Webhook の使用 2.8.1.1.2. GitLab Webhook の使用 2.8.1.1.3. Bitbucket Webhook の使用 2.8.1.1.4. Generic Webhook の使用 2.8.1.1.5. Webhook URL の表示 2.8.1.2. イメージ変更トリガーの使用 2.8.1.3. ビルドのイメージ変更トリガーの識別 2.8.1.4. 設定変更のトリガー Expand section "2.8.1.4. 設定変更のトリガー" Collapse section "2.8.1.4. 設定変更のトリガー" 2.8.1.4.1. トリガーの手動設定 2.8.2. ビルドフック Expand section "2.8.2. ビルドフック" Collapse section "2.8.2. ビルドフック" 2.8.2.1. コミット後のビルドフックの設定 2.8.2.2. CLI を使用したコミット後のビルドフックの設定 2.9. 高度なビルドの実行 Expand section "2.9. 高度なビルドの実行" Collapse section "2.9. 高度なビルドの実行" 2.9.1. ビルドリソースの設定 2.9.2. 最長期間の設定 2.9.3. 特定のノードへのビルドの割り当て 2.9.4. チェーンビルド 2.9.5. ビルドのプルーニング 2.9.6. ビルド実行ポリシー 2.10. ビルドでの Red Hat サブスクリプションの使用 Expand section "2.10. ビルドでの Red Hat サブスクリプションの使用" Collapse section "2.10. ビルドでの Red Hat サブスクリプションの使用" 2.10.1. Red Hat Universal Base Image へのイメージストリームタグの作成 2.10.2. ビルドシークレットとしてのサブスクリプションエンタイトルメントの追加 2.10.3. Subscription Manager を使用したビルドの実行 Expand section "2.10.3. Subscription Manager を使用したビルドの実行" Collapse section "2.10.3. Subscription Manager を使用したビルドの実行" 2.10.3.1. Subscription Manager を使用した Docker ビルド 2.10.4. Red Hat Satellite サブスクリプションを使用したビルドの実行 Expand section "2.10.4. Red Hat Satellite サブスクリプションを使用したビルドの実行" Collapse section "2.10.4. Red Hat Satellite サブスクリプションを使用したビルドの実行" 2.10.4.1. Red Hat Satellite 設定のビルドへの追加 2.10.4.2. Red Hat Satellite サブスクリプションを使用した Docker ビルド 2.10.5. SharedSecret オブジェクトを使用したエンタイトルメントが適用されたビルドの実行 2.10.6. 関連情報 2.11. ストラテジーによるビルドのセキュリティー保護 Expand section "2.11. ストラテジーによるビルドのセキュリティー保護" Collapse section "2.11. ストラテジーによるビルドのセキュリティー保護" 2.11.1. ビルドストラテジーへのアクセスのグローバルな無効化 2.11.2. ユーザーへのビルドストラテジーのグルーバルな制限 2.11.3. プロジェクト内でのユーザーへのビルドストラテジーの制限 2.12. ビルド設定リソース Expand section "2.12. ビルド設定リソース" Collapse section "2.12. ビルド設定リソース" 2.12.1. ビルドコントローラー設定パラメーター 2.12.2. ビルド設定の設定 2.13. ビルドのトラブルシューティング Expand section "2.13. ビルドのトラブルシューティング" Collapse section "2.13. ビルドのトラブルシューティング" 2.13.1. リソースへのアクセスのための拒否の解決 2.13.2. サービス証明書の生成に失敗 2.14. ビルドの信頼される認証局の追加設定 Expand section "2.14. ビルドの信頼される認証局の追加設定" Collapse section "2.14. ビルドの信頼される認証局の追加設定" 2.14.1. クラスターへの認証局の追加 2.14.2. 関連情報 3. Pipelines Expand section "3. Pipelines" Collapse section "3. Pipelines" 3.1. Red Hat OpenShift Pipeline について 4. GitOps Expand section "4. GitOps" Collapse section "4. GitOps" 4.1. Red Hat OpenShift GitOps について Expand section "4.1. Red Hat OpenShift GitOps について" Collapse section "4.1. Red Hat OpenShift GitOps について" 4.1.1. 主な特長 4.1.2. 関連情報 5. Jenkins Expand section "5. Jenkins" Collapse section "5. Jenkins" 5.1. Jenkins イメージの設定 Expand section "5.1. Jenkins イメージの設定" Collapse section "5.1. Jenkins イメージの設定" 5.1.1. 設定とカスタマイズ Expand section "5.1.1. 設定とカスタマイズ" Collapse section "5.1.1. 設定とカスタマイズ" 5.1.1.1. OpenShift Container Platform OAuth 認証 5.1.1.2. Jenkins 認証 5.1.2. Jenkins 環境変数 5.1.3. Jenkins へのプロジェクト間のアクセスの提供 5.1.4. Jenkins のボリューム間のマウントポイント 5.1.5. S2I (Source-To-Image) による Jenkins イメージのカスタマイズ 5.1.6. Jenkins Kubernetes プラグインの設定 5.1.7. Jenkins パーミッション 5.1.8. テンプレートからの Jenkins サービスの作成 5.1.9. Jenkins Kubernetes プラグインの使用 5.1.10. Jenkins メモリーの要件 5.1.11. 関連情報 5.2. Jenkins エージェント Expand section "5.2. Jenkins エージェント" Collapse section "5.2. Jenkins エージェント" 5.2.1. Jenkins エージェントイメージ 5.2.2. Jenkins エージェントの環境変数 5.2.3. Jenkins エージェントのメモリー要件 5.2.4. Jenkins エージェントの Gradle ビルド 5.2.5. Jenkins エージェント Pod の保持 5.3. Jenkins から OpenShift Pipelines または Tekton への移行 Expand section "5.3. Jenkins から OpenShift Pipelines または Tekton への移行" Collapse section "5.3. Jenkins から OpenShift Pipelines または Tekton への移行" 5.3.1. Jenkins と OpenShift Pipelines のコンセプトの比較 Expand section "5.3.1. Jenkins と OpenShift Pipelines のコンセプトの比較" Collapse section "5.3.1. Jenkins と OpenShift Pipelines のコンセプトの比較" 5.3.1.1. Jenkins の用語 5.3.1.2. OpenShift Pipelines の用語 5.3.1.3. 概念のマッピング 5.3.2. Jenkins から OpenShift Pipelines へのサンプルパイプラインの移行 Expand section "5.3.2. Jenkins から OpenShift Pipelines へのサンプルパイプラインの移行" Collapse section "5.3.2. Jenkins から OpenShift Pipelines へのサンプルパイプラインの移行" 5.3.2.1. Jenkins パイプライン 5.3.2.2. OpenShift Pipelines パイプライン 5.3.3. Jenkins プラグインから Tekton Hub タスクへの移行 5.3.4. カスタムタスクとスクリプトを使用した OpenShift Pipelines 機能の拡張 5.3.5. Jenkins と OpenShift Pipelines の実行モデルの比較 5.3.6. 一般的な使用例の例 Expand section "5.3.6. 一般的な使用例の例" Collapse section "5.3.6. 一般的な使用例の例" 5.3.6.1. Jenkins および OpenShift Pipelines での Maven パイプラインの実行 5.3.6.2. プラグインを使用して Jenkins および OpenShift Pipelines のコア機能を拡張する 5.3.6.3. Jenkins および OpenShift Pipelines での再利用可能なコードの共有 5.3.7. 関連情報 5.4. OpenShift Jenkins イメージに対する重要な変更 Expand section "5.4. OpenShift Jenkins イメージに対する重要な変更" Collapse section "5.4. OpenShift Jenkins イメージに対する重要な変更" 5.4.1. OpenShift Jenkins イメージの再配置 5.4.2. Jenkins イメージストリームタグのカスタマイズ 5.4.3. 関連情報 法律上の通知 Settings Close Language: English 简体中文 한국어 日本語 Français Language: English 简体中文 한국어 日本語 Français Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: English 简体中文 한국어 日本語 Français Language: English 简体中文 한국어 日本語 Français Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF CI/CD OpenShift Container Platform 4.12OpenShift Container Platform のビルド、パイプライン、および GitOps に関する情報 Red Hat OpenShift Documentation Team法律上の通知概要 OpenShift Container Platform 向けの CI/CD Next