fluid scaffold-ci
Generate a CI pipeline file for GitLab, GitHub Actions, or Jenkins that wires together the FLUID validate / generate / plan / apply stages.
Syntax
fluid scaffold-ci CONTRACT [--system {gitlab,github,jenkins}] [--out PATH]
Key options
| Option | Description |
|---|---|
CONTRACT | Path to contract.fluid.yaml (positional, required). |
--system | CI system to target — gitlab (default), github, or jenkins. |
--out | Output path for the generated pipeline file (default .gitlab-ci.yml). |
Examples
fluid scaffold-ci contract.fluid.yaml
fluid scaffold-ci contract.fluid.yaml --system github --out .github/workflows/fluid.yml
fluid scaffold-ci contract.fluid.yaml --system jenkins --out Jenkinsfile
Notes
- The generated pipeline references
$CONTRACTand$PROVIDERenv vars and runspython -m fluid_build.cli ...for each stage. - The
applystage is gated:manualin GitLab,workflow_dispatchin GitHub Actions, and aninputstep on themainbranch in Jenkins. - The default
--outvalue is.gitlab-ci.ymlregardless of--system; pass--outexplicitly when targeting GitHub or Jenkins. - For producing the FLUID artifacts the pipeline drives, see
fluid generate,fluid plan, andfluid apply.