Closed nthomas-mozilla closed 5 years ago
Creating the db isn't reliable on v60 either, halp!
Rail says this is a known issue, and you just retry until it works.
This works correctly in https://github.com/mozilla-releng/shipit, which will be the new official home for Ship It soon.
For a fresh release-services clone (in Ubuntu 18.04 in docker mode) I can init the db on v60 with
but this doesn't work with master@dcb4f26b1fb5d7926bbd0d519256b170aed5c81f. There's an error related to keys and unique constraints from sqlalchemy in the log for shipit/api:
The log for postgresql has
ERROR: relation "shipit_api_releases" already exists
.I've tried to bisect to find the change which causes this but there's something intermittent, or my noobie steps aren't reliable.