diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 286bc31f7c5fb851ab62cd3796decb935f41b979..53eb2b77b7102cb8859c64e8f8a79e81ce76a1d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -153,6 +153,10 @@ test-flatdeb-builder: entrypoint: [ "" ] script: - cd flatdeb-builder/ + - cat suites/default.yaml.tpl | sed + -e "s|%MIRROR%|${MIRROR}|g" + -e "s|%DISTRO%|${DISTRO}|g" + | tee "suites/${RELEASE}.yaml" - /opt/apertis-flatdeb/run.py --build-area=$(pwd)/flatdeb-builddir --ostree-repo=$(pwd)/flatdeb-builddir/ostree-repo --suite=${RELEASE} --arch=amd64 base publish-base-docker-image: diff --git a/flatdeb-builder/suites/v2022dev0.yaml b/flatdeb-builder/suites/default.yaml.tpl similarity index 64% rename from flatdeb-builder/suites/v2022dev0.yaml rename to flatdeb-builder/suites/default.yaml.tpl index 92e8937bf0f31f1dffcd4396b107b35bfdc18f25..743cb777b78470920376601cf0d075a0b5f28e03 100644 --- a/flatdeb-builder/suites/v2022dev0.yaml +++ b/flatdeb-builder/suites/default.yaml.tpl @@ -3,8 +3,8 @@ can_merge_usr: true has_automatic_dbgsym: true strip_source_version_suffix: bv20\d\d.*b\d+|b\w\d+ sources: - - label: apertis-target - apt_uri: 'https://repositories.apertis.org/apertis/' + - label: %DISTRO%-target + apt_uri: '%MIRROR%' apt_components: - target ...