applications-live reviewers, and pull request rules in self-service.tfvars. Every change follows the same pull request flow. For more information, see Self-service.
Add a repository
To add a repository, add an entry to therepositories section of self-service.tfvars. The entry key is the repository name.
The following example creates a repository from a Backbase template ZIP:
repository_init_from_zip: initializes the repository from a template ZIP, identified bynameandversion. Only ZIPs from the Backbase accelerators repository are accepted. The ZIP applies only if nobody has pushed commits to the repository yet.default_branch: the default branch. The default isdevelop. You can set it only when the repository is created.enable_branch_protection: applies default branch protection, such as one required approval and code owner review. The default istrue.protected_branches: the branches that branch protection applies to. The default is["main", "develop"].required_status_checks: the status checks that must pass before a merge. The default is an empty list.repository_archived: archives the repository when set totrue.
Archive a repository
When you no longer need a repository, setrepository_archived = true instead of deleting it. Only a development-admin team member can delete a repository, in the repository settings on GitHub. After a deletion, remove the repository entry from self-service.tfvars.
Set applications-live reviewers
By default, every member of theapplications-live GitHub team reviews pull requests to the applications-live repository. You can change this per runtime in one of two ways:
runtime_codeowners_override: sets the reviewers for a runtime, for example production deployments.auto_approve_runtimes: a bot approves pull requests for the listed runtimes, so you can merge after the checks pass.
prd runtime:
dev runtime:
Require pull request title scopes
You can require pull request titles inapplications-live to follow the Conventional Commits format, with a Jira project key in the scope. To set the valid scopes, use pr_title_scopes:
feat(PROJECT_KEY-1234): Update connector values. Set PROJECT_KEY to a scope your installation uses.
Manage secrets
Store connector secrets as SOPS-encrypted files in theapplications-live repository, under runtimes/{runtime}/secrets/. Encrypt each file with SOPS before you commit it. Don’t edit the encrypted file by hand, because that breaks the secret. To encrypt a file or change a secret, follow the secrets README in that folder.