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

Stop invoke when claim not found #949

Merged

Conversation

carolynvs
Copy link
Member

What does this change

  • During invoke, when we cannot find the requested claim, and it is required for the action, stop immediately and report the error to the user.
  • I updated the error message so that it matches what is returned by upgrade when the claim doesn't exist.
  • Run CI against release candidate PRs

Because we have changes in master that aren't ready to go in a release, I am making this a patch against the last release. Note that the branch this PR is open against isrelease-0.24.1-beta.1 which is the desired next version (I branched off of v0.24.0-beta.1).

To facilitate this PR, I updated our azure pipelines to run against PRs targeting release-* branches.

What issue does it fix

Closes #948

Notes for the reviewer

What the user was really doing was this

porter uninstall mybuns
porter invoke --action uninstallCleanup

Where the uninstallCleanup would do extra work. However since our current implementation deletes the claim, that is why when they called invoke, the claim was missing and they hit this bug. We are waiting on #935 for the long term fix for this problem.

Checklist

  • Unit Tests
  • Documentation
    • Documentation Not Impacted

During invoke, when we cannot find the requested claim, and it is
required for the action, stop immediately and report the error to the
user.
@carolynvs carolynvs force-pushed the release-0.24.1-beta.1 branch from d19b383 to 6c929e7 Compare March 13, 2020 21:18
@carolynvs carolynvs marked this pull request as ready for review March 13, 2020 21:51
@carolynvs carolynvs requested a review from dev-drprasad March 13, 2020 21:51
@carolynvs carolynvs merged commit 924c23d into getporter:release-0.24.1-beta.1 Mar 13, 2020
@carolynvs carolynvs deleted the release-0.24.1-beta.1 branch March 13, 2020 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants