look into switching Balrog to Docker



3 years ago
3 years ago


(Reporter: bhearsum, Assigned: bhearsum)


Firefox Tracking Flags

(Not tracked)



(1 attachment)

Balrog is currently using Vagrant to manage dev environments, which is a bit old and crufty. Switching to Docker would modernize us, and also be a big step towards the potential transition to being CloudOps hosted.
(In reply to Ben Hearsum (:bhearsum) from comment #1)
> I started looking into this a few days ago:
> https://github.com/mozilla/balrog/compare/master...bhearsum:docker?expand=1

This is looking pretty darn good now. I've got a set of Docker images that are functionally equivalent to the Vagrant image, and reworked the config and wsgi files to support that. The patch also rips out the vendor library in favour of putting everything in setup.py. I'm going to sit on it for a few days and look at it with fresh eyes before seeking review.
Created attachment 8702620 [details] [review]
add support for Docker images

PR has all the details.
Attachment #8702620 - Flags: review?(rail)


3 years ago
Attachment #8702620 - Flags: review?(rail) → review+

Comment 4

3 years ago
Commit pushed to master at https://github.com/mozilla/balrog

Merge pull request #38 from bhearsum/docker

bug 1234546: Switch Balrog to Docker + uWSGI and a bit of cleanup. r=rail
Comment on attachment 8702620 [details] [review]
add support for Docker images

I merged this morning. All looks well, including my tests on aus4-dev. I've updated the docs at https://wiki.mozilla.org/Balrog to reflect the changes.
Attachment #8702620 - Flags: checked-in+
Been actively using Docker for local dev for weeks now - this is done. Any subsequent work will be taken care of in new bugs.
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.