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

Make the APT mirror easier to customize

parent d687bf07
No related branches found
No related tags found
1 merge request!141Backports from v2022dev0 to v2021pre
Pipeline #175538 failed
......@@ -8,6 +8,7 @@ stages:
variables:
RELEASE: "v2021pre"
DISTRO: apertis
MIRROR: https://repositories.apertis.org/apertis/
STABLE: auto
TEST_TAG: test-${CI_PIPELINE_ID}
......@@ -49,7 +50,7 @@ build-base-rootfs:
script:
- >
cd base &&
debos -t osname:${DISTRO} -t suite:${RELEASE} -t stable:$STABLE rootfs.yaml
debos -t osname:${DISTRO} -t suite:${RELEASE} -t stable:$STABLE -t mirror:"$MIRROR" rootfs.yaml
.build-docker-image:
image:
......@@ -141,7 +142,7 @@ test-image-builder:
name: $CI_REGISTRY_IMAGE/${RELEASE}-image-builder:${TEST_TAG}
entrypoint: [ "" ]
script:
- debos -t osname:${DISTRO} -t suite:${RELEASE} image-builder/test-recipe.yaml
- debos -t osname:${DISTRO} -t suite:${RELEASE} -t mirror:"${MIRROR}" image-builder/test-recipe.yaml
test-flatdeb-builder:
stage: image test
......
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