Skip to content

chore: retarget master branch refs to main#5538

Draft
nabramovitz wants to merge 2 commits into
cloudfoundry:developfrom
nabramovitz:norm/chore/main-release-branch
Draft

chore: retarget master branch refs to main#5538
nabramovitz wants to merge 2 commits into
cloudfoundry:developfrom
nabramovitz:norm/chore/main-release-branch

Conversation

@nabramovitz

Copy link
Copy Markdown
Contributor

⚠ Merge after the rename

Draft until the mastermain rename executes (requested from org admins in cloudfoundry/community#1544; protection pre-staged in cloudfoundry/community#1537). Merging early would point the chart icon raw URL at a branch that doesn't exist yet. Once the rename lands, this should merge promptly — develop's master refs (icon raw URL, workflow triggers) break at rename time until it does.

Closes #5507

What

Swaps every in-repo reference to stratos's own master branch over to main:

  • Workflow triggers: pr.yml, stb_tests.yml, backend_tests.yml, frontend_tests.yml, documentation.yml
  • Release CI: deploy/ci/console-sync-release.yml (branch: master) + deploy/ci/secrets.yml-sample branch defaults
  • deploy/kubernetes/console/Chart.yaml icon raw URL — the one mandatory link fix (raw.githubusercontent URLs do not redirect on branch rename; blob/tree web URLs do)
  • package.json climate script diff base
  • .travis.yml branch allowlist (v2-master left as-is — that branch still exists)
  • Docs: release_guide.md (release flow now cuts from main), contributing_guide.md, developer-environment.md, devops_guide.md, cf-api-v2-usage.md, README license badge
  • CONTRIBUTING.md: also fixes the stale claim that PRs target masterdevelop is the PR target; main is the release line

Deliberately untouched

Other projects' master URLs (helm, gimme, mo, mariadb, angular-cli, monocular, golang/dep), historical CHANGELOG entries, "master/detail" UI-pattern comments, the e2e branch-name matcher (already accepts both), and the codecov badge (points at the cloudfoundry-community fork).

All edited YAML validated. 17 files, 34 substitutions.

Prepares for the master -> main release-branch rename:
- workflow triggers (pr, stb_tests, backend_tests, frontend_tests,
  documentation) now target main
- console-sync-release pipeline + secrets sample branch refs
- Chart.yaml icon raw URL (raw URLs do not redirect on rename)
- package.json climate script diff base
- .travis.yml branch allowlist (v2-master left as-is)
- docs: release_guide, contributing guides, developer-environment,
  devops_guide, cf-api-v2-usage, README license badge
- CONTRIBUTING.md: corrected stale claim that PRs target master
  (they target develop; main is the release branch)

Other projects' master URLs (helm, gimme, mo, mariadb, angular-cli,
monocular) and historical CHANGELOG entries are untouched.
The docs tree merged in cloudfoundry#5547 arrived after this branch was cut and
carries its own cloudfoundry/stratos tree/master and blob/master
links. Same treatment as the rest of the branch; SUSE and third-party
repo links are left alone.
@nabramovitz nabramovitz force-pushed the norm/chore/main-release-branch branch from eb52ce8 to d1c675f Compare July 3, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Establish main as the release branch (rename master → main)

1 participant