Get in Touch

Course Outline

Achieving Lightweight CI Sovereignty

  • Understanding how cloud CI/CD services can lead to vendor lock-in and expose sensitive data.
  • Woodpecker CI's core design principles: simplicity, Docker-native architecture, and forge-agnosticism.
  • Comparative analysis with GitHub Actions, GitLab CI, Drone, and Jenkins.

Deploying Servers and Agents

  • Setting up the Docker Compose stack, including the server, agents, and database.
  • Configuring environment variables and registering for Forge OAuth.
  • Managing agent labels, capacity planning, and setting resource limits.

Writing Pipelines

  • Mastering the woodpecker.yml syntax, covering steps, services, and conditional logic.
  • Selecting appropriate Docker images and mounting workspaces.
  • Implementing parallel execution and managing dependency chains.

Integrating with Forges

  • Configuring webhooks for both Gitea and Forgejo.
  • Setting up branch filtering, pull request triggers, and tag-based events.
  • Reporting commit statuses and generating badges.

Managing Secrets and Security

  • Understanding secret scopes: repository, organization, and global levels.
  • Injecting credentials into deployment stages securely.
  • Ensuring network isolation and distinguishing between trusted and untrusted agents.

Matrix Builds and Caching Strategies

  • Executing test matrices for multiple languages and versions.
  • Utilizing the cache plugin for dependency directories to speed up builds.
  • Uploading artifacts to S3-compatible storage solutions.

Operations and Maintenance

  • Monitoring server logs, agent telemetry, and queue status.
  • Horizontally scaling agents using Docker Swarm or Kubernetes.
  • Performing backups and restores of pipeline history and secrets.

Requirements

  • Proficiency in Git and experience with CI/CD pipelines at an intermediate level.
  • Knowledge of Linux server administration and Docker.
  • Familiarity with administering Gitea or Forgejo.

Target Audience

  • DevOps teams seeking a lightweight, self-hosted CI solution for Gitea/Forgejo.
  • Organizations aiming to avoid the SaaS model of GitHub Actions or GitLab CI.
  • Small to medium-sized teams desiring full pipeline sovereignty without unnecessary bloat.
 14 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories