Ian Wienand 26b66a6a9e zuul-cloner: enter directory before copying
The "-a" argument to cp implies "--preserve=all" which changes the
permissions of the target directory; e.g.

 mkdir /tmp/foo
 chmod 700 /tmp/foo
 cp -al /some/dir/. /tmp/foo
 ls -l /tmp/foo

and you will find that /tmp/foo is probably not 700 any more.  This
causes problems when /tmp/foo is a home directory, because it can make
them world-writable and hence ssh won't log into them any more.

For simplicity, switch into the directory we want to copy into, and
then copy everything in.  This should stop cp touching the parent
directory in any way.

Change-Id: Icd842b6fba220d41601adeaa0c5a41b2dab582bc
2017-09-27 11:42:26 +10:00
2017-06-09 09:03:15 -07:00
2017-05-24 19:48:52 +00:00
2017-09-07 10:29:14 -04:00

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.

Description
Ansible job definitions for Zuul
Readme 36 MiB
Languages
Python 89.3%
Jinja 8.2%
Shell 2.1%
Dockerfile 0.2%
Nim 0.1%