Get in Touch

Course Outline

Source Code Sovereignty

  • The risks of exposing proprietary code and trade secrets on cloud Git platforms.
  • Understanding Gitea’s architecture and comparing it with GitHub, GitLab, and Forgejo.
  • Considerations regarding licensing, terms of service, and data export.

Installation and Configuration

  • Deploying with Docker Compose, including PostgreSQL and Redis.
  • Installing the binary on Linux with a systemd service.
  • Configuring reverse proxies, TLS, and SSH ports.
  • Completing the initial setup wizard, covering database setup, admin accounts, and app.ini optimization.

Repository Management

  • Creating organizations, teams, and repositories.
  • Implementing branch protection, mandatory reviews, and signed commits.
  • Managing issue tracking, labels, milestones, and Kanban boards.
  • Hosting wikis and release artifacts.

CI/CD with Gitea Actions

  • Activating Gitea Actions and registering act runners.
  • Crafting workflow YAML for building, testing, and deployment.
  • Ensuring self-hosted runner security and container isolation.
  • Utilizing artifact caching and matrix builds.

Migration from Cloud Forges

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

Authentication and Access Control

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

Security and Compliance

  • Enforcing commit signing via GPG and SSH keys.
  • Maintaining audit logs for repository access and administrative changes.
  • Performing dependency scans and setting up vulnerability webhook alerts.

Maintenance and Scaling

  • Implementing backup strategies for Git data, issues, and attachments.
  • Optimizing the database and offloading attachments to S3.
  • Managing Gitea upgrades and addressing breaking changes.

Requirements

  • A solid understanding of Git and version control concepts at an intermediate level.
  • Linux server administration skills, including Docker management.
  • Knowledge of CI/CD pipelines and webhook mechanisms.

Target Audience

  • Development teams looking to migrate from GitHub or GitLab.com.
  • Organizations that require on-premise control of source code assets.
  • Government agencies and defense contractors subject to code export regulations.
 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories