wooden-thailand-8386
10/26/2020, 6:33 PMfiles (or resources ) seems like the pattern
src/python/cool_thing:my_app
doesnt happen.
I have some tags for pex_binary and archive and they return as I mentioned above.. but for files.. it’s returning like:
src/python/cool_thing
src/python/cool_thing/Dockerfilewitty-crayon-22786
10/26/2020, 6:35 PMtags on your targets? and then you’re trying to match them with ./pants --tags=.. $goal ?wooden-thailand-8386
10/26/2020, 6:37 PM./pants --changed…. --tag=docker list and splitting that : afterwards so I can get the folder where the Dockerfile lives and do what I have to do with it.witty-crayon-22786
10/26/2020, 6:44 PM--changed-dependees=transitive in there?wooden-thailand-8386
10/26/2020, 6:45 PMwitty-crayon-22786
10/26/2020, 6:46 PM./pants dependencies --transitive $dockertarget show the changed file/target?witty-crayon-22786
10/26/2020, 6:46 PMwooden-thailand-8386
10/26/2020, 6:53 PMservices/docker/projectA:project_a
services/docker/projectB:project_b
but now… I get four different ones 😆
services/docker/projectA
services/docker/projectA/Dockerfile
services/docker/projectB
services/docker/projectB/Dockerfile
I can change the rest of my Jenkinsfile to adapt to this new format but I just wanted to make sure that this is what I should expect as output when listing files and resourceswitty-crayon-22786
10/26/2020, 6:54 PMwitty-crayon-22786
10/26/2020, 6:57 PMservices/docker/projectA
is a declared target named `projectA`… ie, it’s equivalent to services/docker/projectA:projectAwitty-crayon-22786
10/26/2020, 6:57 PMservices/docker/projectB/Dockerfile is a file-level target.wooden-thailand-8386
10/26/2020, 6:58 PMwitty-crayon-22786
10/26/2020, 7:00 PMwooden-thailand-8386
10/26/2020, 7:02 PMwooden-thailand-8386
10/26/2020, 7:02 PMwitty-crayon-22786
10/26/2020, 7:04 PMDockerfile)wooden-thailand-8386
10/26/2020, 7:05 PMpants command inside a groovy function lolwooden-thailand-8386
10/26/2020, 7:05 PMwitty-crayon-22786
10/26/2020, 7:07 PMwooden-thailand-8386
10/26/2020, 7:08 PMwitty-crayon-22786
10/26/2020, 7:09 PMwitty-crayon-22786
10/26/2020, 10:38 PM