Closed
Bug 1287890
Opened 8 years ago
Closed 8 years ago
CI: Create-test-environment shouldn't build docker images if just running non-docker tests
Categories
(MozReview Graveyard :: Testing / Development Environment, defect)
MozReview Graveyard
Testing / Development Environment
Development/Staging
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rwood, Assigned: gps)
Details
Attachments
(1 file)
2:26 PM <gps> speaking of the non-docker suite, create-test-environment still builds docker images for it, wasting several minutes 2:26 PM <gps> we should add an env variable to create-test-environment to disable docker image generation or something
Assignee | ||
Comment 1•8 years ago
|
||
If NO_DOCKER is set, we won't attempt to build Docker images. This variable can be set in the Jenkins test environment to make the "no Docker" test environment start faster. Review commit: https://reviewboard.mozilla.org/r/65396/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/65396/
Attachment #8772653 -
Flags: review?(rwood)
Reporter | ||
Comment 2•8 years ago
|
||
Comment on attachment 8772653 [details] testing: add NO_DOCKER environment variable to skip image building (bug 1287890); https://reviewboard.mozilla.org/r/65396/#review62524 Awesome thanks, tried it out locally and ran the non-docker tests. ::: create-test-environment:236 (Diff revision 1) > - echo "You will not be able to run tests that require Docker."; > + echo "You will not be able to run tests that require Docker."; > - echo "Please see https://docs.docker.com/installation/ for how to install Docker."; > + echo "Please see https://docs.docker.com/installation/ for how to install Docker."; > - echo "When Docker is installed, re-run this script"; > + echo "When Docker is installed, re-run this script"; > - exit 1 > + exit 1 > -} > + } > +fi Perhaps you may want to add an else and echo that the Docker images aren't being built because NO_DOCKER is set.
Attachment #8772653 -
Flags: review?(rwood) → review+
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8772653 [details] testing: add NO_DOCKER environment variable to skip image building (bug 1287890); Review request updated; see interdiff: https://reviewboard.mozilla.org/r/65396/diff/1-2/
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/044597f4a6a5 testing: add NO_DOCKER environment variable to skip image building ; r=rwood
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Assignee: nobody → gps
You need to log in
before you can comment on or make changes to this bug.
Description
•