Get in Touch

Course Outline

Source Code Sovereignty

  • Understanding how cloud Git platforms can expose proprietary code and trade secrets.
  • Gitea architecture compared with GitHub, GitLab, and Forgejo.
  • Considerations regarding licensing, terms of service, and data export.

Installation and Configuration

  • Deploying via Docker Compose alongside PostgreSQL and Redis.
  • Installing binaries on Linux with a systemd service.
  • Configuring reverse proxies, TLS, and SSH ports.
  • Navigating the initial setup wizard for database connection, admin accounts, and app.ini tuning.

Repository Management

  • Establishing 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

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

Migration from Cloud Forges

  • Setting up repository mirroring and importing data from GitHub/GitLab.
  • Transferring issues, pull requests, and release notes.
  • Preserving commit signatures and GPG key trust relationships.

Authentication and Access Control

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

Security and Compliance

  • Enforcing commit signing using GPG and SSH keys.
  • Maintaining audit logs for repository access and administrative changes.
  • Conducting dependency scanning and receiving webhook alerts for vulnerabilities.

Maintenance and Scaling

  • Establishing 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.
  • Proficiency in Linux server administration, including Docker.
  • Familiarity with CI/CD pipelines and webhooks.

Audience

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

Testimonials (2)

Related Categories