This page is mainly intended for members of a release team who want to verify that they have built a tarball that will work for users. It could also be used by anybody else who wants to make sure a particular Evergreen tarball will work.
A huge thanks to Blake for creating this docker workflow!
git clone https://github.com/mcoia/eg-docker.git
cd eg-docker/generic-tarball
evergreen_version
. Change this version to match the Evergreen version of your tarball.docker build –add-host public.localhost:127.0.1.2 –add-host public:127.0.1.2 –add-host private.localhost:127.0.1.3 –add-host private:127.0.1.3 . -t eg
:tarball-testing
(this will take several minutes)docker run -it -p 80:80 -p 443:443 -p 210:210 -p 6001:6001 -p 32:22 -p 5433:5432 -h app.evergreen.com –name my-testing-eg-tarball eg:tarball-testing
(this will also take several minutes)docker exec -it my-testing-eg-tarball ansible-playbook -e hosts=127.0.0.1 /egconfigs/run_tests.yml
. It will give a short report at the end. ok, changed, skipped, and ignored items are expected, but failed means that one or more of our automated tests failed on the copy of the code within your tarball, which likely merits further investigation. Try running that test by itself to try to isolate the issue.docker rm my-testing-eg-tarball