gecko-dev/taskcluster/docker/image_builder
Gregory Szorc 4e063535e6 Bug 1391476 - Automatically set cache/volume permissions in run-task; r=dustin
run-task's --chown and --chown-recursive are only used on volumes and
caches - the only locations that aren't controlled by the Docker image
itself and thus whose permissions could be "undefined."

Previous commits have taught run-task about the locations of all caches
and volumes. Therefore, we no longer need to manually define paths to
chown. Instead, we can chown as a side-effect of the path being a
cache or a volume.

So, this commit changes run-task to chown caches and volumes
automatically. Since we no longer have a use for --chown and
--chown-recursive, those arguments are removed.

There /could/ be some paths that are caches or volumes but aren't
getting defined as such in Taskgraph. I consider this a bug in
Taskgraph and the recourse is to properly define a path as a cache or
a volume there.

MozReview-Commit-ID: 1yqrhjil6gy

--HG--
extra : rebase_source : 82c9ccb33f09d3ce50a6b7c6021e1e5b77d1b738
2017-08-23 12:07:18 -07:00
..
Dockerfile Bug 1391476 - Require that all cache paths be declared as volumes; r=dustin 2017-08-23 08:57:59 -07:00
HASH Bug 1350437 - Bump image_builder version and hash; r=aki 2017-03-29 09:32:46 -07:00
REGISTRY Backed out changeset fe7303de56be (bug 1302763) for failing webdriver tests on Linux x64 debug (geckodriver.manifest fetch failed). r=backout 2016-12-19 21:15:07 +01:00
VERSION Bug 1350437 - Bump image_builder version and hash; r=aki 2017-03-29 09:32:46 -07:00
build-image.sh Bug 1391476 - Automatically set cache/volume permissions in run-task; r=dustin 2017-08-23 12:07:18 -07:00
download-and-compress Bug 1350447 - Use python-zstandard for Docker image compression; r=dustin 2017-03-28 16:19:24 -07:00
setup.sh Bug 1350447 - Use --no-install-recommends in image_builder; r=dustin 2017-03-28 16:49:43 -07:00