* add test for artifacts of ops with long names
* add test on correct artifact_items
* fix: stepTemplate generated
* fix: artifact_items name collision
* refactor: mount_path to a separate variable
* add license to the new test file
* m: two free lines after imports in testcase
* m: other linting
* add cel custom task poc
* apply suggestions with minor fixes
* add initial version of plugable cel template
* fix lint
* update staging code for converting containerOp to custom task
* update staging code for converting containerOp to custom task
* remove duplicate cel conditions
* update flip-coin example to use custom task
* update flip-coin example to use custom task
* remove dsl dependencies;
* add POC comments
* fix lint
* fix self-defined CEL custom task mapping
* move custom task condition example to a separate folder
* fix tests
* make the new custom task spec and CEL condition feature as opt-in
* update instructions and generalize custom task images
* only let custom task result comparasion to skip the condition container to provide backward compatibility
* only let custom task result comparasion to skip the condition container to provide backward compatibility
* update example
* update tests
* fix comment
* fix nested loop params issue, and ensure multi nested loop works well
* address the issue of ut failed on python3.6
* Trigger CI
* address the issue of ut failed on python3.6
* Use kfp client to run E2E tests
* Update Tekton server and tkn client versions
* Regenerate pipelinerun logs
* Give unique names to pipelineruns resembling file names
* Delete previous pipelineruns
* Mark tests as skipped instead of not generating them
* Regenerate pipeline-loop CRDs, update copyright statements
for f in sdk/python/tests/compiler/testdata/*_pipelineloop_cr*.yaml; do
echo ${f/_pipelineloop_cr*.yaml/.py};
done | sort -u | while read f; do
echo $f; dsl-compile-tekton --py $f --output ${f/.py/.yaml};
done;
make unit_test GENERATE_GOLDEN_YAML=True
* update code to address the review comments
* change the dir name
* change the dir name
* update yaml file after rebase master
* update yaml file to trigger travic
* address comments from Tommy
* Now including logs for 'finally' tasks
* Add env var for SLEEP_BETWEEN_TEST_PHASES
* Add 'retry.yaml' to ignored tests
* Make node_selector more general
* Use pipelinerun status.conditions[].reason instead of .type
* Treat status "Completed" as "Succeeded"
* Tolerate erratic log lines in E2E tests
* Add option to re-run only tests that failed previously
* Add option to exclude/include certain test_cases only
* Add volume_op.yaml to ignored tests as the created PVC
needs to be deleted before/after test run
* Regenerate "golden" log files after recent commits
changed the log output regarding artifacts
* Add option to override expected Tekton Pipeline and CLI
versions, default: 0.14 and 0.10
Closes#229
* fix bugs, update examples, and add tests
* Address comments
* Update readme to a shared prerequisites section
* update instructions to use python commands if possible
* add details on the yaml name produced by the SDK
* Update samples/README.md
Co-authored-by: Animesh Singh <singhan@us.ibm.com>
Co-authored-by: Animesh Singh <singhan@us.ibm.com>
- Regenerate all "Golden" YAML files with PipelineRun
- Dynamically generate E2E test cases from "Golden" YAML files
- Add e2e_test target to Makefile
- Generate new "Golden" log files from Tekton pipeline run
- Fix PendingDeprecationWarning: dsl.ContainerOp....` will be removed in future releases
Use `dsl.ContainerOp.container....` instead.
- Fix UserWarning: Missing type name was inferred as ...
Resolves#28
* 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
* 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
* add initial parsing
* add regex mapping for the equivalent tekton variables
* revert old changes
* fix typos
* raise error when unsupported Argo vars are used
* fix comment
* update example and tests to also include parallel use case
* update example and tests to also include parallel use case
* add back the sequential example
* update permission
* remove sub-folders
* update readme instructions
* rename files to make it consistent
* update tests to be consistent with kfp samples
This code change removes the requirement to clone and
copy the kubeflow/pipelines repository. The project
has been refactored to only contain the minimal set of
Python classes and methods that needed to be modified
to generate Tekton YAML instead of Argo YAML. The
overriden methods are dynamically linked at runtime
by monkey-patching the KFP SDK module.
Additionally adding a simple test case and setup.py
install script that creates the dsl-compile-tekton
CLI executable which works independent of the KFP
compiler executable.