zuul-jobs/roles/build-docker-image
Ian Wienand 599954715e build-docker-image: fix up siblings copy
There are a number of issues with this.  Firstly, it needs to copy the
parent directories to make a heirarchy in the .zuul-siblings
directory.  The current "cp -r" was only copying the final directory.
Switch into the source directory and use "--parent" to do this.

Also, it should be copying into the context dir.  Add the
{{ item.context }} to the path where appropriate.

Make new testing image that copies in files from the siblings.
Because COPY will fail if the sources aren't there, this is like an
assert that we copied it correctly.

Change-Id: I9f3b0a1f71d20cf7511f224648dd2fa51a039015
2019-12-09 11:14:21 +11:00
..
defaults Allow different filenames for Dockerfiles 2019-01-26 08:26:06 +00:00
tasks build-docker-image: fix up siblings copy 2019-12-09 11:14:21 +11:00
common.rst build-docker-image: add option to install siblings 2019-12-03 20:59:45 +11:00
README.rst Add docker image promotion roles 2019-01-15 14:03:00 -08:00

Build one or more docker images.