When running on github actions with a docker_envir...
# general
a
When running on github actions with a docker_environment, I'm getting a file not found error for pants.ci.toml, which I can't repro locally, even if I set PANTS_CONFIG_FILES=pants.ci.toml . Am I missing something stupid before I go and create another github issue that i then close 5 mins later? This is 2.16.0rc5
b
I sometimes forget to commit files and then spend far too long wondering why it works locally and not remotely. Might you be in a situation like that?
a
No, the behaviour is triggered by the presence of the file. I did check! currently testing to see if cache bust fixes it
👍 1
Mystery solved. the working directory was set for that step. There's a rough edge here. The github action to init pants sets the PANTS_CONFIG_FILES var to "pants.ci.toml" if that file is present in the root. If you subsequently
cd
into a subdirectory and run pants, it'll give you an error about the missing file.
b
Ah, right