-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start using YAMLParsers
in /test/*_test.go
#4276
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
Comments
tekton-robot
added
the
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
label
Oct 5, 2021
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 6, 2021
Part of tektoncd#4276 Signed-off-by: Andrew Bayer <[email protected]>
5 tasks
tekton-robot
pushed a commit
that referenced
this issue
Oct 7, 2021
Part of #4276 Signed-off-by: Andrew Bayer <[email protected]>
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 7, 2021
Part of tektoncd#4276 Note that `test/pipelinefinally_test.go` is largely not converted to YAML, because it relies heavily on parameterized generation of `Task`s and`Pipeline`s, to the point where it would be far more complicated to switch to YAML than to leave it as is. Also, `test/v1alpha1` still needs to be done. Signed-off-by: Andrew Bayer <[email protected]>
5 tasks
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 7, 2021
Part of tektoncd#4276 Note that `test/pipelinefinally_test.go` is largely not converted to YAML, because it relies heavily on parameterized generation of `Task`s and`Pipeline`s, to the point where it would be far more complicated to switch to YAML than to leave it as is. Also, `test/v1alpha1` still needs to be done. Signed-off-by: Andrew Bayer <[email protected]>
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 7, 2021
Part of tektoncd#4276 Note that `test/pipelinefinally_test.go` is largely not converted to YAML, because it relies heavily on parameterized generation of `Task`s and`Pipeline`s, to the point where it would be far more complicated to switch to YAML than to leave it as is. Also, `test/v1alpha1` still needs to be done. Signed-off-by: Andrew Bayer <[email protected]>
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 7, 2021
Part of tektoncd#4276 Note that `test/pipelinefinally_test.go` is largely not converted to YAML, because it relies heavily on parameterized generation of `Task`s and`Pipeline`s, to the point where it would be far more complicated to switch to YAML than to leave it as is. Also, `test/v1alpha1` still needs to be done. Signed-off-by: Andrew Bayer <[email protected]>
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 8, 2021
Part of tektoncd#4276 Note that `test/pipelinefinally_test.go` is largely not converted to YAML, because it relies heavily on parameterized generation of `Task`s and`Pipeline`s, to the point where it would be far more complicated to switch to YAML than to leave it as is. Also, `test/v1alpha1` still needs to be done. Signed-off-by: Andrew Bayer <[email protected]>
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 8, 2021
Part of tektoncd#4276 `test/v1alpha1` still needs to be done. Signed-off-by: Andrew Bayer <[email protected]>
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 8, 2021
fixes tektoncd#4276 Signed-off-by: Andrew Bayer <[email protected]>
abayer
added a commit
to abayer/tektoncd-pipeline
that referenced
this issue
Oct 12, 2021
fixes tektoncd#4276 Signed-off-by: Andrew Bayer <[email protected]>
tekton-robot
pushed a commit
that referenced
this issue
Oct 12, 2021
fixes #4276 Signed-off-by: Andrew Bayer <[email protected]>
chenbh
pushed a commit
to chenbh/pipeline
that referenced
this issue
Oct 27, 2021
Part of tektoncd#4276 Signed-off-by: Andrew Bayer <[email protected]>
chenbh
pushed a commit
to chenbh/pipeline
that referenced
this issue
Oct 27, 2021
fixes tektoncd#4276 Signed-off-by: Andrew Bayer <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
@imjasonh added
YAML
helpers in https://github.com/tektoncd/pipeline/blob/main/test/yaml.go which takes aYAML
in a string and returns respective desearlized objects including:These helpers can help simplify the way we have implemented the integration tests. Most of the integration tests under
/test
initialize objects directly or have implemented functions to create such objects. The integration tests also serves as a great reference after/examples
for the users to learn how to implement task/pipeline specifications. It will be beneficial to our users and contributors, if we can simplify the tests i.e instead of initializing these objects, addYAML
specifications in the tests.A huge thank you to @abayer for undertaking this cleanup 🙏
/kind cleanup
The text was updated successfully, but these errors were encountered: