From ff2960424eb4206eafbdac01b17024bb47ff3bfc Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 4 Feb 2019 15:27:56 -0800 Subject: [PATCH] Install skopeo on Zuul executors Skopeo can be used to easily (and without a docker daemon running) copy images between docker registries. Install it on the executors so that we can use it to move images between the intermediate registry and buildset registries. Change-Id: I1f00d24e6f6d9c02dce987e5d01644d97632eb92 --- manifests/site.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index 554a0a26f3..590a9c6031 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -794,6 +794,18 @@ node /^ze\d+\.open.*\.org$/ { ], } + # Skopeo is required for pushing/pulling from the intermediate + # registry, and is available in the projectatomic ppa. + + apt::ppa { 'ppa:projectatomic/ppa': } + package { 'skopeo': + ensure => present, + require => [ + Apt::Ppa['ppa:projectatomic/ppa'], + Class['apt::update'], + ], + } + # NOTE(pabelanger): We call ::zuul directly, so we can override all in one # settings. class { '::zuul':