-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.conflow.yaml
More file actions
38 lines (35 loc) · 832 Bytes
/
.conflow.yaml
File metadata and controls
38 lines (35 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# conflow pipeline - Full generate → validate → export
version: "1"
name: "http-capability-gateway"
stages:
- name: "generate"
description: "Generate configuration using Nickel"
tool:
type: nickel
command: export
file: configs/config.ncl
format: json
input: "configs/config.ncl"
output: generated/config.json
- name: "validate"
description: "Validate against CUE schema"
tool:
type: cue
command: vet
schemas:
- schemas/config.cue
input:
from_stage: generate
depends_on:
- generate
- name: "export"
description: "Export final configuration as YAML"
tool:
type: cue
command: export
out_format: yaml
input:
from_stage: generate
output: deploy/config.yaml
depends_on:
- validate