Environment Setup
The repository contains only shell (
.sh) and PowerShell (.ps1) scripts
Requires
Windows 10/11withWSL2and PowerShell run as Administrator for testingsetup.ps1;provision.shruns inside the WSL Ubuntu instance.
VSCode is the recommended editor for development.
Install the following extensions for proper EditorConfig, shell, and PowerShell integration:
EditorConfig.EditorConfigtimonwong.shellcheckms-vscode.powershell
Keep
LFline endings for.shfiles —.editorconfigenforces this,CRLFbreaks script execution inside WSL.
Git Hooks
Enable git hooks:
chmod +x .githooks/*
git config core.hooksPath .githookscommit-msg— commit message format.pre-push— branch naming format.
There is no
pre-commithook here: the repository has no lint or build pipeline, so scripts are validated manually before pushing.
feat, fix, docs, refactor, perf, test, build, ci, chore, revert.
<type>(<scope>)?[!]: <subject>
Where:
<type>— one of the allowed prefixes above.<scope>— optional scope in parentheses, alphanumeric/-.!— optional breaking change marker.:— colon + space are required.<subject>— short description.
Total commit message length is limited to 70 characters.
Valid commit examples:
feat: add k3d cluster bootstrap stepfix(wsl): correct mirrored networking configrefactor(setup)!: drop legacy firewall rulesdocs: update local deployment section
<type>/<slug>
<type>/<scope-or-id>/<slug>
Where:
<type>— one of the prefixes listed above./<scope-or-id>— optional part, alphanumeric/-./<slug>— short description, alphanumeric/_/-.
Valid branch examples:
feat/add-helm-bootstrapfix/ssh-service-startupchore/bump-k3d-versionfeat/GOTEC-404/expose-registry-port
Exceptions:
dev,main,master.