Skip to content

Commit a8affbd

Browse files
authored
Merge pull request #47520 from shipsing/RHDEVDOCS-3905
RHDEVDOCS-3905: Creating a GitHub application in admin perspective
2 parents fb964b8 + 0b541b5 commit a8affbd

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

_attributes/common-attributes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ endif::[]
8282
//pipelines
8383
:pipelines-title: Red Hat OpenShift Pipelines
8484
:pipelines-shortname: Pipelines
85-
:pipelines-ver: pipelines-1.7
85+
:pipelines-ver: pipelines-1.8
8686
:tekton-chains: Tekton Chains
8787
:tekton-hub: Tekton Hub
8888
//odo

cicd/pipelines/creating-applications-with-cicd-pipelines.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ This section uses the `pipelines-tutorial` example to demonstrate the preceding
3535

3636
include::modules/op-creating-project-and-checking-pipeline-service-account.adoc[leveloffset=+1]
3737

38+
include::modules/creating-a-github-application-in-administrator-perspective.adoc[leveloffset=+1]
39+
3840
include::modules/op-creating-pipeline-tasks.adoc[leveloffset=+1]
3941

4042
[role="_additional-resources"]
@@ -77,6 +79,6 @@ include::modules/op-enabling-monitoring-of-event-listeners-for-triggers-for-user
7779
* For more details on pipelines in the *Developer* perspective, see the xref:../../cicd/pipelines/working-with-pipelines-using-the-developer-perspective.adoc#working-with-pipelines-using-the-developer-perspective[working with pipelines in the *Developer* perspective] section.
7880
* To learn more about Security Context Constraints (SCCs), see the xref:../../authentication/managing-security-context-constraints.adoc#managing-pod-security-policies[Managing Security Context Constraints] section.
7981
* For more examples of reusable tasks, see the link:https://github.com/openshift/pipelines-catalog[OpenShift Catalog] repository. Additionally, you can also see the Tekton Catalog in the Tekton project.
80-
* To install and deploy a custom instance of Tekton Hub for reusable tasks and pipelines, see xref:../../cicd/pipelines/using-tekton-hub-with-openshift-pipelines.adoc#using-tekton-hub-with-openshift-pipelines[Using {tekton-hub} with {pipelines-title}].
82+
* To install and deploy a custom instance of Tekton Hub for reusable tasks and pipelines, see xref:../../cicd/pipelines/using-tekton-hub-with-openshift-pipelines.adoc#using-tekton-hub-with-openshift-pipelines[Using {tekton-hub} with {pipelines-title}].
8183
* For more details on re-encrypt TLS termination, see link:https://docs.openshift.com/container-platform/3.11/architecture/networking/routes.html#re-encryption-termination[Re-encryption Termination].
8284
* For more details on secured routes, see the xref:../../networking/routes/secured-routes.adoc#secured-routes[Secured routes] section.

images/Github-app-details.png

35.5 KB
Loading
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * cicd/pipelines/creating-applications-with-cicd-pipelines.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="creating-a-github-application-in-administrator-perspective_{context}"]
7+
8+
= Creating a GitHub application in administrator perspective
9+
10+
As a cluster administrator, you can configure your GitHub application with the {product-title} cluster to use a pipeline as code. This configuration allows you to execute a set of tasks required for build deployment.
11+
12+
.Prerequisites
13+
You have installed the {pipelines-title} {pipelines-ver} operator from the Operator Hub.
14+
15+
.Procedure
16+
. In the administrator perspective, navigate to *Pipelines* using the navigation pane.
17+
. Click *Setup GitHub App* on the *Pipelines* page.
18+
. Enter your GitHub application name, for example, `pipelines-ci-clustername-ss-test`.
19+
. Click *Setup*.
20+
. Enter your Git password when prompted in the browser.
21+
. Click *Create GitHub App for `username`*. The variable `username` denotes your actual user name.
22+
23+
.Verification
24+
After the Git application is successfully created, the {product-title} web console opens and provides you with details about the application.
25+
26+
image::Github-app-details.png[]
27+
28+
The details of the created application are saved as a secret in the `openShift-pipelines` namespace.
29+
To view the details of the GitHub applications created, navigate to *Pipelines* and click *View GitHub App*. The details include the name, link, and secret associated with the application.

0 commit comments

Comments
 (0)