zuul-jobs/roles/build-docker-image/tasks
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
..
build.yaml build-docker-image: fix up siblings copy 2019-12-09 11:14:21 +11:00
main.yaml build-docker-image: add option to install siblings 2019-12-03 20:59:45 +11:00
push.yaml Don't repeat the etc/alias setup for buildset registry pushes 2019-04-25 14:33:13 -07:00