Skip to content

Commit d87345b

Browse files
authored
Merge pull request #50363 from sounix000/pipelines-1-8-tutorial
RHDEVDOCS 4176+4442: Update Pipelines 1.8 tutorial and bug
2 parents 92281b3 + 578babb commit d87345b

5 files changed

+33
-32
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ 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-
4038
include::modules/op-creating-pipeline-tasks.adoc[leveloffset=+1]
4139

4240
[role="_additional-resources"]

cicd/pipelines/using-pipelines-as-code.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ include::modules/op-configuring-pipelines-as-code-for-a-git-repository-hosting-s
3535

3636
include::modules/op-configuring-pipelines-as-code-for-a-github-app.adoc[leveloffset=+2]
3737

38+
include::modules/op-creating-a-github-application-in-administrator-perspective.adoc[leveloffset=+2]
39+
3840
include::modules/op-pipelines-as-code-command-reference.adoc[leveloffset=+1]
3941

4042
include::modules/op-customizing-pipelines-as-code-configuration.adoc[leveloffset=+1]

modules/creating-a-github-application-in-administrator-perspective.adoc

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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 App in administrator perspective
9+
10+
As a cluster administrator, you can configure your GitHub App with the {product-title} cluster to use {pac}. 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 App name. For example, `pipelines-ci-clustername-testui`.
19+
. Click *Setup*.
20+
. Enter your Git password when prompted in the browser.
21+
. Click *Create GitHub App for <username>*, where `<username>` is your GitHub user name.
22+
23+
.Verification
24+
After successful creation of the GitHub App, the {product-title} web console opens and displays the details about the application.
25+
26+
image::Github-app-details.png[]
27+
28+
The details of the GitHub App are saved as a secret in the `openShift-pipelines` namespace.
29+
30+
To view details such as name, link, and secret associated with the GitHub applications, navigate to *Pipelines* and click *View GitHub App*.

modules/op-running-a-pipeline.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ tkn pipeline start build-and-deploy \
1919
-w name=shared-workspace,volumeClaimTemplateFile=https://raw.githubusercontent.com/openshift/pipelines-tutorial/{pipelines-ver}/01_pipeline/03_persistent_volume_claim.yaml \
2020
-p deployment-name=pipelines-vote-api \
2121
-p git-url=https://github.com/openshift/pipelines-vote-api.git \
22-
-p IMAGE=image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/pipelines-vote-api \
22+
-p IMAGE=image-registry.openshift-image-registry.svc:5000/pipelines-tutorial/pipelines-vote-api \
2323
--use-param-defaults
2424
----
2525
+

0 commit comments

Comments
 (0)