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

Support Tekton PipelineRunStopping status #545

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

Tomcli
Copy link
Member

@Tomcli Tomcli commented Apr 15, 2021

Which issue is resolved by this Pull Request:
Resolves #

Description of your changes:
Tekton introduced a new status "PipelineRunStopping" when the pipeline is still running with one or more tasks failed. This behavior used to be part of the "Running" status. Therefore, we need to update the UI and the API to treat this status as a "Running" pipeline. (e.g. terminable)

Environment tested:

  • Python Version (use python --version):
  • Tekton Version (use tkn version): 0.23.0
  • Kubernetes Version (use kubectl version): 1.18
  • OS (e.g. from /etc/os-release):

Checklist:

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Tomcli

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

@Tomcli Tomcli force-pushed the handle-stopping-status branch from 02a97e6 to d1f91a6 Compare April 15, 2021 20:02
@Tomcli
Copy link
Member Author

Tomcli commented Apr 15, 2021

@drewbutlerbb4 can you review this PR? Here's the behavior for the PipelineRunStopping status
https://github.com/tektoncd/pipeline/blob/main/pkg/apis/pipeline/v1beta1/pipelinerun_types.go#L248-L250

@drewbutlerbb4
Copy link
Member

Thanks @Tomcli
/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants