diff --git a/.zuul.yaml b/.zuul.yaml index 9471e5487f..23927bd3f1 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -26,6 +26,8 @@ parent: opendev-build-docker-image dependencies: opendev-buildset-registry abstract: true + vars: + docker_mirror_base_url: "http://{{ zuul_site_mirror_fqdn }}/deb-docker" - job: name: system-config-upload-image @@ -961,7 +963,9 @@ - publish-tox-docs-infra check: jobs: - - opendev-buildset-registry + - opendev-buildset-registry: + vars: + docker_mirror_base_url: "http://{{ zuul_site_mirror_fqdn }}/deb-docker" - tox-linters - puppet-beaker-rspec-puppet-4-infra-system-config - system-config-run-base @@ -1015,7 +1019,9 @@ - system-config-build-image-python-builder gate: jobs: - - opendev-buildset-registry + - opendev-buildset-registry: + vars: + docker_mirror_base_url: "http://{{ zuul_site_mirror_fqdn }}/deb-docker" - tox-linters - puppet-beaker-rspec-puppet-4-infra-system-config - system-config-run-base diff --git a/docker/python-base/Dockerfile b/docker/python-base/Dockerfile index 9a975eebcc..b2fb3177d7 100644 --- a/docker/python-base/Dockerfile +++ b/docker/python-base/Dockerfile @@ -16,8 +16,8 @@ FROM python:slim RUN apt-get update \ - && apt-get install -y dumb-init libjemalloc1 \ + && apt-get install -y dumb-init libjemalloc2 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so.1 +ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 ENTRYPOINT ["/usr/bin/dumb-init", "--"] diff --git a/playbooks/zuul/gerrit/repos.yaml b/playbooks/zuul/gerrit/repos.yaml index 2c962b006b..ba5d1fbae3 100644 --- a/playbooks/zuul/gerrit/repos.yaml +++ b/playbooks/zuul/gerrit/repos.yaml @@ -16,9 +16,14 @@ # There is no stable branch for download-commands and no 3.0 branch of # singleusergroup so we need to check out the actual ref defined in the - # parent repo. Luckily, since we don't set a remote and this submodule - # uses relative paths, it should just clone the right thing and do it - # locally. + # parent repo. The default zuul remote, file:///dev/null, doesn't work + # here because relative paths cause it to be + # file:///dev/plugins/download-commands, which isn't a thing. Removing + # the origin causes git to use relative local filesystem paths. + - name: Remove origin remote + command: "git remote rm origin" + args: + chdir: /home/zuul/src/gerrit.googlesource.com/gerrit - name: Checkout core plugin submodules command: "git submodule update --init plugins/{{ item }}" args: diff --git a/tools/install_modules_acceptance.sh b/tools/install_modules_acceptance.sh index b49318bbf2..4c837b6552 100755 --- a/tools/install_modules_acceptance.sh +++ b/tools/install_modules_acceptance.sh @@ -23,7 +23,7 @@ # library modules. # This script uses system-config/modules.env as the source of truth for modules -# to install. It detects the presence of zuul-cloner to decide if we are running +# to install. It detects the presence of /home/zuul to decide if we are running # in a zuul environment or not. ROOT=$(readlink -fn $(dirname $0)/..) @@ -53,32 +53,16 @@ install_openstack() { modulepath='/etc/puppetlabs/code/modules' fi - cat > clonemap.yaml <