Get in Touch

Course Outline

Source Code Sovereignty

  • Understanding the risks of proprietary code exposure on cloud Git platforms.
  • Gitea architecture compared with GitHub, GitLab, and Forgejo.
  • Licensing, terms-of-service implications, and data export considerations.

Installation and Configuration

  • Docker Compose deployment utilizing PostgreSQL and Redis.
  • Binary installation on Linux with systemd service configuration.
  • Setting up reverse proxies, TLS, and SSH ports.
  • Initial setup wizard: configuring the database, admin account, and app.ini tuning.

Repository Management

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

CI/CD with Gitea Actions

  • Enabling Gitea Actions and registering act runners.
  • Writing workflow YAML files for building, testing, and deploying.
  • Securing self-hosted runners and ensuring container isolation.
  • Utilizing artifact caching and matrix builds.

Migration from Cloud Forges

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

Authentication and Access Control

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

Security and Compliance

  • Enforcing commit signing with GPG and SSH keys.
  • Implementing audit logs for repository access and administrative changes.
  • Conducting dependency scanning and receiving vulnerability webhook alerts.

Maintenance and Scaling

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

Requirements

  • Intermediate understanding 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 source code.
  • Government entities and defense contractors subject to code export restrictions.
 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories