Pass suite as a command-line argument for builds and derived images
This sets the stage for building multiple suites. Note that migration from Debian is not expected to work for multiple Devuan suites.
This commit is contained in:
parent
6a1214b6fc
commit
852c04930d
|
|
@ -29,9 +29,9 @@ migrate:
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- ./build.sh
|
- ./build.sh "$DEVUAN_SUITE"
|
||||||
|
|
||||||
derive:
|
derive:
|
||||||
stage: derive
|
stage: derive
|
||||||
script:
|
script:
|
||||||
- ./derive.sh
|
- ./derive.sh "$DEVUAN_SUITE"
|
||||||
|
|
|
||||||
2
build.sh
2
build.sh
|
|
@ -5,7 +5,7 @@
|
||||||
# License: GPL-3.0+
|
# License: GPL-3.0+
|
||||||
|
|
||||||
MIGRATED_IMAGE=$CI_REGISTRY_IMAGE/debian-$DEBIAN_VERSION/migrated
|
MIGRATED_IMAGE=$CI_REGISTRY_IMAGE/debian-$DEBIAN_VERSION/migrated
|
||||||
SUITE=$DEVUAN_SUITE
|
SUITE=$1
|
||||||
|
|
||||||
rm -rf rootfs || true
|
rm -rf rootfs || true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue