Skip to content

Instantly share code, notes, and snippets.

@chmouel
Last active March 12, 2026 13:43
Show Gist options
  • Select an option

  • Save chmouel/81b2d4360b08b4cfa49ad95228dcf5c9 to your computer and use it in GitHub Desktop.

Select an option

Save chmouel/81b2d4360b08b4cfa49ad95228dcf5c9 to your computer and use it in GitHub Desktop.

Phase 1 Migration: openshift-pipelines → tektoncd — Next Steps

Completed (code changes)

  • hack/generate-releaseyaml.sh lines 4–6: Updated TARGET_REPO_CONTROLLER, TARGET_REPO_WATCHER, TARGET_REPO_WEBHOOK defaults to ghcr.io/tektoncd/...
  • hack/second-controller.py lines 52 & 91: Updated help text and --controller-image default to ghcr.io/tektoncd/...

GitHub Admin (manual, one-time)

  • Transfer repo: openshift-pipelines/pipelines-as-codetektoncd/pipelines-as-code
    • Go to repo Settings → Danger Zone → Transfer
    • GitHub will redirect old URLs automatically
  • Re-import all CI secrets after transfer (secrets are NOT migrated automatically):
    gh secret set -f tmp/env.ci --repo tektoncd/pipelines-as-code
  • Add Repo CR in dogfooding cluster
  • Update pac internal plumbing to properly references tektoncd org for release.yaml deployment on nightly
  • Push upstream fixes from https://github.com/chmouel/pipelines-as-code/tree/move-to-tektoncd to tektoncd/pac:main
  • Add bot user osp-pac to push release.yaml https://github.com/tektoncd/pipelines-as-code/settings/access image
  • Update KO_DOCKER_REPO repo variable/secret to ghcr.io/tektoncd/pipelines-as-code
  • Configure GHCR package ghcr.io/tektoncd/pipelines-as-code — ensure org-level write access

after transfe

Issue 1: Transfer auxiliary e2e repos

Title: chore: migrate e2e test repos from openshift-pipelines to tektoncd org

Body:

As part of the org migration, the following repos still live under openshift-pipelines:

- openshift-pipelines/pipelines-as-code-e2e-tests
- openshift-pipelines/pipelines-as-code-e2e-tests-webhook
- openshift-pipelines/pipelines-as-code-e2e-tests-private
- openshift-pipelines/startpaac
- openshift-pipelines/pac-demo

Once transferred, update `.github/workflows/e2e.yaml` repo references:
- TEST_GITHUB_REPO_OWNER_GITHUBAPP
- TEST_GITHUB_REPO_OWNER_WEBHOOK
- TEST_GITHUB_PRIVATE_TASK_URL
- repository: openshift-pipelines/startpaac (line ~318)
- And matching tmate env vars

Also update TEST_GITHUB_REPO_INSTALLATION_ID to the new tektoncd GitHub App installation ID.

Rename Go module path

Title: chore: rename Go module path from openshift-pipelines to tektoncd

Body:

After the GitHub repo transfer, rename the Go module path:

- go.mod line 1: github.com/openshift-pipelines/pipelines-as-code → github.com/tektoncd/pipelines-as-code
- docs/go.mod: same
- Mass-replace all import paths in pkg/, cmd/, test/, internal/
- Makefile build flags: -X github.com/openshift-pipelines/pipelines-as-code/pkg/params/version.Version
- Ko config image paths: config/400-controller.yaml, config/500-watcher.yaml, config/600-webhook.yaml
- pkg/test/nonoai/deployment.yaml ko:// paths
- Run: make vendor && make test

Note: This is a breaking change for any downstream consumers importing the module.

Remove Jira stuff from PAC Repo

Readd CloudFare app and make sure it generates the docs properly

Migrate homebrew casks form openshift-pipelines to tektoncd

Add a link to tektoncd doc to pipelinesascode.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment