Skip to content
Snippets Groups Projects
Commit dae131cd authored by Emanuele Aina's avatar Emanuele Aina
Browse files

flatdeb-builder: Fix test by not hardcoding the release name


Rather than hardcoding the release name in the filename of the YAML
definition of the APT suite, generate it at runtime so that we can
also inherit the osname and APT mirror from the main settings, which
is useful for downstreams.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent e998c282
No related branches found
No related tags found
2 merge requests!144flatdeb-builder: Fix test by not hardcoding the release name,!93WIP: documentation-builder: Rebase on Apertis instead of Debian Buster
Pipeline #175531 failed
......@@ -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:
......
......@@ -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
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment