Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions modules/ROOT/pages/proc_deploying-an-application-to-openshift.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,38 @@

* You have installed link:proc_installing-pipelines-operator.html[OpenShift Pipelines] using the OpenShift Pipeline Operator listed in the OpenShift OperatorHub. Once installed, it is applicable to the entire cluster.
* You have installed the link:https://github.com/tektoncd/cli[Tekton CLI]
* You have installed the link:https://cloud.redhat.com/openshift/install/crc/installer-provisioned?intcmp=7013a000002CtetAAC[CodeReady Containers (CRC)] - a recommended solution for quick deployment of OpenShift clusters.


[discrete]
=== Procedure

. Create a local CRC virtual machine:
+
----
$ crc start
----
+
NOTE: If you use a hosted hypervisor, see the link:https://code-ready.github.io/crc/#starting-the-virtual-machine_gsg[CRC documentation].
+
`crc start` output contains user login and password needed for logging into the cluster.
+
. Add the cached `oc` binary to your PATH:

.. Run the crc oc-env command to print the command needed to add the cached oc binary to your PATH:
+
----
$ crc oc-env
----

.. Run the printed command.

. Log into the OpenShift cluster with the provided login and password:
+
----
$ oc login -u <login> -p <password> https://api.crc.testing:6443
----

. Create a project for the sample application:
+
----
Expand Down