vmware-archive / projectmonitor

Big Visible Chart CI aggregator
http://ci.pivotallabs.com
BSD 2-Clause "Simplified" License
428 stars 120 forks source link

Use MySQL as the database #108

Closed mjstallard closed 5 years ago

mjstallard commented 8 years ago

As we are standardizing on using MySQL for Pivotal apps hosted on Cloud Foundry, we are changing Project Monitor to use this instead of Postgres.

I will update this Pull Request once we're running this in production.

mjstallard commented 8 years ago

We can confirm that this is now in production - see http://ci.pivotallabs.com/

tjgrathwell commented 8 years ago

@erd @mjstallard re: 043d0de - I don't see the 'simplifying', it looks like you just deleted both the manifests?

Is there a unified ultra-manifest sitting around that you didn't add to git?

If you changed the command used to deploy, https://github.com/pivotal/projectmonitor#deployment should be updated too

erd commented 8 years ago

Whoops... yeah, there's a manifest in the root directory that we forgot to add. We'll fix it up tomorrow (and include a doc update).

erd commented 8 years ago

We've added a workaround for the emoji by using serialize for the project's code field. This will cause the field to roundtrip to Marshal, allowing it to be persisted in spite of MySQL.

See https://dev.firmafon.dk/blog/quick-no-hack-emoji-support-with-mysql-rails/ for more details.

This is a quicker/easier way of doing things, rather than adding full emoji support for every table by migrating to utf8mb4.

professor commented 7 years ago

I'm curious about the status of this pull request. I've seen emoji's on pulse monitor. Do we still want this code?

mjstallard commented 5 years ago

Closing this as I no longer work at Pivotal and I think this is a pretty stale PR by now 🙃