Hi everyone, have a question is there any way to g...
# general
b
Hi everyone, have a question is there any way to get
branch name
or
commit sha
for pulumi stack using cli?
pulumi stack --stack stack_name
doesn’t show. Still this information is available in pulumi app, Cheers !
e
pulumi stack tag ls
b
yup - it still don’t contain this data… 😞
e
When you say pulumi app do you mean app.pulumi.com?
Because the git info on there just shows under "Tags", and its the same as what "tag ls" would show.
b
for some reason ‘tags ls’ dont have a branch name when I execute it - I ended up adding custom tag with branch name when creating stack - so I can reference it later on
e
Is that when you execute it locally?
Looks like the system should be setting "git.head" and "git.headName"
with the sha and ref name
🤦‍♂️ Ah I've just looked into this, a whole load of this stuff isn't set as tags, and I don't think there's a cli command to print the backing data from the service