Docs: Automate Maxmind file updates for Registrations

Created on 17 Jun 2020  路  6Comments  路  Source: cockroachdb/docs

See https://github.com/cockroachlabs/registration/issues/233.

Automate steps 1. and 2. of that process.

For step 3., open PRs for geoip.go in both registration and managed-service.

After merging former, deploy both API Canary and API Fleet under TeamCity > Internal > Telemetry Server.

A-docs-toolchain P-1

All 6 comments

This is now running as a cronjob on my machine. I'm not productionalizing the cronjob because each update still requires manual steps at the end, which are 1) open + merge a PR for the registration repo, and 2) deploy two clusters.

Will close this issue if/when I confirm the cronjob runs as expected for the next month (July 2020).

The cockroach cloud team is now accessing the mmdb file as well for our own ip geolocation purposes. Im not sure who owns the update process but it would be great if they could ping us in the managed service repo or slack when there's an update.

Hi @davidmargolin, I'm currently owning the Maxmind update process for registration. Under our subscription plan, we get a new mmdb file every month. I'd be happy to open a monthly PR in geoip.go if that helps (just let me know who should be reviewing), or I can Slack if you let me know which channel to post in.

cc @jseldess

A PR would be great. The CC platform team would be happy to review (@alyshanjahani-crl, @laurenbarker, and myself)

You got it!

Cronjob ran as expected, everything looks good.

Was this page helpful?
0 / 5 - 0 ratings