Closed Bug 1139516 Opened 9 years ago Closed 9 years ago

Flee Jenkins

Categories

(Webtools Graveyard :: DXR, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: erik, Unassigned)

Details

User Story

travid-ci: no support for any kind of nested virtualization yet
drone.io: supports Dockers containers but requires scary amount of OAuth privilege (read AND write to personal info, followers, everything about repos, and that would include everything in the mozilla GitHub org)
The maintenance of ci.mozilla.org is a very low priority now. We should flee to some other service. The difficult part is finding one on which we can run a virtualbox or some other kind of container.
The low-priority thing may not be true anymore, now that fox2mike is in charge of WebOps. He'll get back to me.
Commit pushed to master at https://github.com/mozilla/dxr

https://github.com/mozilla/dxr/commit/602ca5f3d7815cc6d5f7cc7b90545703888e2e0b
Replace Vagrant with Docker. Fix bug 1139516. Fix bug 1068854. Fix bug 1220965. Fix bug 964460. Close #494, close #488, and close #415.

Future:
* Refactor things so they're more reusable in prod.
* Maybe publish docker images. What use is this? Will it make deploys any faster or more reliable? How do people trust them?
* Pass ES_HEAP_SIZE (or something) env var through to the es container, as described at https://hub.docker.com/r/library/elasticsearch/.
* Make sure ES data persists across container instantiations.
* Call docker-machine automatically on the Mac.
* Maybe we can move the venv back out of the source dir for performance. With docker-compose in the picture now, we may be able to convince it with volumes-from or something to not evaporate things outside the source dir from one "make shell" to the next.
* When docker-compose supports --build-arg (docker/compose#2111), we can add one for UID so we can, from an env var on the host, set the UID of the unprivileged user in the container. This will solve the problem of non-matching UIDs for Linux devs and let us get rid of the chmod in Travis.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Commit pushed to master at https://github.com/mozilla/dxr

https://github.com/mozilla/dxr/commit/a7e2e99072eb8d58ccd93049a8ce60e49e3d5c50
Replace Vagrant with Docker. Fix bug 1139516. Fix bug 1068854. Fix bug 1220965. Fix bug 964460. Close #494, close #488, and close #415.

Future:
* Refactor things so they're more reusable in prod.
* Maybe publish docker images. What use is this? Will it make deploys any faster or more reliable? How do people trust them?
* Pass ES_HEAP_SIZE (or something) env var through to the es container, as described at https://hub.docker.com/r/library/elasticsearch/.
* Make sure ES data persists across container instantiations.
* Call docker-machine automatically on the Mac.
* Maybe we can move the venv back out of the source dir for performance. With docker-compose in the picture now, we may be able to convince it with volumes-from or something to not evaporate things outside the source dir from one "make shell" to the next.
* When docker-compose supports --build-arg (docker/compose#2111), we can add one for UID so we can, from an env var on the host, set the UID of the unprivileged user in the container. This will solve the problem of non-matching UIDs for Linux devs and let us get rid of the chmod in Travis.
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.