-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfull.toml
68 lines (57 loc) · 1.73 KB
/
full.toml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[files.part1.config]
target_dir="part1"
execute_after=[
"mkdir -p somewhere_else",
"touch somewhere_else/something.txt",
]
[files.part1.actions.action1]
action="extract_all"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/testset1.zip"
target_dir="action1"
remove=["remove1", "remove2.txt", "remove3/file1.txt"]
execute_after=[
"mkdir -p somewhere",
"touch somewhere/something.txt",
"ls -lah",
]
[files.part2.config]
target_dir="part2"
[files.part2.actions.action2]
action="extract_items"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/testset2.zip"
zip_paths=["keep1"]
target_paths=["action2"]
remove=["action2/*.json"]
[files.part2.actions.action3]
action="extract_items"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/testset2.zip"
zip_paths=["keep1"]
target_paths=["action3"]
[files.part2.actions.action4]
action="extract_items"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/testset2.zip"
zip_paths=["keep1/file1.txt"]
target_paths=["file123.txt"]
[files.part2.actions.action5]
action="extract_items"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/testset2.zip"
zip_paths=["keep1/file1.txt"]
target_paths=["action5/subfolder1/file123.txt"]
# part without any actions
[files.part3.config]
target_dir="part3"
[files.part4.config]
target_dir="part4"
[files.part4.actions.action1]
action="get_file"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/file1.txt"
target_file="file4.txt"
[files.part4.actions.action2]
action="get_file"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/file1.txt"
target_file="file4.txt"
target_dir="action2"
[files.part4.actions.action3]
action="extract_all"
source="https://tmp.kiwix.org/ci/hatch_openzim_testsets/testset1.zip"
target_dir="subdir1/action3"