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

Allow repeating install when --force is specified #1726

Merged
merged 2 commits into from
Aug 25, 2021

Conversation

carolynvs
Copy link
Member

What does this change

When building out a bundle for the first time, or troubleshooting,
sometimes it is incredibly helpful to be able to repeat the install
action, even when it was successful the first time.

For example, I am iterating on the install action for a bundle, adding
new steps each time I get the bundle to install successfully. In this
case, it makes sense to allow the bundle author to repeat the install
action with --force.

What issue does it fix

I was getting stuck authoring bundles and realized the restriction I added was ... too restrictive.

Notes for the reviewer

I realize that --force isn't documented this way. I think the --force flag makes sense though for this scenario. It's basically "do everything you can to make this work". 😀

Checklist

  • Unit Tests
  • Documentation
  • Schema (porter.yaml)

@carolynvs carolynvs force-pushed the force-install branch 3 times, most recently from f96aa08 to 47d66ae Compare August 23, 2021 15:27
When building out a bundle for the first time, or troubleshooting,
sometimes it is incredibly helpful to be able to repeat the install
action, even when it was successful the first time.

For example, I am iterating on the install action for a bundle, adding
new steps each time I get the bundle to install successfully. In this
case, it makes sense to allow the bundle author to repeat the install
action with --force.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
Clear out old testdata between runs

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs
Copy link
Member Author

/azp run porter-integration

@carolynvs carolynvs marked this pull request as ready for review August 24, 2021 19:34
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the force! 🧙

@carolynvs carolynvs merged commit 9948dd3 into getporter:release/v1 Aug 25, 2021
@carolynvs carolynvs deleted the force-install branch August 25, 2021 14:35
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.

2 participants