Global caching configuration is now available in the Seqera API: https://docs.seqera.io/platform-api/create-compute-env
The current tower-cli 0.4.2 does not yet support enabling this field via
tw compute-envs add google-batch
. It would be great if the global cache option could be passed through to assist with scripting updates across multiple workspaces.
Because compute environments are immutable, we relatively frequently find ourselves recreating them using wrapper scripts around the CLI as we continue tuning. I'm also happy to submit a PR if possible.