Get in Touch

Course Outline

Source Code Sovereignty

  • How cloud Git platforms can expose proprietary code and trade secrets.
  • Gitea architecture compared with GitHub, GitLab, and Forgejo.
  • Licensing, terms of service, and data export considerations.

Installation and Configuration

  • Deploying via Docker Compose with PostgreSQL and Redis.
  • Binary installation on Linux using systemd services.
  • Configuring reverse proxies, TLS, and SSH ports.
  • Using the initial setup wizard for database configuration, admin accounts, and app.ini tuning.

Repository Management

  • Creating organizations, teams, and repositories.
  • Implementing branch protection, required reviews, and signed commits.
  • Utilizing issue tracking, labels, milestones, and Kanban boards.
  • Hosting wikis and release artifacts.

CI/CD with Gitea Actions

  • Enabling Gitea Actions and registering act runners.
  • Writing workflow YAML files for building, testing, and deploying.
  • Ensuring self-hosted runner security through container isolation.
  • Implementing artifact caching and matrix builds.

Migration from Cloud Forges

  • Mirroring and importing repositories from GitHub/GitLab.
  • Migrating issues, pull requests, and release notes.
  • Preserving commit signatures and GPG key trust.

Authentication and Access Control

  • Integrating LDAP, Active Directory, and OpenID Connect.
  • Managing two-factor authentication and deploy tokens.
  • Defining repository visibility: public, internal, and private scopes.

Security and Compliance

  • Enforcing commit signing with GPG and SSH keys.
  • Auditing repository access and administrative changes via logs.
  • Monitoring dependency scanning and vulnerability webhook alerts.

Maintenance and Scaling

  • Implementing backup strategies for Git data, issues, and attachments.
  • Optimizing databases and offloading attachments to S3.
  • Upgrading Gitea and managing breaking changes.

Requirements

  • Intermediate knowledge of Git and version control concepts.
  • Linux server administration experience, including Docker.
  • Familiarity with CI/CD pipelines and webhooks.

Audience

  • Development teams migrating away from GitHub or GitLab.com.
  • Organizations requiring strict custody of on-premise source code.
  • Government and defense contractors subject to code export restrictions.
 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories