# Hod > Self-hosted, open-source CI/CD. Pipelines are typed and checked before they run, run the same on your laptop as on the server, and skip steps whose inputs did not change. Pipelines are YAML files; the full syntax is in /reference/pipeline.md. The REST API is described by the OpenAPI document at /openapi.json. Pipeline files have a JSON Schema at /schema/pipeline.json, job group files under .hod/jobs/ at /schema/jobs.json. ## Get started - [Install](https://docs.hod.sh/index.md): Install the hod command line and run Hod pipelines on your own machine. - [A first pipeline](https://docs.hod.sh/start/first-pipeline.md): Write a .hod/pipeline.yaml for a real project, and what each part does. - [Running locally](https://docs.hod.sh/start/running.md): hod local run and hod plan: events, changed files, caches, logs and Docker in jobs. - [Editor support](https://docs.hod.sh/start/editor.md): Completion, hover help and checks for .hod/pipeline.yaml in your editor, from the format's JSON Schema. - [Coming from GitHub Actions](https://docs.hod.sh/start/from-github-actions.md): How GitHub Actions workflows map to Hod pipelines, key by key. - [Troubleshooting](https://docs.hod.sh/start/troubleshooting.md): Common problems running pipelines locally, and what to do about them. ## Writing pipelines - [Events and conditions](https://docs.hod.sh/pipelines/events.md): Which events start runs (on), and when jobs and steps run (if, vars, changed()). - [Jobs and steps](https://docs.hod.sh/pipelines/jobs.md): Images, runners, steps, the order jobs run in, variables, Docker in jobs and pushing to the repository. - [Files and outputs](https://docs.hod.sh/pipelines/files-and-outputs.md): Pass files and typed values from one job to the jobs that need it. - [Caching](https://docs.hod.sh/pipelines/caching.md): The step cache skips steps whose inputs didn't change; the dependency cache keeps downloads between runs. - [Matrix](https://docs.hod.sh/pipelines/matrix.md): Run a job once per combination of values. - [Services](https://docs.hod.sh/pipelines/services.md): Databases and other containers that run beside a job. - [Secrets and cloud identity](https://docs.hod.sh/pipelines/secrets.md): Grant steps secrets by name, and short-lived OIDC tokens for AWS, GCP, Azure and Vault. - [Concurrency](https://docs.hod.sh/pipelines/concurrency.md): Run members of a group one at a time: deploys, and superseding a pull request's older runs. - [Timeouts, retries and failures](https://docs.hod.sh/pipelines/failures.md): How long jobs may run, running them again, and failures that don't fail the run. - [Job groups](https://docs.hod.sh/pipelines/job-groups.md): Split a pipeline: keep jobs in files under .hod/jobs/ and only the wiring in .hod/pipeline.yaml. - [Components](https://docs.hod.sh/pipelines/components.md): Reuse steps and whole jobs: step components and templates, local or published. ## Self-hosting - [Quick start](https://docs.hod.sh/self-hosting/index.md): Run hod-server, a runner and Postgres with Docker Compose, and start a first run. - [Configuration](https://docs.hod.sh/self-hosting/configuration.md): The server's settings: environment variables and the TOML file. - [Database](https://docs.hod.sh/self-hosting/database.md): Postgres for Hod: versions, connections, poolers, timeouts and health. - [TLS](https://docs.hod.sh/self-hosting/tls.md): Serve https, trust internal CAs, and how Hod picks its root certificates. - [Runners](https://docs.hod.sh/self-hosting/runners.md): Run hod-runner on more machines: runner trust, registration, identity, Docker in jobs and host jobs. - [GitHub](https://docs.hod.sh/self-hosting/forges/github.md): Connect Hod to GitHub as a GitHub App: check runs, re-runs and sign-in. - [GitLab](https://docs.hod.sh/self-hosting/forges/gitlab.md): Start runs from GitLab webhooks, with a status per job. - [Forgejo and Gitea](https://docs.hod.sh/self-hosting/forges/forgejo.md): Start runs from Forgejo or Gitea webhooks, with a status per job. - [Users and roles](https://docs.hod.sh/self-hosting/users.md): Signing in, org and project roles, invite links, role rules, public projects, personal tokens, re-authentication, disabling users and the audit log. - [Web UI](https://docs.hod.sh/self-hosting/web-ui.md): The server's web UI: signing in, sessions and reverse proxies. - [Secrets](https://docs.hod.sh/self-hosting/secrets.md): Store secrets for pipelines: the encryption key, backups, rotation and auditing. - [OIDC identity](https://docs.hod.sh/self-hosting/oidc.md): Short-lived OIDC tokens for steps, trusted by AWS, GCP, Azure and Vault. - [Components](https://docs.hod.sh/self-hosting/components.md): Policy for published components: sources, signatures, cooldowns and registries. - [Upgrading and stopping](https://docs.hod.sh/self-hosting/upgrading.md): Database migrations on upgrade, and how the server shuts down. ## Reference - [Pipeline reference](https://docs.hod.sh/reference/pipeline.md): Every key of .hod/pipeline.yaml: its type, its default, and where it is explained. - [Expressions and values](https://docs.hod.sh/reference/expressions.md): CEL in pipelines: where expressions go, the functions you can call, every event field and the variables Hod sets. - [hod command reference](https://docs.hod.sh/reference/cli.md): Every hod command and its options, as hod --help prints them. - [hod-runner command reference](https://docs.hod.sh/reference/runner.md): Every hod-runner command and its options, as hod-runner --help prints them. - [hod.lock](https://docs.hod.sh/reference/lock.md): The lock file that pins the published components and templates a pipeline uses. - [REST API](https://docs.hod.sh/reference/api.md): Every operation of the server's REST API, from its OpenAPI document. - [Licences](https://docs.hod.sh/reference/licences.md): Hod's licences, and the licences of what the image ships.