Added dev variable

This commit is contained in:
Stefan Hoffmann 2023-05-25 13:34:45 +02:00
parent 9eac90455a
commit 325da5740d
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD

View File

@ -6,7 +6,7 @@ variables:
image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest" image: "git.freifunk-rhein-sieg.net/freifunk-troisdorf/docker-gluon-build:latest"
pull: true pull: true
environment: environment:
- input_version=v2022.1.4 - input_version=${CI_COMMIT_TAG}
- GLUON_SITEDIR=.. - GLUON_SITEDIR=..
- FORCE_UNSAFE_CONFIGURE=1 - FORCE_UNSAFE_CONFIGURE=1
- GLUON_TARGET=${TARGET} - GLUON_TARGET=${TARGET}
@ -37,6 +37,9 @@ pipeline:
<<: *default <<: *default
commands: commands:
- cd gluon - cd gluon
- if [ $input_version -eq "" ] then input_version=dev
- echo $input_version
- echo $CI_COMMIT_BRANCH
- make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${CI_COMMIT_BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/${CI_COMMIT_BRANCH} - make -j$(nproc) GLUON_AUTOUPDATER_BRANCH=${CI_COMMIT_BRANCH} GLUON_AUTOUPDATER_ENABLED=1 GLUON_RELEASE=$input_version-${CI_COMMIT_BRANCH} GLUON_OUTPUTDIR=output/${CI_COMMIT_BRANCH}
list_images: list_images: