Get in Touch

Course Outline

Source Code Sovereignty

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

Installation and Configuration

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

Repository Management

  • Creating organisations, teams, and repositories.
  • Implementing branch protection, required reviews, and signed commits.
  • Issue tracking, labels, milestones, and Kanban boards.
  • Wiki hosting and release artifact management.

CI/CD with Gitea Actions

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

Migration from Cloud Forges

  • Repository mirroring and import 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 options: public, internal, and private scopes.

Security and Compliance

  • Enforcing commit signing with 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 optimisation and offloading attachments to S3.
  • Upgrading Gitea and handling breaking changes.

Requirements

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

Audience

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

Number of participants


Price per participant

Testimonials (2)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories