Skip to content

Commit f43d1e5

Browse files
authored
Merge pull request #2230 from FabianKramm/main
docs: add pipeline examples
2 parents 72a1adb + 3c202b8 commit f43d1e5

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/pages/configuration/pipelines/README.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@ Pipelines allow you to fully customize the execution logic in DevSpace, i.e. the
1313

1414
Pipelines are defined in POSIX shell syntax and a DevSpace pipeline reads as a regular POSIX script. However, DevSpace implements certain special commands that can be used inside the POSIX script to tell DevSpace when to build, deploy or start developing. For a complete function reference, please take a look below.
1515

16+
<br />
1617

17-
Some example pipelines:
1818
<Tabs
19-
defaultValue="configoverride"
19+
defaultValue="executionorder"
2020
values={[
21-
{ label: 'Dynamic Config', value: 'configoverride' },
2221
{ label: 'Execution Order', value: 'executionorder' },
22+
{ label: 'Dynamic Config', value: 'configoverride' },
2323
{ label: 'Rerun Pipeline', value: 'rerun' },
2424
{ label: 'Deploy / Sync / Open', value: 'deploywaitsync', },
25-
{ label: 'Dockerfile Flag', value: 'dockerfile', },
25+
{ label: 'Custom Dockerfile Flag', value: 'dockerfile', },
2626
]
2727
}>
2828
<TabItem value="configoverride">
2929

3030
```yaml
31+
# Simple deployment that deploys an nginx pod
3132
deployments:
3233
test:
3334
helm:
@@ -115,7 +116,7 @@ pipelines:
115116
# Start two pipelines in parallel
116117
run_pipelines watch-secret default-deploy
117118
118-
watch-secret:
119+
watch-secret: |-
119120
# Rerun the pipeline as soon as the secret.yaml changes
120121
run_watch -p secret.yaml -- kubectl apply -n ${DEVSPACE_NAMESPACE} -f secret.yaml
121122

0 commit comments

Comments
 (0)