
To increase the chances that job_dir and git_dir are on the same filesystem in the default configuration, set the default job_dir to /var/lib/zuul/builds. Also, all zuul container images specify a volume at /var/lib/zuul, therefore the docker-compose file does not need to specify the same for the scheduler container. Due to this, we were inadvertently running the executor with the git_dir and job_dir on different filesystems in the quick-start. That should no longer be the case. Change-Id: I2fe5eea588006da7181c3ea8ad2637598764e8f1
14 lines
558 B
YAML
14 lines
558 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
The default value for the :attr:`executor.job_dir` configuration
|
|
setting has been changed from ``/tmp`` to
|
|
``/var/lib/zuul/builds``. It is important for
|
|
:attr:`executor.job_dir` and :attr:`executor.git_dir` to be
|
|
located on the same filesystem, so this change increases the chances
|
|
that they end up on the same filesystem in most default configurations.
|
|
|
|
The ``builds`` subdirectory will be created if it does not exist,
|
|
however, ``/var/lib/zuul`` at least must exist and be writable by
|
|
the Zuul user.
|