silly-queen-7197
03/17/2023, 10:59 PMnamed_caches_dir
and local_store_dir
in my pants.ci.toml
. I have PANTS_CONFIG_FILES=pants.ci.toml
set an environment variable in my CI, but when I look at ./pants help-advanced global
(again in my CI) I see
local_store_dir
default: /root/.cache/pants/lmdb_store
current value: /root/.cache/pants/lmdb_store
In my pants.ci.toml
I have
[GLOBAL]
pantsd = true
named_caches_dir = "/codefresh/volume/.cache/pants/named_caches"
local_store_dir = "/codefresh/volume/.cache/pants/lmdb_store"
In pants.toml
I have
[GLOBAL]
pants_version = "2.14.1"
I can sanity check
root@codefresh:/codefresh/volume/archipelago$ echo $PANTS_CONFIG_FILES
pants.ci.toml
and ls /codefresh/volume/.cache/pants
only shows setup
. If I run ./pants test capstan/:: --local-store-dir=/codefresh/volume/.cache/pants/lmdb_store
I see lmdb_store
. when I ls
.
Am I doing something wrong, I'm not sure why my configuration isn't getting picked uphappy-kitchen-89482
03/17/2023, 11:15 PMhappy-kitchen-89482
03/17/2023, 11:16 PM./pants --pants-config-files=pants.ci.toml help-advanced global
to see if the issue is with the env var.silly-queen-7197
03/17/2023, 11:26 PM--local-store-dir=<str>
PANTS_LOCAL_STORE_DIR
local_store_dir
default: /root/.cache/pants/lmdb_store
current value: /root/.cache/pants/lmdb_store
Directory to use for the local file store, which stores the results of
subprocesses run by Pants.
silly-queen-7197
03/17/2023, 11:27 PMstty rows 50 cols 80
which I learned from https://github.com/CircleCI-Public/gcp-cli-orb/issues/36 but I guess one thing at a timesilly-queen-7197
03/17/2023, 11:35 PMsilly-queen-7197
03/17/2023, 11:36 PMroot@codefresh:/codefresh/volume/archipelago$ cat pants.ci.toml
[GLOBAL]
pantsd = false
silly-queen-7197
03/17/2023, 11:36 PMsilly-queen-7197
03/17/2023, 11:43 PMsilly-queen-7197
03/17/2023, 11:44 PMls
is doing what I expect now
drwxr-xr-x. 5 root root 57 Mar 17 23:39 .
drwxr-xr-x. 3 root root 19 Mar 17 22:11 ..
drwxr-xr-x. 5 root root 51 Mar 17 23:03 lmdb_store
drwxr-xr-x. 3 root root 22 Mar 17 23:39 named_caches
drwxr-xr-x. 3 root root 36 Mar 17 22:11 setup
happy-kitchen-89482
03/18/2023, 2:04 AM