Creating a Plugin

A hands-on tutorial that builds a working PipeCD plugin from scratch.

In PipeCD v1, every deployment runs through a plugin, and you can write your own. This tutorial builds a complete plugin step by step. You begin with an empty directory and end with a simple plugin that piped loads and runs.

If you want to configure an existing plugin instead of writing one, see the official plugin pages.

Credits

This tutorial is adapted from warashi’s Zenn book, 作って学ぶ PipeCD プラグイン (Try and Learn PipeCD Plugin). It walks through the same example plugin, with the code updated here for the current PipeCD plugin SDK.


Introduction

What you build in this tutorial and how the chapters fit together.