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
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
setup.sh