-
Notifications
You must be signed in to change notification settings - Fork 1.8k
RHDEVDOCS-6721: Update workwithbuilds for builds-1.6 #99107
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
Dhruv-Soni11
merged 1 commit into
openshift:build-docs-main
from
shivanisathe25:update_workwithbuilds_intro
Sep 26, 2025
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 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 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 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,31 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="ob-deleting-a-build-resources_{context}"] | ||
| = Deleting a build resource | ||
|
|
||
| [role="_abstract"] | ||
| You can delete a `build` resource if it is not required in your project. | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * You have installed the `oc` CLI. | ||
| * Optional: You have installed the shp CLI. | ||
|
|
||
| .Procedure | ||
|
|
||
| * Delete a `build` resource by using one of the following CLIs: | ||
|
|
||
| ** Using `oc` CLI | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ oc delete builds <build_resource_name> # <1> | ||
| ---- | ||
| <1> Replace <build_resource_name> with the name of the `build` resource. | ||
shivanisathe25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ** Using `shp` CLI | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ shp build delete <build_resource_name> # <1> | ||
| ---- | ||
| <1> Replace <build_resource_name> with the name of the `build` resource. | ||
shivanisathe25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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,31 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="ob-deleting-a-buildrun-resources_{context}"] | ||
| = Deleting a buildrun resource | ||
|
|
||
| [role="_abstract"] | ||
| You can delete a `buildrun` resource if it is not required in your project. | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * You have installed the `oc` CLI. | ||
| * Optional: You have installed the shp CLI. | ||
|
|
||
| .Procedure | ||
|
|
||
| * Delete a `build` resource by using one of the following CLIs: | ||
|
|
||
| ** Using `oc` CLI | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ oc delete buildrun <buildrun_resource_name> #<1> | ||
| ---- | ||
| <1> Replace <buildrun_resource_name> with the name of the `buildrun` resource. | ||
|
|
||
| ** Using `shp` CLI | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ oc delete buildrun <buildrun_resource_name> # <1> | ||
| ---- | ||
| <1> Replace <buildrun_resource_name> with the name of the `buildrun` resource. |
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,20 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="ob-deleting-a-buildstrategy-resources_{context}"] | ||
| = Deleting a buildstrategy resource | ||
|
|
||
| [role="_abstract"] | ||
| You can delete a `buildstrategy` resource if it is not required in your project. | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * You have installed the `oc` CLI. | ||
|
|
||
| .Procedure | ||
shivanisathe25 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| * Delete a `buildstrategy` resource by using the `oc` CLI: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ oc delete buildstrategy <buildstartegy_resource_name> # <1> | ||
| ---- | ||
| <1> Replace <buildstartegy_resource_name> with the name of the `buildstrategy` resource. | ||
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,6 @@ | ||
| :_mod-docs-content-type: CONCEPT | ||
| [id="ob-deleting-the-resources_{context}"] | ||
| = Deleting the resources | ||
|
|
||
| You can delete resources created by the Buildah, Source-to-Image (S2I), and Buildpacks build processes using the oc CLI or the shp CLI. Deleting these resources helps you to | ||
| clean up build configurations that are no longer required in your project. |
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,22 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="ob-editing-the-resources_{context}"] | ||
| = Editing the resources | ||
|
|
||
| [role="_abstract"] | ||
| You can edit the resources that are created by `buildah`, `source-to-image` and `buildpacks` build processes using the `oc` CLI. You can modify the resources as needed in your project. | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * You have installed the `oc` CLI. | ||
|
|
||
| .Procedure | ||
|
|
||
| . Run the following command to open the YAML definition in the default editor: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ oc edit <resource-name> <build_resource-name> # <1> | ||
| ---- | ||
| <1> Replace `<resource-name>` with the name of the resource (`build`, `buildrun` or `buildstrategy`) and `<build_resource-name>` with the name of the build resource that you want to edit. | ||
|
|
||
| . Edit the YAML definition and save the file. |
18 changes: 0 additions & 18 deletions
18
modules/ob-uploading-the-OCI-artifact-by-using-the-CLI.adoc
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.