-
Notifications
You must be signed in to change notification settings - Fork 1.8k
RHDEVDOCS-6199 - Builds for OpenShift: Install and Config Documentation Obsolete #84027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jab-rh
merged 1 commit into
openshift:build-docs-main
from
shivanisathe25:RHDEVDOCS-6199
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
modules/ob-creating-a-shipwright-build-resource-console.adoc
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// This module is included in the following assembly: | ||
// | ||
// * installing/installing-openshift-builds.adoc | ||
|
||
:_mod-docs-content-type: PROCEDURE | ||
[id="installing-builds-using-CLI_{context}"] | ||
= Installing {builds-shortname} by using the CLI | ||
|
||
You can also install {builds-shortname} by using the command-line interface (CLI). | ||
|
||
.Procedure | ||
|
||
. Create a `sub.yaml` subscription object file to subscribe a namespace to the {builds-operator}, as shown in the following example: | ||
+ | ||
[source,yaml] | ||
---- | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: openshift-builds-operator | ||
namespace: openshift-builds | ||
spec: | ||
channel: <channel-name> <1> | ||
name: openshift-builds-operator <2> | ||
source: redhat-operators <3> | ||
sourceNamespace: openshift-marketplace <4> | ||
---- | ||
<1> The channel name from where you want to subscribe the Operator. | ||
<2> Name of the Operator to subscribe to. | ||
<3> Name of the CatalogSource that provides the Operator. | ||
<4> Namespace of the CatalogSource. Use `openshift-marketplace` for the default OperatorHub CatalogSources. | ||
|
||
. Apply the subscription object by runninng the following command: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ oc apply -f sub.yml | ||
---- | ||
+ | ||
The {builds-operator} is now installed in the default target namespace `openshift-builds`. | ||
|
||
.Verification | ||
|
||
After installing the Builds for Red Hat OpenShift Operator, you must verify that the following resources are created to ensure proper functioning of the Operator: | ||
|
||
. Run the following command to ensure that the `OpenshiftBuild` resource is created: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ oc get openshiftbuilds | ||
---- | ||
+ | ||
|
||
. Run the following command to ensure that the `ShipwrightBuilds` resource is created: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ oc get shipwrightbuilds | ||
---- | ||
+ | ||
|
||
. Run the following command to ensure that the following pods are created in the `openshift-builds` namespace: | ||
|
||
* `openshift-builds` operator pod | ||
* Build controller and build webhook pods | ||
* SharedResource daemonset and SharedResource webhook pods | ||
+ | ||
[source,terminal] | ||
---- | ||
$ oc get pods -n openshift-builds | ||
---- | ||
+ | ||
|
||
The list of pods is displayed as shown in the following example: | ||
+ | ||
[source,terminal] | ||
---- | ||
$ oc get pods -n openshift-builds | ||
NAME READY STATUS RESTARTS AGE | ||
openshift-builds-operator-6f5c48c6b5-cvp2w 2/2 Running 0 13d | ||
openshift-pipelines-operator-64d8c4969c-952cc 2/2 Running 0 3d13h | ||
shared-resource-csi-driver-node-gbkqs 2/2 Running 0 13d | ||
shared-resource-csi-driver-node-kcqxc 2/2 Running 0 13d | ||
shared-resource-csi-driver-node-sbsvg 2/2 Running 0 13d | ||
shared-resource-csi-driver-webhook-9d9bd48f4-d5ln6 1/1 Running 0 13d | ||
shipwright-build-controller-5454475b85-mmm6w 1/1 Running 0 13d | ||
shipwright-build-webhook-7fbd49c6bb-2n77s 1/1 Running 0 13d | ||
tekton-operator-webhook-756f5dfdc7-c99mc 1/1 Running 0 3d13h | ||
---- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.