Background
In ci.yaml when tests fail for a commit, the image from that failed commit doesn't get uploaded to ecr.
This is counter productive because we might not care about fixing the tests at that point. For example, if we are testing something in staging we want that image uploaded anyways.
This happens for all services (ui, api, worker, pipeline).
Goal
Make the upload to ecr independent from the unit tests running successfully or not.
Background In ci.yaml when tests fail for a commit, the image from that failed commit doesn't get uploaded to ecr. This is counter productive because we might not care about fixing the tests at that point. For example, if we are testing something in staging we want that image uploaded anyways.
This happens for all services (ui, api, worker, pipeline).
Goal Make the upload to ecr independent from the unit tests running successfully or not.