Skip to content
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

Poll for the status of Runs #4213

Merged
merged 1 commit into from
Sep 4, 2021
Merged

Conversation

jerop
Copy link
Member

@jerop jerop commented Sep 2, 2021

Changes

Today, each custom task implementation copies over the wait.go file
to poll the status of resources for testing. This makes it hard to
maintain over time. The only added function in the custom tasks testing
is the polling for the status of Runs.

This change adds the function to poll for the status of Runs so that
this can be reused across all custom tasks testing.

/kind misc

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • [n/a] Docs included if any changes are user facing
  • [n/a] Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

NONE

Today, each custom tasks implementation copies over the wait.go file
to poll the status of resources for testing. This makes it hard to
maintain over time. The only added function in the custom tasks testing
is the polling for the status of Runs.

This change adds the function to poll for the status of Runs so that
this can be reused across all custom tasks testing.
@tekton-robot tekton-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/misc Categorizes issue or PR as a miscellaneuous one. labels Sep 2, 2021
@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 2, 2021
@jerop
Copy link
Member Author

jerop commented Sep 2, 2021

/test pull-tekton-pipeline-integration-tests

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sbwsg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 3, 2021
@dlorenc
Copy link
Contributor

dlorenc commented Sep 4, 2021

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 4, 2021
@tekton-robot tekton-robot merged commit fef771d into tektoncd:main Sep 4, 2021
@jerop jerop deleted the wait-for-run-state branch June 11, 2022 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/misc Categorizes issue or PR as a miscellaneuous one. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants