Monorepo for Tangled tangled.org

docs: spindle: pipelines: Update Spindle pipelines documentation #530

merged opened by handle.invalid targeting master from [deleted fork]: master

I've updated the documentation to list and explain all the fields that can be used in a workflow file. Some of the fields I had to look at the source code for, and I've done my best to document them, but I'm not very familiar with the codebase so I might have misunderstood some things.

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:s6urhemct6hiuyd5ytdlvnuw/sh.tangled.repo.pull/3lxb3zpw3yr22
+2 -14
Interdiff #0 โ†’ #1
+2 -14
docs/spindle/pipeline.md
··· 1 - # Spindle pipelines 1 + # spindle pipelines 2 2 3 3 Spindle workflows allow you to write CI/CD pipelines in a simple format. They're located in the `.tangled/workflows` directory at the root of your repository, and are defined using YAML. 4 4 ··· 116 116 NODE_ENV: "production" 117 117 ``` 118 118 119 - ## Conclusion 120 - 121 - The most minimal workflow, with only the required fields, looks like this: 122 - 123 - ```yaml 124 - # .tangled/workflows/example.yml 125 - 126 - when: [] 127 - 128 - engine: "nixery" 129 - ``` 130 - 131 - Of course, that isn't very useful as it doesn't do anything, and never even runs. The (much more useful) workflow we've created using the examples above looks like this: 119 + ## Complete workflow 132 120 133 121 ```yaml 134 122 # .tangled/workflows/build.yml

Submissions

sign up or login to add to the discussion
handle.invalid submitted #1
1 commit
expand
23b13414
docs: update spindle pipelines workflow syntax documentation
pull request successfully merged
handle.invalid submitted #0
10 commits
expand
8897e67d
docs: Update Spindle piplines documentation
22deed05
docs: Use H2 instead of H3 for headings
92f170f8
docs: Update text in dependencies section to sound better
b5e0f2a8
docs: Fix wording in triggers section
ab9b193e
docs: Add example filenames in comments in conclusion section
4e2098b2
docs: Add link to Tangled build workflow as an example
ab02db92
docs: Add second branch name as example
1a80c68d
docs: Add docs for pull_request trigger for branch
ab111a36
docs: Fix wording and formatting
d99dfdf9
docs: Re-word and add link to dependencies section