Course Outline
Achieving Lightweight CI Sovereignty
- Understanding how cloud CI/CD services can lead to vendor lock-in and security risks.
- Woodpecker CI’s core design principles: simplicity, Docker-native architecture, and forge agnosticism.
- Comparing Woodpecker CI with GitHub Actions, GitLab CI, Drone, and Jenkins.
Deploying Servers and Agents
- Setting up the Docker Compose stack comprising the server, agents, and database.
- Configuring environment variables and registering for Forge OAuth.
- Managing agent labels, capacity planning, and resource constraints.
Authoring Pipelines
- Mastering the woodpecker.yml syntax: steps, services, and conditional logic.
- Selecting Docker images and mounting workspace volumes.
- Implementing parallel execution and dependency chains.
Integrating with Forges
- Configuring webhooks for Gitea and Forgejo.
- Setting up branch filtering, pull request triggers, and tag-based events.
- Reporting commit statuses and generating badges.
Managing Secrets and Security
- Managing secret scopes at the repository, organisation, and global levels.
- Injecting credentials for deployment stages.
- Ensuring network isolation and distinguishing between trusted and untrusted agents.
Matrix Builds and Caching Strategies
- Executing multi-language and multi-version test matrices.
- Utilising cache plugins for dependency directories.
- Uploading artifacts to S3-compatible storage solutions.
Operational Management
- Monitoring server logs, agent telemetry, and inspecting queues.
- Scaling agents horizontally using Docker Swarm or Kubernetes.
- Backing up and restoring pipeline history and secrets.
Requirements
- Intermediate knowledge of Git and CI/CD pipelines.
- Proficiency in Linux server administration and Docker.
- Familiarity with administering Gitea or Forgejo.
Target Audience
- DevOps teams requiring a lightweight, self-hosted CI solution for Gitea/Forgejo.
- Organisations seeking to avoid SaaS offerings like GitHub Actions or GitLab CI.
- Small to medium-sized teams desiring pipeline control without unnecessary complexity.
Testimonials (4)
Engaging, and hands on practise.
Balavignesh Elumalai - Scottish Power
Course - SonarQube for DevOps
Trainer has in depth experince and well narreated in deed. The depth of the knowledge and the passion for teaching is highly appriciated.
Anup Kumar - SMR Automotive Mirrors Stuttgart
Course - Jenkins 2: Building CI/CD Pipelines
Being introduced to some technologies I wish I knew earlier.
Michel - Vanier College
Course - DevOps Practical Implementation and Tools
I like all the possibilities that I discovered in the course about DevOps options that I can apply in order to have a better CD/CI workflow!