-
Task
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
msorianod wants to run the following command in bash to be able to upgrade from 2.6 to 2.7
bundle exec rake boot openshift:deploy MASTER_ACCESS_TOKEN="${MASTER_ACCESS_TOKEN}" && bundle exec rake services:create_backend_apis services:update_metric_owners proxy:update_proxy_rule_owners
But he needs each one of those tasks to return the proper exit status code.
When it works, The previous code as a whole it is expected to return a bash exit code of 0. And we need to be careful because for services:create_backend_apis we are allowing it to fail silently (using create instead of create!) and even if we used a bang method, the raise does not return the expected status code. Apisonator solved this problem by this way.
How the status codes for bash and tasks work is not entirely intuitive and I've been told that hramihaj has had problems in the past with this so maybe he knows better than most of us.
- is related to
-
THREESCALE-3556 Upgrade from 3scale 2.6 fails on pre-hook pod
- Closed