Closed satr closed 2 months ago
It would be beneficial for us to have this. Our solution consist of API and a job handler, alongside the RadixConfig. Then we have 3 dependent repositories that we clone as part of the build job. Changes made to any of these three repositories will trigger a build of the main solution. Would be nice to turn of cache conditionally, instead of global which we had to do now. I.e.:
- name: "Deploy API on Radix dev environment"
uses: equinor/radix-github-actions@v1
with:
args: >
create job
build-deploy
-a fotone-analysis-application-job-api
-b dev
--disable-build-cache
Radix CLI (radix-api and github action) now has an option use-build-cache to override the option value, configured in the radixconfig.
When an option
useBuildKit
is configured withuseBuildCache
(default), it might me require to run pipeline jobs without using cache, due to caching algorithm can not always correctly detect changes.Add an option
use-build-cache
for commandsrx create pipeline-job
to override radixconfig settings.DoD Disable build-cache when option is not to use cache