Repository navigation
Expand file tree
/
Copy pathTaskfile.yml
More file actions
99 lines (84 loc) · 3.08 KB
/
Copy pathTaskfile.yml
File metadata and controls
99 lines (84 loc) · 3.08 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: "3"
tasks:
containers:build:stac-collection:
desc: Build stac-collection:latest image
cmds:
- docker build -t stac-collection:latest command-line-tools/stac-collection
containers:build:stac-zarr:
desc: Build stac-zarr:latest image
cmds:
- docker build -t stac-zarr:latest command-line-tools/stac-zarr
containers:build:stac-eopf-product:
desc: Build stac-eopf-product:latest image
cmds:
- docker build -t stac-eopf-product:latest command-line-tools/stac-eopf-product
containers:build:occurrence:
desc: Build occurrence:latest image
cmds:
- docker build -t occurrence:latest command-line-tools/occurrence
containers:build:producer:
desc: Build all local images required by app-water-bodies.cwl local tools
deps:
- task: containers:build:stac-collection
- task: containers:build:stac-zarr
- task: containers:build:stac-eopf-product
containers:build:all:
desc: Build all local workflow images
deps:
- task: containers:build:producer
- task: containers:build:occurrence
cwl:run:producer:
desc: Run producer workflow directly with cwltool
cmds:
- |
uv run --with cwltool cwltool \
cwl-workflow/app-water-bodies.cwl#water-bodies \
cwl-tests/jobs/producer-job.yml
cwl:test:e2e:
desc: Run end-to-end CWL tests with cwltest
cmds:
- |
uv run --with cwltest --with cwltool cwltest \
--test tests/app-water-bodies-e2e.yml \
--basedir cwl-tests \
--tool cwltool \
--timeout 3600
cwl:check:codemeta:
desc: Validate CWL metadata with transpiler-mate codemeta
cmds:
- uv run --with transpiler-mate transpiler-mate codemeta cwl-workflow/app-water-bodies.cwl
- uv run --with transpiler-mate transpiler-mate codemeta cwl-workflow/app-water-bodies-occurrence.cwl
cwl:check:ogc:
desc: Validate CWL OGC transpilation with cwl2ogc
cmds:
- uv run --with cwl2ogc cwl2ogc --workflow-id water-bodies cwl-workflow/app-water-bodies.cwl
- uv run --with cwl2ogc cwl2ogc --workflow-id water-bodies-occurrence cwl-workflow/app-water-bodies-occurrence.cwl
cwl:check:release:
desc: Run release-oriented CWL checks (codemeta + OGC)
deps:
- task: cwl:check:codemeta
- task: cwl:check:ogc
test:stac-collection:
desc: Run scoped unit tests for stac-collection
cmds:
- |
cd command-line-tools/stac-collection && \
uv run --with pytest --with-editable . pytest -q tests
test:stac-zarr:
desc: Run scoped unit tests for stac-zarr
cmds:
- |
cd command-line-tools/stac-zarr && \
uv run --with pytest --with-editable . pytest -q tests
test:stac-eopf-product:
desc: Run scoped unit tests for stac-eopf-product
cmds:
- |
cd command-line-tools/stac-eopf-product && \
uv run --with pytest --with-editable . pytest -q tests
test:unit:scoped:
desc: Run all scoped unit test suites
deps:
- task: test:stac-collection
- task: test:stac-zarr
- task: test:stac-eopf-product