Commit Graph

4 Commits

Author SHA1 Message Date
Alexey Volkov 7b6957ae06 SDK - Client - Added a way to set experiment name using environment variables (#2292)
* SDK - Client - Added a way to set experiment name using environment variables

This is useful for launching notebooks or pipeline files that submit
themselves for execution.

* Switched to subprocess.run which supports env

* Setting the environment variable differently
Looks like `subprocess.run` uses `PATH` to search for the program.

* Convert return code to string

* Changed the way the experiment name is being set

* Changed how the notebook installs the SDK

Notebook is overriding the SDK that's being tested.

* Not installing the KFP SDK package

* Removed the experiment_name from samples and configs.

* Changed the SDK installation lines in samples

Otherwise the sample tests do not correctly test the new SDK code.
2019-10-14 14:55:51 -07:00
Ning d7f0c1e399 Add sample test for multiple output (#2328)
* add sample test for multiple output

* adjust the output path

* rename config file

* fix param

* remove the python_component decorator
2019-10-09 20:50:52 -07:00
Alexey Volkov 1e6ce6b571 Samples - Simplified pipeline submission code in samples (#2293)
Reduced boilerplate code in samples by switching to `kfp.Client().create_run_from_pipeline_package` which:
* compiles the pipeline
* gets or creates the experiment (name is optional)
* generates unique run name
* submits the run
2019-10-04 16:11:12 -07:00
sina chavoshi cd7c9e039f Moving samples to match the new folder structure (#1734) 2019-08-05 12:11:49 -07:00