Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 3. Integrating OpenShift Serverless with OpenShift Pipelines
Integrating Serverless with OpenShift Pipelines enables CI/CD pipeline management for Serverless services. Using this integration, you can automate the deployment of your Serverless services.
3.1. Creating a service deployed by OpenShift Pipelines Link kopierenLink in die Zwischenablage kopiert!
Using the OpenShift Container Platform web console, you can create a service that the OpenShift Pipelines deploys.
Prerequisites
-
You have access to the cluster with
cluster-adminprivileges. - You have installed the OpenShift Serverless Operator and Knative Serving on the cluster.
- You have installed the OpenShift Pipelines Operator on the cluster.
Procedure
- In the OpenShift Container Platform web console navigate to +Add and select the Import from Git option.
In the Import from Git dialog, specify project metadata by doing the following:
- Specify the Git repository URL.
- If necessary, specify the context directory. This is the subdirectory inside the repository that has the root of application source code.
- Optional: Specify the application name. By default, the system uses the repository name.
- Select the Serverless Deployment resource type.
- Select the Add pipeline checkbox. The pipeline is automatically selected based on the source code and its visualization is displayed on the scheme.
- Specify any other relevant settings.
- Click Create to create the service.
- After the service creation starts, the console opens the Topology screen. There you can view and interact with the service and the related trigger.
- Optional: Navigate to the Pipelines page to verify pipeline creation and confirm that the service builds and deploys.
- To see the details of the pipeline, click the pipeline on the Pipelines page.
- To see the details about the current pipeline run, click the name of the run on the Pipelines page.