Exclude repo_build_global_links_path from sync
These files are only used by the repo_build during wheel requirements and should only be needed and used on the repo_container they're on. When you're transitioning from one distribution release to another, e.g. xenial -> bionic, syncing the links directory between these repo_containers can break the wheel building in weird ways. Depends-on: I3bd6d3d987e32ee11c5f1fcb5c1b4b0fc797e7f9 Change-Id: Iaa2e52b26ba89802e06665ebe43fdf18e515abd7
This commit is contained in:
parent
8a1dc8ce0d
commit
860224c64e
|
@ -54,5 +54,9 @@ repo_server_port: 8181
|
|||
repo_git_cache_dirname: openstackgit
|
||||
repo_git_cache_dir: "{{ repo_service_home_folder }}/repo/{{ repo_git_cache_dirname }}"
|
||||
|
||||
# This directory is used by the repo_build, and will cause problems if synced
|
||||
# to repo_containers with other releases.
|
||||
repo_build_global_links_dirname: links
|
||||
|
||||
# Set the log directory
|
||||
repo_service_log_dir: /var/log/apt-cacher-ng
|
||||
|
|
|
@ -593,7 +593,7 @@ sync {
|
|||
rsync,
|
||||
source = "{{ repo_service_home_folder }}/repo",
|
||||
target = "{{ hostvars[node]['ansible_host'] }}:{{ repo_service_home_folder }}/repo",
|
||||
exclude = {"{{ repo_git_cache_dirname }}"},
|
||||
exclude = {"{{ repo_git_cache_dirname }}", "{{ repo_build_global_links_dirname }}"},
|
||||
rsync = {
|
||||
compress = true,
|
||||
acls = true,
|
||||
|
|
Loading…
Reference in New Issue