Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

fix: remove trap from provision-ansible-service-broker.sh #111

Merged
merged 1 commit into from
Sep 7, 2018

Conversation

darahayes
Copy link
Contributor

@darahayes darahayes commented Jun 25, 2018

Motivation

I have noticed cases where this script has called this finish function in cases where everything was executed successfully and this causes the overall installer to fail. These trap features are useful for things like catching events and performing cleanups, removing files etc before exiting. In our case, it's not actually doing anything and it's unnecessary.

@ziccardi can you try this out and see if it makes any difference for you?

@ziccardi
Copy link

@camilamacedo86
Copy link
Contributor

camilamacedo86 commented Jul 23, 2018

Hi folks,

It is a bug which happened 50% of the times at least in the PR CI. Locally, with iOS I could not face it.
Following the link opened for it aerogear-attic/minishift-mobilecore-addon#18

Also, check the following links.

Maybe we can solve it as described here doing something similar to https://github.com/openshift/openshift-ansible/pull/6687/files

It means, that @ziccardi we can ignore this issue faced by you and we need just re-run the Jenkins. It will work.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

It is LTGB for me. Hi @maleck13 and @david-martin have you any objection here?

Copy link
Contributor

@david-martin david-martin left a comment

Choose a reason for hiding this comment

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

Seems reasonable

@david-martin
Copy link
Contributor

@philbrookes Good to merge this?

@camilamacedo86
Copy link
Contributor

@wtrocki I understand this one we can just merge. Any objection?

@wtrocki wtrocki merged commit f74f2d0 into master Sep 7, 2018
@wtrocki
Copy link
Contributor

wtrocki commented Sep 7, 2018

Tried this change before merge. Sounds reasonable.

@wtrocki wtrocki deleted the darahayes-patch-1 branch September 7, 2018 10:08
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.

5 participants