Closed AlexSkrypnyk closed 5 years ago
Hi @alexdesignworks what is the root issue this is trying to fix? Is this related to deploys on Openshift appearing to run successfully but in reality they're failing?
I am loathe to merge this directly into master if it is going to break builds. I would prefer to use your GH_COMMIT
flag to test which builds it is going to break and fixing them first, especially given that we're trying to get all the JSONAPI version 2 stuff out at the same time.
Two other points//questions.
@anthony-malkoun the root cause is that some sites a passing CI but they should not. For example, a config import may fail, but because followed by another command that passes, the whole ahoy command passes, but should fail.
This describes hot to test before merging. Please do not merge before testing :)) https://github.com/dpc-sdp/dev-tools#maintenance
Should we be worried that this project itself doesn't pass build? This is due to changes to jsonapi 2.0 and drupal 8.6 - i was under assumption that once this work is done in tide_core - this project will be passing.
Currently, only last command ran in ahoy command will return its exit code. This is a problem, because any errors triggered within previously ran commands will not be caught resulting in false positives.
The PR addresses the problem by running all ahoy commands with
set -e
and commands that ahoy runs itself withset -e
Please be aware that once merge, this can uncover that some of the project are failing their builds.