Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Add retries for targeting CF CLI #58

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

mike1808
Copy link
Contributor

Recently, I noticed that after deploying environment cf api command always fails. I don't know the reasons but probably it's something about DNS propagation and DNS cache invalidation. Adding retries here sounded like a good solution.

@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/174125875

The labels on this github issue will be updated when the story is started.


until [ "${i}" -ge "${tries}" ]
do
eval "${command}" && break
Copy link
Contributor Author

Choose a reason for hiding this comment

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

tested that eval interpolates exported variables

@tcdowney tcdowney self-requested a review July 31, 2020 18:03
@mike1808 mike1808 merged commit 98f43bf into develop Jul 31, 2020
@mike1808 mike1808 deleted the cf-target-fake-it-until-it-you-make-it branch July 31, 2020 18:15
routing-ci pushed a commit that referenced this pull request Sep 15, 2020
Add option to skip ssl validation to smoke test

[finishes #171721317](https://www.pivotaltracker.com/story/show/171721317)

Co-authored-by: John Ryan <jryan@pivotal.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants