LineaLabs / lineapy

Move fast from data science prototype to pipeline. Capture, analyze, and transform messy notebooks into data pipelines with just two lines of code.
https://lineapy.org
Apache License 2.0
664 stars 58 forks source link

LIN-737: Fix argo tests requiring /home/runner #865

Closed andycui97 closed 1 year ago

andycui97 commented 1 year ago

Description

Argo tests at this time snapshot the user home directory, which means the snapshot tests must be manually updated to pass on github actions.

This PR moves the path expansion to the dag file itself, meaning the generated DAG will not depend on the users home directory.

Also added and fixed hints for how to use the Dockerfile for argo.

Fixes LIN-737

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Tested locally with housing example, both providing and not providing a kube config "kube_config": "/Users/andrewcui/.kube/config",

lazargugleta commented 1 year ago

Lgtm as well! It makes much more sense now :sweat_smile: