Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Commit b1b8b5e

Browse files
committed
Documentation for loading priority
1 parent 9e7ca4a commit b1b8b5e

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

docs/source/usage/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Usage
77

88
importing-tasks
99
troubleshooting
10+
loading-priority
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Loading priority
2+
================
3+
4+
Environment variables loading order in YAML syntax
5+
--------------------------------------------------
6+
7+
*Legend: Top - is most important*
8+
9+
1. Operating system environment
10+
2. Per-task "environment" section
11+
3. Per-task "env_file" imports
12+
4. Global "environment" section
13+
5. Global "env_file" imports
14+
15+
Order of loading of makefile files in same .rkd directory
16+
---------------------------------------------------------
17+
18+
*Legend: Lower has higher priority (next is appending changes to previous)*
19+
20+
1. *.py
21+
2. *.yaml
22+
3. *.yml
23+
24+
Tasks execution
25+
---------------
26+
27+
Tasks are executed one-by-one as they are specified in commandline or in TaskAlias declaration (commandline arguments).
28+
29+
.. code:: bash
30+
31+
rkd :task-1 :task-2 :task-3
32+
33+
1. task-1
34+
2. task-2
35+
3. task-3
36+
37+
A --keep-going can be specified after given task eg. :task-2 --keep-going, to ignore a single task failure and in consequence allow to go to the next task regardless of result.

0 commit comments

Comments
 (0)