Commit Graph

9 Commits

Author SHA1 Message Date
Yihong Wang d463f16450
remove ContainerOp from test cases - part 1 (#685)
eliminate the usage of ContainerOp in testcases and
update the testcase accordingly.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
2021-08-05 11:58:42 -07:00
Tommy Li dc6014ded8
fix(sdk): Fix nested condition bug (#400)
* fix nested condition bug

* fix lint
2021-01-04 15:29:57 -08:00
Tommy Li 058c6c95f7
fix(sdk): Quick fix for sanitizing conditional variables (#344) 2020-10-26 13:52:00 -07:00
Andrew Butler b7af2c7b71
Remove randomness from condition example (#178)
* Remove randomness from condition example

* Add forced results instead of completely removing randomness

* Fix lint errors

* Fix unit test
2020-06-11 10:54:57 -07:00
Christian Kadner 2c68de47e4
make lint (#164) 2020-05-29 09:29:16 -07:00
Christian Kadner 58e043d0a4
Remove monkey-patch (#148)
All of the "patched" methods are now exclusively called
directly by other code in the kfp_tekton compiler, hence
the monkey-patch is no longer needed.
2020-05-18 12:03:36 -07:00
Andrew Butler 2d06e98f30
Add unit tests for 'basic_no_decorator.py' and 'compose.py' (#111)
* Add unit tests

* Update condition.yaml

* Update test_kfp_samples.sh for new test_util.py

* Add results logging and refactor

* Refactor and add licenses

* Add license

* Add __main__ to introduced testdata

* Adjust new testdata for #119

* Add and edit doc string

* Fix golden yaml
2020-04-27 11:59:23 -07:00
Andrew Butler e8d973a57d
Add support for passing task outputs to conditions as parameters (#105)
* Add support for task output parameter passing to conditions
Add support for highly nested conditions

* Add minor commenting

* Minor formatting

* Update test case and sample report

* Refactor and add warning

* Add licenses and unit test

* Remove redundant import
2020-04-22 13:17:44 -07:00
Andrew Butler 9295e4ffe8
Add support for conditions (#84)
* Add conditional functionality
Adds conditional functionality except for having condition parameters being passed in from task outputs

* Remove extra parameter passing functionality

* Cleanup

* Add test example and update test report
2020-04-08 10:55:43 -07:00