Skip to content

fix(installation): clone k8s repos by full-version release branch#456

Merged
vvlladd28 merged 1 commit into
mainfrom
fix/k8s-clone-branch
Jun 5, 2026
Merged

fix(installation): clone k8s repos by full-version release branch#456
vvlladd28 merged 1 commit into
mainfrom
fix/k8s-clone-branch

Conversation

@vvlladd28
Copy link
Copy Markdown
Member

Summary

  • thingsboard-ce-k8s / thingsboard-pe-k8s are branched per full version (release-4.3.1.2), not per minor release — git clone -b release-4.3 on 12 cloud installation pages (AWS/Azure/GCP × monolith/microservices, CE + PE) failed because that branch doesn't exist in those repos.
  • Extracted the clone snippet into k8sCloneCmd(repo, dir) in src/util/install-commands.ts and switched all 16 k8s installation pages (incl. minikube/openshift) to it, so the repo URL, branch format, and --depth 1 live in one place.
  • CE_BRANCH stays for repos that do branch per minor release (thingsboard, rule-node-examples), with a comment pointing k8s usage to the helper.

thingsboard-ce-k8s / thingsboard-pe-k8s are branched per full version
(release-4.3.1.2), not per minor release, so 'git clone -b release-4.3'
failed on 12 cloud installation pages.

Centralize the snippet in k8sCloneCmd() (src/util/install-commands.ts)
and use it on all 16 k8s installation pages; keep CE_BRANCH for repos
that do branch per minor release (thingsboard, rule-node-examples).
@vvlladd28 vvlladd28 merged commit 1e49dac into main Jun 5, 2026
4 checks passed
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.

1 participant