Closed kitop closed 4 years ago
Confirmed in staging that it has the version now:
$ curl https://identity-staging.services.netlify.com/health
{"description":"GoTrue is a user registration and authentication API","name":"GoTrue","version":"6ec851ca4049990dd85f33397e42fea9c9317b99"}%
- Summary When trying to deploy a new version of gotrue with Marcus, we noticed the
/health
endpoint wasn't returning version data. After some digging Marcus found that we're doing double builds in the Docker image, one viamake build
and then ago build
after that. Thego build
one doesn't havee the version info and is redundant given the step before it.This change removes the
go build
step so we rely in the makefile one.- Test plan Verify we get version information on
/health
endpoint.- A picture of a cute animal (not mandatory but encouraged)