# sample-cd

This document expects you are navigated from [Add a New Service in DBaaS](https://cloud.wiki.pingcap.net/view/1f1kmbxQ0oX1fCLQrTNhsKvEeafXxDrXBIm1R0RSFTLk). If not so, read
that document first.

## TODOs

1. read the documents about [Pulumi Project](https://www.pulumi.com/docs/intro/concepts/project/) and [Pulumi Stack](https://www.pulumi.com/docs/intro/concepts/stack/) to understand these two concepts
2. customize your project in [Pulumi.yaml](./Pulumi.yaml)
3. rename `Pulumi.sample.yaml` to `Pulumi.<your-stack>.yaml`
4. customize your CD code in [index.ts](./index.ts)
    Note: a working example can be found in [infra-cd](https://github.com/tidbcloud/infra-cd/blob/main/infra-api.ts)
5. customize your pipeline in [Jenkinsfile](./Jenkinsfile)
6. file a pull request and inspect the execution plan of your application
