• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ml6team / fondant / 6435730120 / 4
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2023 07:37PM UTC
Files 15
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Oct 2023 07:30PM UTC coverage: 92.587% (+0.1%) from 92.476%
6435730120.4

push

github

web-flow
Restructure-cli (#488)

With the introduction of a new compiler and runner for vertex, I feel
the need to restructure the CLI a bit. This is a draft PR (docs and
tests still need to be updated).

**Running**

* Before

```bash
fondant run pipeline.py --local
```

* After

Mode is not longer a positional argument, Pipeline/reference is moved to
the end (similar to docker).

```bash
 fondant run local pipeline.py 
```
**Help**

* Before 

Arguments are not isolated per mode which makes it which argument
belongs to which mode (e.g. extra volumes not needed for KFP)
```
❯ fondant run -h                 
usage: fondant run [-h] (--local | --kubeflow) [--output-path OUTPUT_PATH] [--extra-volumes EXTRA_VOLUMES [EXTRA_VOLUMES ...]] [--build-arg BUILD_ARG] [--host HOST] ref

positional arguments:
  ref                   Reference to the pipeline to run, can be a path to a spec file or a module containing the pipeline instance that will be compiled first (e.g. pipeline.py)

options:
  -h, --help            show this help message and exit
  --local
  --kubeflow
  --output-path OUTPUT_PATH, -o OUTPUT_PATH
                        Output directory
  --extra-volumes EXTRA_VOLUMES [EXTRA_VOLUMES ...]
                        Extra volumes to mount in containers
  --build-arg BUILD_ARG
                        Build arguments to pass to `docker build`. Format {key}={value}.
  --host HOST           KubeFlow pipeline host url
```
* After

```bash
❯fondant run -h  

positional arguments:
  {local,kubeflow}
    local           Local runner
    kubeflow        Kubeflow runner
  ref               Reference to the pipeline to run, can be a path to a spec file or a module containing the pipeline instance that will be compiled first (e.g. pipeline.py)

options:
  -h, --help        show this help message and exit
```

To further deep dive 

```bash
❯ fondant run local -h                  
usage: fondant run local [-h... (continued)

1174 of 1268 relevant lines covered (92.59%)

0.93 hits per line

Source Files on job test-3.10 - 6435730120.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6435730120
  • 47dcda82 on github
  • Prev Job for on main (#6421927654.4)
  • Next Job for on main (#6459595752.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc