Get in Touch

Course Outline

Source Code Sovereignty

  • Understanding why cloud Git platforms may expose proprietary code and trade secrets.
  • Gitea architecture and comparison with GitHub, GitLab, and Forgejo.
  • Considerations for licensing, terms of service, and data export.

Installation and Configuration

  • Deployment using Docker Compose with PostgreSQL and Redis.
  • Binary installation on Linux with systemd service configuration.
  • Configuration of reverse proxy, TLS, and SSH ports.
  • Initial setup wizard: database connection, admin account creation, 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.
  • Managing wikis and release artifact hosting.

CI/CD with Gitea Actions

  • Enabling Gitea Actions and registering act runners.
  • Writing workflow YAML files for build, test, and deployment stages.
  • Ensuring self-hosted runner security and container isolation.
  • Optimizing artifact caching and matrix builds.

Migration from Cloud Forges

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

Authentication and Access Control

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

Security and Compliance

  • Enforcing commit signing with GPG and SSH keys.
  • Maintaining audit logs for repository access and admin changes.
  • Configuring 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 handling breaking changes effectively.

Requirements

  • Intermediate knowledge of Git and version control concepts.
  • Linux server administration skills, including Docker usage.
  • 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 and defense contractors subject to code export restrictions.
 14 Hours

Testimonials (2)

Related Categories