User Guide¶
This guide is for the developers who change the GitHub organizations and repositories of their project through an existing otterdog setup: the day-to-day path from a need to a change applied on GitHub. To install and operate otterdog itself, see Operating Otterdog.
Propose it
Open the pull request, otterdog validates and applies it.
Making changes¶
Every change to the configuration of an organization is a pull request on its configuration repository.
-
From the Playground or a branch to the changes applied on GitHub: the validation, the review, the auto-merge with
/otterdog mergeand the apply. -
Adding, renaming and removing resources
Declare a new resource with the function of the default configuration, rename a repository or a webhook without deleting it, delete a resource.
Configuration Guides¶
The Configuration Guides start from common needs and explain how to address them with otterdog, including the trade-offs and limitations to consider. Every property is documented in the Reference.
-
Fundamentals
Inherited and explicit values · Reusing configuration with Jsonnet
-
Protecting code
Protecting branches · Organization-wide rulesets · Rulesets or branch protection rules · Migrating to rulesets · Protecting tags and releases
-
Security and automation
Securing GitHub Actions · Repository security features · Secrets and variables · Deployment environments · Webhooks
-
Organization and access
Organization settings and member privileges · Teams and access
-
Repositories
Pull requests and merging · Repository features and metadata · Common repository patterns
New to otterdog?
Start with the fundamentals: Inherited and explicit values explains where the values of
a configuration come from, and why a plan may show changes nobody made.
When something goes wrong¶
-
Understand a message of the validation, a reply of
/otterdog merge, or an unexpected result ofplanandapply. -
The features and settings of GitHub that otterdog does not manage, and how to change them.