Skip to content

docs: Restructure DEVELOPMENT.md for developer-first workflow - #3805

Open
TheDevCodingKen wants to merge 4 commits into
tektoncd:mainfrom
TheDevCodingKen:docs/dev-guide-rewrite
Open

docs: Restructure DEVELOPMENT.md for developer-first workflow#3805
TheDevCodingKen wants to merge 4 commits into
tektoncd:mainfrom
TheDevCodingKen:docs/dev-guide-rewrite

Conversation

@TheDevCodingKen

@TheDevCodingKen TheDevCodingKen commented Jul 24, 2026

Copy link
Copy Markdown

Restructures the development guide to prioritize the local 'kind' development loop as the primary path for new contributors. Moves the heavy cloud infrastructure (GKE/OpenShift) setups to an advanced section and removes outdated Kubernetes version flags.

Context

Relevant conversation thread in the operator channel of Tekton Slack

Changes

Fixes #1914

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

Restructures the development guide to prioritize the local 'kind'
development loop as the primary path for new contributors. Moves the
heavy cloud infrastructure (GKE/OpenShift) setups to an advanced
section and removes outdated Kubernetes version flags.
@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Jul 24, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 24, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: TheDevCodingKen / name: TheDevCodingKen (b7a862f)

@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 24, 2026
@jkhelil
jkhelil requested a review from Copilot July 24, 2026 09:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures DEVELOPMENT.md to lead with a local kind-based workflow for faster contributor onboarding, and moves cloud-provider setup guidance (e.g., GKE) into an “Advanced” section to keep the default path lightweight.

Changes:

  • Reorganizes the guide around a recommended local kind development loop (make dev-setup, build/apply, iterate).
  • Moves GKE setup into an “Cloud Environments (Advanced)” section and updates the GKE guidance to avoid the previously broken external link (Issue #1914 context).
  • Simplifies and refreshes the “Additional Resources” section for new contributors.
Comments suppressed due to low confidence (12)

DEVELOPMENT.md:42

  • This code block contains shell commands but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:166

  • This code block contains shell commands but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:179

  • This code block contains shell commands but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:73

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:79

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:97

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:103

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:109

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:115

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:125

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:131

  • This code block contains a make command but is labeled as go, which results in incorrect syntax highlighting.
```go

DEVELOPMENT.md:201

  • This code block contains shell commands but is labeled as go, which results in incorrect syntax highlighting.
```go

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread DEVELOPMENT.md Outdated
Comment thread DEVELOPMENT.md Outdated
Comment thread DEVELOPMENT.md Outdated
Comment thread DEVELOPMENT.md Outdated
Comment thread DEVELOPMENT.md Outdated
TheDevCodingKen and others added 2 commits July 24, 2026 11:40
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@TheDevCodingKen

Copy link
Copy Markdown
Author

/assign @anithapriyanatarajan

@codecov-commenter

codecov-commenter commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.70%. Comparing base (0c7ae21) to head (cadbbb1).
⚠️ Report is 115 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3805      +/-   ##
==========================================
+ Coverage   25.47%   26.70%   +1.22%     
==========================================
  Files         449      465      +16     
  Lines       23363    25010    +1647     
==========================================
+ Hits         5952     6679     +727     
- Misses      16725    17601     +876     
- Partials      686      730      +44     
Flag Coverage Δ
unit-tests 26.70% <ø> (+1.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@anithapriyanatarajan

anithapriyanatarajan commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@TheDevCodingKen - could you allow maintainer edit for this PR. Also would appreciate if you could remove that screenshot from PR description and include the slack link. Thank you

@TheDevCodingKen

Copy link
Copy Markdown
Author

@TheDevCodingKen - could you allow maintainer edit for this PR. Also would appreciate if you could remove that screenshot from PR description and include the slack link. Thank you

No problem at all, @anithapriyanatarajan. I've made these changes.

@TheDevCodingKen

Copy link
Copy Markdown
Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please assign pratap0007 after the PR has been reviewed. You can assign the PR to them by writing /assign @pratap0007 in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details
Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

/assign @pratap0007

Finish the DEVELOPMENT.md restructure so a new contributor can reach a
running operator within the first screenful, and remove content that has
rotted for lack of an owner or CI.

What changed:
- Reorganise into a single kind-first path: Before you start, Quick
  start with kind (with verification commands), the development loop,
  Testing,
  Code generation, Developing for OpenShift, Other clusters,
  Troubleshooting, Contributing and Additional resources.
- Add Testing and Troubleshooting sections. The PR template asks for
  `make test lint` but the guide never explained how, and common local
  setup failures had nowhere to live.
- Remove the GKE walkthrough. It referenced Kubernetes 1.11 and gcloud
  flags that GKE has since removed, and produced the broken link in
  issue tektoncd#1914. Replace with a short "Other clusters" pointer that states
  the minimum Kubernetes version (1.28, from the README matrix) and
  cluster-admin requirement, and links to each provider's own docs.
  Detailed cloud walkthroughs belong on tekton.dev as dated blog posts.
- Remove the `dep` / "Install dep v0.5.0" references (the repo uses Go
  modules with a vendored tree) and the $GOPATH/src clone requirement,
  keeping the fork-and-upstream-remote setup.
- Replace the "Install Operator" and "Accessing logs" placeholders with
  real commands verified against the Makefile.
- Convert the shell/make code fences Copilot flagged to `bash`.

Every documented command was verified against the Makefile and hack/
scripts before inclusion.

Signed-off-by: Anitha Natarajan <anataraj@redhat.com>
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from anithapriyanatarajan after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added release-note-none Denotes a PR that doesnt merit a release note. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Sep 8, 2026
@anithapriyanatarajan

Copy link
Copy Markdown
Contributor

@TheDevCodingKen, Thank you for following up on this PR.

I pushed a commit on top of your branch (cadbbb15c) to align the guide to a kind-first structure. Your 3 commits are untouched.

The new commit reorders to:

Before you start → Quick start with kind → Development loop → Testing → Code generation → OpenShift → Other clusters → Troubleshooting.

Reworded the cloud section: provider walkthroughs are called out as planned blog posts on tekton.dev (still to be written), not existing docs.

Please pull the branch and give it a review when you get a chance. If you're happy with it, feel free to squash the whole thing into a single commit under your name, then we can get it merged.

One caveat to flag: On my machine make dev-setup didn't bootstrap the kind cluster, while a plain kind create cluster works fine, so https://github.com/tektoncd/operator/blob/main/hack/dev/kind/kind.yaml, looks stale against newer kind/k8s. That's unrelated to this doc, so I'd suggest a separate PR for it rather than blocking this one.

cc: @pratap0007 @jkhelil

@anithapriyanatarajan anithapriyanatarajan added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none Denotes a PR that doesnt merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link broken on tektoncd/operator/blob/main/DEVELOPMENT.md

6 participants