As an ops lead or incident commander,
I need the option to re-run Github action with no cache when these are in a faulty state,
So that I can quickly clear out the Github environments from faulty state.
WHY are we building?
To quickly recover from bad Docker image build state happening in the release pipelines of API, Admin and DD-API. This is an action item that came up during an incident post-mortem where such issue happened.
We could also always build from a clean state with no cache but that will slow down the builds overall. We decided against this option for now as the times when such hiccups happen are very rare and few.
WHAT are we building?
Update the GitHub action to include a parameter specifying a no-cache usage (default being using cache for speedy run).
VALUE created by our solution
Provide the option to run the github actions responsible for creating the Docker images without any cache.
Acceptance Criteria
[ ] Able to run the docker build GitHub action of API with the option to clear out the cache.
[ ] Able to run the docker build GitHub action of Admin with the option to clear out the cache.
[ ] Able to run the docker build GitHub action of DD-API with the option to clear out the cache.
QA Steps
[ ] Run the Github actions with the option to clear out cache.
[ ] Run the Github actions without the option to clear out cache (should be default behavior).
Description
As an ops lead or incident commander, I need the option to re-run Github action with no cache when these are in a faulty state, So that I can quickly clear out the Github environments from faulty state.
WHY are we building?
To quickly recover from bad Docker image build state happening in the release pipelines of API, Admin and DD-API. This is an action item that came up during an incident post-mortem where such issue happened.
We could also always build from a clean state with no cache but that will slow down the builds overall. We decided against this option for now as the times when such hiccups happen are very rare and few.
WHAT are we building?
Update the GitHub action to include a parameter specifying a no-cache usage (default being using cache for speedy run).
VALUE created by our solution
Provide the option to run the github actions responsible for creating the Docker images without any cache.
Acceptance Criteria
QA Steps