https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

07/19/2022, 12:26 AM
@witty-crayon-22786 (or anyone) Any thoughts on how challenging https://github.com/pantsbuild/pants/issues/12797 would be to pick up? It's blocking a really sweet PEX<->Docker PoC I want to blog about but requires this and another soon-to-be-implemented feature
@ambitious-actor-36781 I see some commits that reference this. Do you need some help getting this to PR?
Also specifically I want to use the
TAG
specified in my
docker_image
instructions
field. So there might also be a docker-centric way of doing this
w

witty-crayon-22786

07/19/2022, 12:44 AM
It's... somewhat challenging. Because the request needs to be filtered to only the relevant subset of the environment variables to avoid invalidating all BUILD files for all env var changes
1
b

bitter-ability-32190

07/19/2022, 12:46 AM
the soon-to-be implemented-feature is in PR: https://github.com/pantsbuild/pants/pull/16215
w

witty-crayon-22786

07/19/2022, 12:46 AM
could maybe do it as a
[global]
fixed list of env vars to allow accessing from BUILD files
b

bitter-ability-32190

07/19/2022, 12:47 AM
That'd solve my case, because I'd only list
TAG
a

ambitious-actor-36781

07/19/2022, 1:05 AM
@bitter-ability-32190 alas. that was from another lifetime. I no longer have anything I did associated with that company
🏴‍☠️ 2
b

bitter-ability-32190

07/19/2022, 1:05 AM
I'm really hoping 2.14 is the release I can remove a lot of my in-repo plugins 😛
Ahh actually I think I'll really need docker plugin support, because I also need to substitute the registyr name as well, which isn't an env var
3 Views