User Tools

Site Tools


qa:testing_a_tarball

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
qa:testing_a_tarball [2024/09/26 15:56] – created sandbergjaqa:testing_a_tarball [2024/12/19 09:48] (current) – [Using docker or podman] sandbergja
Line 12: Line 12:
   - Copy the tarball you wish to test into this generic-tarball directory.   - Copy the tarball you wish to test into this generic-tarball directory.
   - Edit the vars.yml file.  There is a line that says ''evergreen_version'' Change this version to match the Evergreen version of your tarball.   - Edit the vars.yml file.  There is a line that says ''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 +  - ''%%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 --no-cache%%'' (this will take several minutes) 
-: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 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)+
   - In your browser, go to http://localhost and confirm that the public catalog and staff catalog are working   - In your browser, go to http://localhost and confirm that the public catalog and staff catalog are working
   - In a new terminal window, run the automated tests with ''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.   - In a new terminal window, run the automated tests with ''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.
qa/testing_a_tarball.1727380597.txt.gz · Last modified: 2024/09/26 15:56 by sandbergja

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.