Skip to content

Git (GitLab / GitHub)

Where you create a repo depends on the content and audience:

Content TypeWhereWhy
Open source / public training / demosSaaS (GitLab.com / GitHub)Public visibility
Partner pilot (NFR-eligible)Partner SaaS (subject to NFR rules)License terms
Internal product dev (non-AI)Self-Managed (Premium)Full control, private
AI platform / ML workloadsSelf-Managed (Ultimate)Advanced features, Duo

Repositories follow the standard naming pattern:

prv-{team}-{purpose}[-{qualifier}]
RepositoryPurpose
prv-plt-infra-tfPlatform infrastructure as code
prv-plt-infra-gam-scriptsGAM automation scripts
prv-eng-app-webWeb application
prv-eng-lib-shared-utilsShared utility library
prv-sec-policy-complianceCompliance policy definitions
prv-ops-docs-runbooksOperations runbooks
prv-proj-biz-libBusiness library documentation

One top-level group per organization:

OrgGitLabGitHub
PRVgitlab.com/provisionrgithub.com/provisionr

These namespaces are for public or externally shared artifacts only.

For self-managed GitLab instances, organize by team:

gitlab.{org}.cloud/
plt/ ← Platform Engineering
eng/ ← Engineering
sec/ ← Security
ops/ ← Operations
shared/ ← Cross-team libraries
RolePermissionPurpose
prv-eng-role-gl-org-adminOwnerGitLab instance administration
prv-eng-role-gl-maintainerMaintainerMerge to protected branches
prv-eng-role-gl-developerDeveloperPush to feature branches
prv-eng-role-gl-readReporterRead-only access
  • main / master: Protected. Merge via MR only. Require approvals.
  • release/*: Protected. Tag-based releases.
  • Feature branches: Developer push allowed.

CI/CD pipelines and runners follow automation account naming:

AccountPurpose
prv-plt-auto-gl-ci-runnerCI runner identity
prv-eng-auto-gl-deployDeployment automation
prv-sec-auto-gl-scannerSecurity scanning automation
  • No production secrets in repos (use vault/secret manager).
  • All repos require code review before merge to protected branches.
  • CI/CD uses service accounts, not personal tokens.
  • Repository naming must follow the prv-{team}-{purpose} pattern.