Jump To Close Expand all Collapse all Table of contents CI/CD 1. OpenShift Container Platform CI/CD overview Expand section "1. OpenShift Container Platform CI/CD overview" Collapse section "1. OpenShift Container Platform CI/CD overview" 1.1. OpenShift Builds 1.2. OpenShift Pipelines 1.3. OpenShift GitOps 1.4. Jenkins 2. Builds Expand section "2. Builds" Collapse section "2. Builds" 2.1. Understanding image builds Expand section "2.1. Understanding image builds" Collapse section "2.1. Understanding image builds" 2.1.1. Builds Expand section "2.1.1. Builds" Collapse section "2.1.1. Builds" 2.1.1.1. Docker build 2.1.1.2. Source-to-image build 2.1.1.3. Custom build 2.1.1.4. Pipeline build 2.2. Understanding build configurations Expand section "2.2. Understanding build configurations" Collapse section "2.2. Understanding build configurations" 2.2.1. BuildConfigs 2.3. Creating build inputs Expand section "2.3. Creating build inputs" Collapse section "2.3. Creating build inputs" 2.3.1. Build inputs 2.3.2. Dockerfile source 2.3.3. Image source 2.3.4. Git source Expand section "2.3.4. Git source" Collapse section "2.3.4. Git source" 2.3.4.1. Using a proxy 2.3.4.2. Source Clone Secrets Expand section "2.3.4.2. Source Clone Secrets" Collapse section "2.3.4.2. Source Clone Secrets" 2.3.4.2.1. Automatically adding a source clone secret to a build configuration 2.3.4.2.2. Manually adding a source clone secret 2.3.4.2.3. Creating a secret from a .gitconfig file 2.3.4.2.4. Creating a secret from a .gitconfig file for secured Git 2.3.4.2.5. Creating a secret from source code basic authentication 2.3.4.2.6. Creating a secret from source code SSH key authentication 2.3.4.2.7. Creating a secret from source code trusted certificate authorities 2.3.4.2.8. Source secret combinations Expand section "2.3.4.2.8. Source secret combinations" Collapse section "2.3.4.2.8. Source secret combinations" 2.3.4.2.8.1. Creating a SSH-based authentication secret with a .gitconfig file 2.3.4.2.8.2. Creating a secret that combines a .gitconfig file and CA certificate 2.3.4.2.8.3. Creating a basic authentication secret with a CA certificate 2.3.4.2.8.4. Creating a basic authentication secret with a .gitconfig file 2.3.4.2.8.5. Creating a basic authentication secret with a .gitconfig file and CA certificate 2.3.5. Binary (local) source 2.3.6. Input secrets and config maps Expand section "2.3.6. Input secrets and config maps" Collapse section "2.3.6. Input secrets and config maps" 2.3.6.1. What is a secret? Expand section "2.3.6.1. What is a secret?" Collapse section "2.3.6.1. What is a secret?" 2.3.6.1.1. Properties of secrets 2.3.6.1.2. Types of Secrets 2.3.6.1.3. Updates to secrets 2.3.6.2. Creating secrets 2.3.6.3. Using secrets 2.3.6.4. Adding input secrets and config maps 2.3.6.5. Source-to-image strategy 2.3.6.6. Docker strategy 2.3.6.7. Custom strategy 2.3.7. External artifacts 2.3.8. Using docker credentials for private registries 2.3.9. Build environments Expand section "2.3.9. Build environments" Collapse section "2.3.9. Build environments" 2.3.9.1. Using build fields as environment variables 2.3.9.2. Using secrets as environment variables 2.3.10. Service serving certificate secrets 2.3.11. Secrets restrictions 2.4. Managing build output Expand section "2.4. Managing build output" Collapse section "2.4. Managing build output" 2.4.1. Build output 2.4.2. Output image environment variables 2.4.3. Output image labels 2.5. Using build strategies Expand section "2.5. Using build strategies" Collapse section "2.5. Using build strategies" 2.5.1. Docker build Expand section "2.5.1. Docker build" Collapse section "2.5.1. Docker build" 2.5.1.1. Replacing Dockerfile FROM image 2.5.1.2. Using Dockerfile path 2.5.1.3. Using docker environment variables 2.5.1.4. Adding docker build arguments 2.5.1.5. Squash layers with docker builds 2.5.2. Source-to-image build Expand section "2.5.2. Source-to-image build" Collapse section "2.5.2. Source-to-image build" 2.5.2.1. Performing source-to-image incremental builds 2.5.2.2. Overriding source-to-image builder image scripts 2.5.2.3. Source-to-image environment variables Expand section "2.5.2.3. Source-to-image environment variables" Collapse section "2.5.2.3. Source-to-image environment variables" 2.5.2.3.1. Using source-to-image environment files 2.5.2.3.2. Using source-to-image build configuration environment 2.5.2.4. Ignoring source-to-image source files 2.5.2.5. Creating images from source code with source-to-image Expand section "2.5.2.5. Creating images from source code with source-to-image" Collapse section "2.5.2.5. Creating images from source code with source-to-image" 2.5.2.5.1. Understanding the source-to-image build process 2.5.2.5.2. How to write source-to-image scripts 2.5.3. Custom build Expand section "2.5.3. Custom build" Collapse section "2.5.3. Custom build" 2.5.3.1. Using FROM image for custom builds 2.5.3.2. Using secrets in custom builds 2.5.3.3. Using environment variables for custom builds 2.5.3.4. Using custom builder images Expand section "2.5.3.4. Using custom builder images" Collapse section "2.5.3.4. Using custom builder images" 2.5.3.4.1. Custom builder image 2.5.3.4.2. Custom builder workflow 2.5.4. Pipeline build Expand section "2.5.4. Pipeline build" Collapse section "2.5.4. Pipeline build" 2.5.4.1. Understanding OpenShift Container Platform pipelines 2.5.4.2. Providing the Jenkins file for pipeline builds 2.5.4.3. Using environment variables for pipeline builds Expand section "2.5.4.3. Using environment variables for pipeline builds" Collapse section "2.5.4.3. Using environment variables for pipeline builds" 2.5.4.3.1. Mapping between BuildConfig environment variables and Jenkins job parameters 2.5.4.4. Pipeline build tutorial 2.5.5. Adding secrets with web console 2.5.6. Enabling pulling and pushing 2.6. Custom image builds with Buildah Expand section "2.6. Custom image builds with Buildah" Collapse section "2.6. Custom image builds with Buildah" 2.6.1. Prerequisites 2.6.2. Creating custom build artifacts 2.6.3. Build custom builder image 2.6.4. Use custom builder image 2.7. Performing basic builds Expand section "2.7. Performing basic builds" Collapse section "2.7. Performing basic builds" 2.7.1. Starting a build Expand section "2.7.1. Starting a build" Collapse section "2.7.1. Starting a build" 2.7.1.1. Re-running a build 2.7.1.2. Streaming build logs 2.7.1.3. Setting environment variables when starting a build 2.7.1.4. Starting a build with source 2.7.2. Canceling a build Expand section "2.7.2. Canceling a build" Collapse section "2.7.2. Canceling a build" 2.7.2.1. Canceling multiple builds 2.7.2.2. Canceling all builds 2.7.2.3. Canceling all builds in a given state 2.7.3. Deleting a BuildConfig 2.7.4. Viewing build details 2.7.5. Accessing build logs Expand section "2.7.5. Accessing build logs" Collapse section "2.7.5. Accessing build logs" 2.7.5.1. Accessing BuildConfig logs 2.7.5.2. Accessing BuildConfig logs for a given version build 2.7.5.3. Enabling log verbosity 2.8. Triggering and modifying builds Expand section "2.8. Triggering and modifying builds" Collapse section "2.8. Triggering and modifying builds" 2.8.1. Build triggers Expand section "2.8.1. Build triggers" Collapse section "2.8.1. Build triggers" 2.8.1.1. Webhook triggers Expand section "2.8.1.1. Webhook triggers" Collapse section "2.8.1.1. Webhook triggers" 2.8.1.1.1. Using GitHub webhooks 2.8.1.1.2. Using GitLab webhooks 2.8.1.1.3. Using Bitbucket webhooks 2.8.1.1.4. Using generic webhooks 2.8.1.1.5. Displaying webhook URLs 2.8.1.2. Using image change triggers 2.8.1.3. Configuration change triggers Expand section "2.8.1.3. Configuration change triggers" Collapse section "2.8.1.3. Configuration change triggers" 2.8.1.3.1. Setting triggers manually 2.8.2. Build hooks Expand section "2.8.2. Build hooks" Collapse section "2.8.2. Build hooks" 2.8.2.1. Configuring post commit build hooks 2.8.2.2. Using the CLI to set post commit build hooks 2.9. Performing advanced builds Expand section "2.9. Performing advanced builds" Collapse section "2.9. Performing advanced builds" 2.9.1. Setting build resources 2.9.2. Setting maximum duration 2.9.3. Assigning builds to specific nodes 2.9.4. Chained builds 2.9.5. Pruning builds 2.9.6. Build run policy 2.10. Using Red Hat subscriptions in builds Expand section "2.10. Using Red Hat subscriptions in builds" Collapse section "2.10. Using Red Hat subscriptions in builds" 2.10.1. Creating an image stream tag for the Red Hat Universal Base Image 2.10.2. Adding subscription entitlements as a build secret 2.10.3. Running builds with Subscription Manager Expand section "2.10.3. Running builds with Subscription Manager" Collapse section "2.10.3. Running builds with Subscription Manager" 2.10.3.1. Docker builds using Subscription Manager 2.10.4. Running builds with Red Hat Satellite subscriptions Expand section "2.10.4. Running builds with Red Hat Satellite subscriptions" Collapse section "2.10.4. Running builds with Red Hat Satellite subscriptions" 2.10.4.1. Adding Red Hat Satellite configurations to builds 2.10.4.2. Docker builds using Red Hat Satellite subscriptions 2.10.5. Additional resources 2.11. Securing builds by strategy Expand section "2.11. Securing builds by strategy" Collapse section "2.11. Securing builds by strategy" 2.11.1. Disabling access to a build strategy globally 2.11.2. Restricting build strategies to users globally 2.11.3. Restricting build strategies to a user within a project 2.12. Build configuration resources Expand section "2.12. Build configuration resources" Collapse section "2.12. Build configuration resources" 2.12.1. Build controller configuration parameters 2.12.2. Configuring build settings 2.13. Troubleshooting builds Expand section "2.13. Troubleshooting builds" Collapse section "2.13. Troubleshooting builds" 2.13.1. Resolving denial for access to resources 2.13.2. Service certificate generation failure 2.14. Setting up additional trusted certificate authorities for builds Expand section "2.14. Setting up additional trusted certificate authorities for builds" Collapse section "2.14. Setting up additional trusted certificate authorities for builds" 2.14.1. Adding certificate authorities to the cluster 2.14.2. Additional resources 3. Pipelines Expand section "3. Pipelines" Collapse section "3. Pipelines" 3.1. Red Hat OpenShift Pipelines release notes Expand section "3.1. Red Hat OpenShift Pipelines release notes" Collapse section "3.1. Red Hat OpenShift Pipelines release notes" 3.1.1. Making open source more inclusive 3.1.2. Release notes for Red Hat OpenShift Pipelines General Availability 1.4 Expand section "3.1.2. Release notes for Red Hat OpenShift Pipelines General Availability 1.4" Collapse section "3.1.2. Release notes for Red Hat OpenShift Pipelines General Availability 1.4" 3.1.2.1. Compatibility and support matrix 3.1.2.2. New features 3.1.2.3. Deprecated features 3.1.2.4. Known issues 3.1.2.5. Fixed issues 3.1.3. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.3 Expand section "3.1.3. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.3" Collapse section "3.1.3. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.3" 3.1.3.1. New features Expand section "3.1.3.1. New features" Collapse section "3.1.3.1. New features" 3.1.3.1.1. Pipelines 3.1.3.1.2. Pipelines CLI 3.1.3.1.3. Triggers 3.1.3.2. Deprecated features 3.1.3.3. Known issues 3.1.3.4. Fixed issues 3.1.4. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.2 Expand section "3.1.4. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.2" Collapse section "3.1.4. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.2" 3.1.4.1. New features Expand section "3.1.4.1. New features" Collapse section "3.1.4.1. New features" 3.1.4.1.1. Pipelines 3.1.4.1.2. Pipelines CLI 3.1.4.1.3. Triggers 3.1.4.2. Deprecated features 3.1.4.3. Known issues 3.1.4.4. Fixed issues 3.1.5. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.1 Expand section "3.1.5. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.1" Collapse section "3.1.5. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.1" 3.1.5.1. New features Expand section "3.1.5.1. New features" Collapse section "3.1.5.1. New features" 3.1.5.1.1. Pipelines 3.1.5.1.2. Pipelines CLI 3.1.5.1.3. Triggers 3.1.5.2. Deprecated features 3.1.5.3. Known issues 3.1.5.4. Fixed issues 3.1.6. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.0 Expand section "3.1.6. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.0" Collapse section "3.1.6. Release notes for Red Hat OpenShift Pipelines Technology Preview 1.0" 3.1.6.1. New features Expand section "3.1.6.1. New features" Collapse section "3.1.6.1. New features" 3.1.6.1.1. Pipelines 3.1.6.1.2. Pipelines CLI 3.1.6.1.3. Triggers 3.1.6.2. Deprecated features 3.1.6.3. Known issues 3.1.6.4. Fixed issues 3.2. Understanding OpenShift Pipelines Expand section "3.2. Understanding OpenShift Pipelines" Collapse section "3.2. Understanding OpenShift Pipelines" 3.2.1. Key features 3.2.2. OpenShift Pipeline Concepts Expand section "3.2.2. OpenShift Pipeline Concepts" Collapse section "3.2.2. OpenShift Pipeline Concepts" 3.2.2.1. Tasks 3.2.2.2. TaskRun 3.2.2.3. Pipelines 3.2.2.4. PipelineRun 3.2.2.5. Workspaces 3.2.2.6. Triggers 3.2.3. Additional resources 3.3. Installing OpenShift Pipelines Expand section "3.3. Installing OpenShift Pipelines" Collapse section "3.3. Installing OpenShift Pipelines" 3.3.1. Installing the Red Hat OpenShift Pipelines Operator in web console 3.3.2. Installing the OpenShift Pipelines Operator using the CLI 3.3.3. Red Hat OpenShift Pipelines Operator in a restricted environment 3.3.4. Additional resources 3.4. Uninstalling OpenShift Pipelines Expand section "3.4. Uninstalling OpenShift Pipelines" Collapse section "3.4. Uninstalling OpenShift Pipelines" 3.4.1. Deleting the Red Hat OpenShift Pipelines components and Custom Resources 3.4.2. Uninstalling the Red Hat OpenShift Pipelines Operator 3.5. Creating CI/CD solutions for applications using OpenShift Pipelines Expand section "3.5. Creating CI/CD solutions for applications using OpenShift Pipelines" Collapse section "3.5. Creating CI/CD solutions for applications using OpenShift Pipelines" 3.5.1. Prerequisites 3.5.2. Creating a project and checking your pipeline service account 3.5.3. Creating pipeline tasks 3.5.4. Assembling a pipeline 3.5.5. Mirroring images to run pipelines in a restricted environment 3.5.6. Running a pipeline 3.5.7. Adding triggers to a pipeline 3.5.8. Creating webhooks 3.5.9. Triggering a pipeline run 3.5.10. Additional resources 3.6. Working with Red Hat OpenShift Pipelines using the Developer perspective Expand section "3.6. Working with Red Hat OpenShift Pipelines using the Developer perspective" Collapse section "3.6. Working with Red Hat OpenShift Pipelines using the Developer perspective" 3.6.1. Constructing Pipelines using the Pipeline Builder 3.6.2. Creating applications with OpenShift Pipelines 3.6.3. Interacting with pipelines using the Developer perspective 3.6.4. Starting pipelines 3.6.5. Editing Pipelines 3.6.6. Deleting Pipelines 3.7. Reducing resource consumption of pipelines Expand section "3.7. Reducing resource consumption of pipelines" Collapse section "3.7. Reducing resource consumption of pipelines" 3.7.1. Understanding resource consumption in pipelines 3.7.2. Mitigating extra resource consumption in pipelines 3.7.3. Additional resources 3.8. Using pods in a privileged security context Expand section "3.8. Using pods in a privileged security context" Collapse section "3.8. Using pods in a privileged security context" 3.8.1. Running pipeline run and task run pods with privileged security context 3.8.2. Running pipeline run and task run by using a custom SCC and a custom service account 3.8.3. Additional resources 3.9. Viewing pipeline logs using the OpenShift Logging Operator Expand section "3.9. Viewing pipeline logs using the OpenShift Logging Operator" Collapse section "3.9. Viewing pipeline logs using the OpenShift Logging Operator" 3.9.1. Prerequisites 3.9.2. Viewing pipeline logs in Kibana 3.9.3. Additional resources 4. GitOps Expand section "4. GitOps" Collapse section "4. GitOps" 4.1. Red Hat OpenShift GitOps release notes Expand section "4.1. Red Hat OpenShift GitOps release notes" Collapse section "4.1. Red Hat OpenShift GitOps release notes" 4.1.1. Making open source more inclusive 4.1.2. Release notes for Red Hat OpenShift GitOps 1.2.1 Expand section "4.1.2. Release notes for Red Hat OpenShift GitOps 1.2.1" Collapse section "4.1.2. Release notes for Red Hat OpenShift GitOps 1.2.1" 4.1.2.1. Support matrix 4.1.2.2. Fixed issues 4.1.3. Release notes for Red Hat OpenShift GitOps 1.2 Expand section "4.1.3. Release notes for Red Hat OpenShift GitOps 1.2" Collapse section "4.1.3. Release notes for Red Hat OpenShift GitOps 1.2" 4.1.3.1. Support matrix 4.1.3.2. New features 4.1.3.3. Fixed issues 4.1.3.4. Known issues 4.1.4. Release notes for Red Hat OpenShift GitOps 1.1 Expand section "4.1.4. Release notes for Red Hat OpenShift GitOps 1.1" Collapse section "4.1.4. Release notes for Red Hat OpenShift GitOps 1.1" 4.1.4.1. Support matrix 4.1.4.2. New features 4.1.4.3. Fixed issues 4.1.4.4. Known issues 4.1.4.5. Breaking Change Expand section "4.1.4.5. Breaking Change" Collapse section "4.1.4.5. Breaking Change" 4.1.4.5.1. Upgrading from Red Hat OpenShift GitOps v1.0.1 4.2. Understanding OpenShift GitOps Expand section "4.2. Understanding OpenShift GitOps" Collapse section "4.2. Understanding OpenShift GitOps" 4.2.1. About GitOps 4.2.2. About Red Hat OpenShift GitOps Expand section "4.2.2. About Red Hat OpenShift GitOps" Collapse section "4.2.2. About Red Hat OpenShift GitOps" 4.2.2.1. Key features 4.3. Getting started with OpenShift GitOps Expand section "4.3. Getting started with OpenShift GitOps" Collapse section "4.3. Getting started with OpenShift GitOps" 4.3.1. Installing GitOps Operator in web console 4.4. Configuring Argo CD to recursively sync a Git repository with your application Expand section "4.4. Configuring Argo CD to recursively sync a Git repository with your application" Collapse section "4.4. Configuring Argo CD to recursively sync a Git repository with your application" 4.4.1. Configuring an OpenShift cluster by deploying an application with cluster configurations Expand section "4.4.1. Configuring an OpenShift cluster by deploying an application with cluster configurations" Collapse section "4.4.1. Configuring an OpenShift cluster by deploying an application with cluster configurations" 4.4.1.1. Logging in to the Argo CD instance by using your OpenShift credentials 4.4.1.2. Creating an application by using the Argo CD dashboard 4.4.1.3. Creating an application by using the oc tool 4.4.1.4. Synchronizing your application with your Git repository 4.4.2. Deploying a Spring Boot application with Argo CD Expand section "4.4.2. Deploying a Spring Boot application with Argo CD" Collapse section "4.4.2. Deploying a Spring Boot application with Argo CD" 4.4.2.1. Logging in to the Argo CD instance by using your OpenShift credentials 4.4.2.2. Creating an application by using the Argo CD dashboard 4.4.2.3. Creating an application by using the oc tool 4.4.2.4. Verifying Argo CD self-healing behavior 4.5. Configuring SSO for Argo CD on OpenShift Expand section "4.5. Configuring SSO for Argo CD on OpenShift" Collapse section "4.5. Configuring SSO for Argo CD on OpenShift" 4.5.1. Creating a new client in Keycloak 4.5.2. Configuring the groups claim 4.5.3. Configuring Argo CD OIDC 4.5.4. Keycloak Identity Brokering with OpenShift 4.5.5. Registering an additional an OAuth client 4.5.6. Configure groups and Argo CD RBAC 4.5.7. In-built permissions for Argo CD 4.6. Sizing requirements for GitOps Operator Expand section "4.6. Sizing requirements for GitOps Operator" Collapse section "4.6. Sizing requirements for GitOps Operator" 4.6.1. Sizing requirements for GitOps Legal Notice Settings Close Language: 简体中文 日本語 한국어 English Language: 简体中文 日本語 한국어 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 简体中文 日本語 한국어 English Language: 简体中文 日本語 한국어 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF CI/CD OpenShift Container Platform 4.7Contains information on builds, pipelines and GitOps for OpenShift Container Platform Red Hat OpenShift Documentation TeamLegal NoticeAbstract CI/CD for the OpenShift Container Platform Next