gecko-dev/taskcluster/taskgraph/util
Gregory Szorc 1ed7f8482f Bug 1290531 - Build Docker images from custom tar contexts; r=dustin
Now that Docker image building is called from Python, we can start to
do advanced stuff with it.

With this commit, we switch from building Docker images directly from
the source directory ("the Docker way") to using our custom Docker image
build contexts.

The main advantage of this is that locally-built Docker images can now
use our custom Dockerfile syntax to include extra files in the build
context!

The code for building a Docker image from a context has been extracted
to its own standalone function. I have nefarious plans for this in the
future, such as the ability to override the FROM syntax to specify
URLs of images. This would allow us to host base images on our own
server, which removes a dependency on Docker Hub and improves
determinism, since images on Docker Hub change all the time.

MozReview-Commit-ID: 5lTdV8yEHkc

--HG--
extra : rebase_source : c374558b82d0d0302351ffbf3c82878c6663f40c
2016-07-29 13:41:59 -07:00
..
__init__.py
attributes.py Bug 1281004: Specify test tasks more flexibly; r=gps; r=gbrown 2016-07-11 23:27:14 +00:00
docker.py Bug 1290531 - Build Docker images from custom tar contexts; r=dustin 2016-07-29 13:41:59 -07:00
legacy_commit_parser.py Bug 1281004: remove now-unused yaml task definitions; r=Callek 2016-07-10 14:27:41 +00:00
python_path.py Bug 1281004: factor out searching for python objects by path; r=gps 2016-06-29 22:12:09 +00:00
templates.py Bug 1280956 - Use in-tree linter job to flake8 test taskcluster directory. r=dustin 2016-06-20 21:06:55 -04:00
time.py Backed out changeset 320ee1117179 (bug 1284005) for gecko-decision task failures. 2016-07-07 00:16:45 -04:00
treeherder.py Bug 1281004: Specify test tasks more flexibly; r=gps; r=gbrown 2016-07-11 23:27:14 +00:00