drupal-starter icon indicating copy to clipboard operation
drupal-starter copied to clipboard

Separate Test & Deploy steps in Travis.

Open dipakmdhrm opened this issue 1 year ago • 1 comments

Context:

Sometimes during deployment, the build passes all tests but the deployment fails due to some issue in git, redis, etc. In such cases, to trigger the deployment, we need to re-run the whole test+deploy.

This will allow us to re-trigger deployment without re-running tests.

dipakmdhrm avatar Jan 12 '24 07:01 dipakmdhrm

It was an optimization idea to save time. Initializing the project takes time (downloading Docker images, etc). I agree that in the bad case, it's the opposite effect, but anyways we need to execute tests for the sake of safety upon deploy, if we bundle it with deploy step, for the good scenario, we save time, I am not entirely convinced that we'd want this.

AronNovak avatar Jan 13 '24 03:01 AronNovak