Set zuul_work_dir for system-config-*-image

When we use these outside of system-config (like in jeepyb)
the paths are all wrong for finding the docker context. Set
zuul_work_dir on the base jobs so that it works as expected
when we trigger from other places.

Change-Id: I986fe0d12ebfb94bd81fbe3ff1ae51b6f0dd68c7
This commit is contained in:
Monty Taylor 2020-03-22 11:16:00 -05:00
parent 8c7b94436b
commit 9e83225632

View File

@ -28,12 +28,15 @@
abstract: true
vars:
docker_mirror_base_url: "http://{{ zuul_site_mirror_fqdn }}/deb-docker"
zuul_work_dir: /home/zuul/src/opendev.org/opendev/system-config
- job:
name: system-config-upload-image
parent: opendev-upload-docker-image
dependencies: opendev-buildset-registry
abstract: true
vars:
zuul_work_dir: /home/zuul/src/opendev.org/opendev/system-config
secrets:
name: docker_credentials
secret: system-config-dockerhub