-
Notifications
You must be signed in to change notification settings - Fork 19
Adds documentation to support agentic workflows #20665
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
Open
jkhelil
wants to merge
1
commit into
next
Choose a base branch
from
add_agent_context
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # Openshift-Pipelines-Operator | ||
|
|
||
| This repository is the **source of truth for building and releasing the OpenShift Pipelines operator** using [Red Hat Konflux CI](https://github.com/konflux-ci/). | ||
|
|
||
| It vendors [`tektoncd/operator`](https://github.com/tektoncd/operator) and assembles OpenShift-specific customizations, image references, and OLM (Operator Lifecycle Manager) artifacts needed to ship OpenShift Pipelines as a supported Red Hat product. | ||
|
|
||
| ## What This Repo Does | ||
|
|
||
| - Vendors the upstream `tektoncd/operator` source under [`upstream/`](./upstream) (unchanged). | ||
| - Applies OpenShift-specific patches, Dockerfiles, and OLM bundle/index manifests under [`openshift/`](./openshift). | ||
| - Tracks image references for all component operands (pipeline, triggers, chains, results, CLI, hub, PAC, etc.) in [`project.yaml`](./project.yaml). | ||
| - Generates CI/CD manifests (`.konflux/`, `.tekton/`, `.github/`) from the [`openshift-pipelines/hack`](https://github.com/openshift-pipelines/hack) project. | ||
| - Provides `hack/` scripts for updating images, rendering OLM catalogs, and managing bundle/index artifacts. | ||
|
|
||
| ## Key Directories | ||
|
|
||
| | Path | Description | | ||
| |------|-------------| | ||
| | `upstream/` | Vendored, unmodified copy of `tektoncd/operator` | | ||
| | `openshift/` | OpenShift-specific code: Dockerfiles, OLM bundle, index, RPM prefetch | | ||
| | `hack/` | Shell scripts for image updates, bundle rendering, and catalog management | | ||
| | `project.yaml` | Single source of truth for component versions and image references | | ||
| | `head` | Current commit SHA of the vendored `tektoncd/operator` | | ||
| | `.konflux/` | Konflux CI pipeline manifests (auto-generated) | | ||
| | `.tekton/` | Tekton pipeline manifests (auto-generated) | | ||
| | `.github/` | GitHub Actions workflows (some auto-generated) | | ||
| | `docs/` | Architecture diagrams and supplementary documentation | | ||
|
|
||
|
|
||
| ## Agent Guidance | ||
|
|
||
| When working in this repository, keep the following in mind: | ||
|
|
||
| - **Do not manually edit files under `upstream/`** — they are vendored from `tektoncd/operator` and must remain unchanged. Updates happen by bumping the SHA in `head` and re-vendoring. | ||
| - **`project.yaml` is the single source of truth** for component image references and version numbers. Update it there first; downstream files are generated from it. | ||
| - **Many files are auto-generated** by scripts in `hack/` or by the [`openshift-pipelines/hack`](https://github.com/openshift-pipelines/hack) project. Regenerate them with the appropriate `make` target or `hack/` script rather than editing by hand. | ||
| - **OLM bundle and index artifacts** live under `openshift/olm-catalog/`. They are rendered via `hack/render-catalog.sh` and `hack/update-olm-bundle.sh`. | ||
| - **CI manifests** (`.konflux/`, `.tekton/`, `.github/`) are largely generated; prefer updating the `hack` source project and re-running generation over hand-editing. | ||
| - When updating a component version, use `hack/update-version.sh` and `hack/operator-update-images.sh` to propagate changes consistently. | ||
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 @@ | ||
| AGENTS.md |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the OLM bundle and Operator component are only tangentially related, this clarifies that there's two (and sometimes three) artifacts