diff --git a/ci-automation/ci-config.env b/ci-automation/ci-config.env index 34ca3eaf21..deac6763cf 100644 --- a/ci-automation/ci-config.env +++ b/ci-automation/ci-config.env @@ -4,6 +4,10 @@ # Flatcar CI static configuration +# Build cache server for build artifacts. +# Required services: +# - http and https (WITHOUT auto-redirect) +# - ssh for BUILDCACHE_USER BUILDCACHE_SERVER="bincache.flatcar-linux.net" BUILDCACHE_PATH_PREFIX="/srv/bincache" BUILDCACHE_USER="bincache" diff --git a/ci-automation/test.sh b/ci-automation/test.sh index 86b3077cfe..07df9ca2fc 100644 --- a/ci-automation/test.sh +++ b/ci-automation/test.sh @@ -84,7 +84,8 @@ function __prepare_torcx() { ${workdir}/torcx_manifest.json)")" # Add docker package URL on build cache to manifest - jq ".value.packages[0].versions[0].locations += [{\"url\" : \"https://${BUILDCACHE_SERVER}/images/${arch}/${vernum}/${docker_pkg}\"}]" \ + local docker_url="http://${BUILDCACHE_SERVER}/images/${arch}/${vernum}/torcx/${docker_pkg}" + jq ".value.packages[0].versions[0].locations += [{\"url\" : \"${docker_url}\"}]" \ "${workdir}/torcx_manifest.json" \ > "${workdir}/torcx_manifest_new.json"