Option to skip only cloud cache #26825
skoppell
started this conversation in
Feature Requests
Replies: 2 comments
-
Can someone please advice ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is supported https://nx.dev/recipes/running-tasks/skipping-cache#skip-remote-caching-from-nx-cloud |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Currently we have
--skip-nx-cahe
which ignores both local and cloud cache. Apart from that, having an option to skip only the cloud-cache will be good addition to have.We have cloud-cache enabled for our project. (Nx+Angular). In our regular pull-request pipelines, I have configured the cache inputs such that the affected command results in minimal projects and which leads to test target being run only for those minimal set of projects. however, to make sure all the test in the repo are in good state, I want to configure a scheduled pipeline to run the test target on all projects once in a day. So, i configured it using
run-many --all
with--skip-nx-cache
.Our monorepo has more than 200 libraries so if the job fails due to a timeout, i would like to re-run the job. but that would result in running the tests on all project again as it uses
--skip-nx-cache
argument. If there was a option to skip only cloud cache, It would help the subsequent run to pick the results from local cache and run the task only for the projects failed in the previous run. (as the job will be run on the same CI node in the subsequent run)Or Do we already have a way to achieve what i am looking for ?
Beta Was this translation helpful? Give feedback.
All reactions