Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add short git sha #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add short git sha #31

wants to merge 2 commits into from

Conversation

mattmb
Copy link
Member

@mattmb mattmb commented Nov 21, 2019

Need this short git sha for cassandra to make paasta status work.

Just copying how we do it in python, extracting from the docker url.

Also cleaning up some tests

To match how we get it in python we just extract from the docker URL
Also removing some unused fake image provider
dockerUrl,
)
}
if len(gitShaStrings[1]) < 8 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 8? i think 7 was long time default for git.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but actually am I off by one anyway? shouldn't it be 9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants