I’m looking to optimise my pipeline by avoiding unnecessary builds if the source hasn’t changed. Essentially we have a monorepo with a frontend and a backend. When either of these, or both change we want to do a single deployment to our integration env and run a bunch of tests. This is a simplified example:
fe_source -> build_fe -> docker_repo-----> do_deploy -> run_tests
be_source -> build_be -> s3 ---------------/
So, if just the frontend has changed, then I want to just wait until that resource is ready. Alternatively if both the front and backends have changed I want to wait for both.
As a version number we’re using the short_ref from git.
Cheers in advance!