Get in Touch

Course Outline

Source Code Sovereignty

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

Installation and Configuration

  • Docker Compose deployment using PostgreSQL and Redis.
  • Binary installation on Linux with a systemd service.
  • Reverse proxy setup, TLS configuration, and SSH port adjustments.
  • Initial setup wizard: database connection, admin account creation, and app.ini tuning.

Repository Management

  • Creating organizations, teams, and repositories.
  • Branch protection rules, required reviews, and signed commits.
  • Issue tracking, labels, milestones, and Kanban boards.
  • Wiki features and release artifact hosting.

CI/CD with Gitea Actions

  • Enabling Gitea Actions and registering act runners.
  • Writing workflow YAML files for building, testing, and deploying.
  • Security considerations for self-hosted runners and container isolation.
  • Artifact caching and matrix builds.

Migration from Cloud Forges

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

Authentication and Access Control

  • Integration with LDAP, Active Directory, and OpenID Connect.
  • Two-factor authentication and deploy token management.
  • Repository visibility settings: public, internal, and private scopes.

Security and Compliance

  • Enforcing commit signing using GPG and SSH keys.
  • Audit logging for repository access and administrative changes.
  • Dependency scanning and vulnerability webhook alerts.

Maintenance and Scaling

  • Backup strategies for Git data, issues, and attachments.
  • Database optimization and offloading attachments to S3.
  • Upgrading Gitea and handling breaking changes.

Requirements

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

Audience

  • Development teams looking to replace GitHub or GitLab.com.
  • Organizations requiring on-premise custody of their source code.
  • Government agencies and defense contractors subject to code export restrictions.
 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories