Commit Graph

12 Commits

Author SHA1 Message Date
Christian Kadner 649152cddd
Regenerate E2E test logs for release 0.8.0 (#566)
* Regenerate E2E test logs for release 0.8.0

* Regerate "golden" log files

* Regenerate "golden" logs after PR #567

* Update list of ignored tests

* Add cond_recur.yaml to list of ignored tests

* Regenerate E2E logs after updating "golden" YAML files of unit tests

* Regenerate E2E logs after enabling auto-strip EOF

* Regenerate "golden" YAML for unit tests

* Rename loop-static CRDs

* Regenerate E2E logs, enable EOF stripping only for E2E test
2021-04-29 13:00:30 -07:00
Christian Kadner af861733e6
Update E2E tests to use kfp client (#301) (#480)
* 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
2021-03-05 15:02:49 -08:00
Tommy Li 7f860a9127
Refactor artifact and logging client logics to server side (#281)
* refactor artifact and logging logics to server

* remove client side logging tests

* update logging file keywords and add configurable flags

* add simple strip output logics

* update user and admin instructions

* add missing rollout command

* minor cleanup

* golang code cleanup

* clarify guide with a better UX

* add troubleshooting

* update metadata writer to also catch k8s api timeout errors

* add troubleshooting guide for redeploy

* address comments on variable names and admin guide path

* update test logs and unittest timeout interval

* Apply suggestions from code review

Co-authored-by: Animesh Singh <singhan@us.ibm.com>

* rename variables

* allow artifact image to be customizable

Co-authored-by: Animesh Singh <singhan@us.ibm.com>
2020-09-09 15:51:44 -07:00
Christian Kadner 4c11b0cf2a
Make should use specified VENV (#290) 2020-09-01 15:45:07 -07:00
Christian Kadner 58c4b12118
Remove dependency on KUBECONFIG environment variable (#291)
Resolves #284
2020-08-28 17:11:19 -07:00
Christian Kadner 5707d94054
Upgrade SDK to Tekton Pipelines v0.15.0 (#260)
* Upgrade to Tekton Pipeline v0.15.0

* Relax Tekton pipeline version requirement to >= 0.14.0
2020-08-06 15:27:50 -07:00
Feng Li 819e4ed7d7
An easy solution of archiving pipeline logs to S3 (#248)
* 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
2020-08-06 09:39:42 -07:00
Christian Kadner c37c600486
Upgrade E2E tests for tkn CLI version 0.11 (#246)
* 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"
2020-08-04 13:26:22 -07:00
Christian Kadner 879d783ae0
Make E2E tests more robust (#235)
* 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
2020-07-21 11:16:05 -07:00
Christian Kadner 196b822532
PipelineRun with embedded pipelineSpec and taskSpec (#166)
* PipelineRun with embedded pipelineSpec and taskSpec

Closes #143

* Preserve empty string default values

* Remove success_condition and failure_condition
2020-06-23 17:21:19 -07:00
Christian Kadner e509aebb0b
Update E2E tests (#187)
- Break up test cases into 2 sub-tests:
  1. Validate Tekton YAML
  2. Verify PipelineRun logs
- Delete tasks before running pipeline
- Normalize UUID before comparing logs
2020-06-15 11:13:58 -07:00
Christian Kadner c1b7410029
Add end-to-end compiler tests (#174)
- 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
2020-06-11 15:10:57 -07:00