Content
Manually generate tagged images and upload it to download server.
https://gitlab.freifunk-dresden.de/firmware-developer/firmware/pipelines
Tags/Branches:
- TESTING_FIRMWARE_*: tag for a testing version
- R_FIRMWARE_*: release branch, from which releases are created and tagged
- T_FIRMWARE_*: tagged release
Variablen
- FF_UPLOAD_DIR - subdir (e.g. "6.4.4" or "7.0.2-testing") where the firmware should be uploaded
- FF_BUILD_TAG - tag that is displayed in firmware (e.g TESTING_FIRMWARE_6.4.4)
- FF_GITLAB_REMOVE_WORKDIR set it to 1 if workdir should be removed first. else workdir is re-used
- FF_GITLAB_REMOVE_DL set it to 1, if all old downloaded packages should be deleted and downloaded again.
Release Process:
- Create Tag $TESTING_FIRMWARE_8.0.6 or T_FIRMWARE_8.0.2 (for releases)
- set $FF_BUILD_TAG to "TESTING_FIRMWARE_8.0.6"
- Pipeline is started and stops at manual upload job
- set $FF_UPLOAD_DIR and run last job manually
- ssh on download server and create symbolic link
FAQ:
- enable artifact upload:
edit: /etc/gitlab/gitlab.rb
gitlab-ctl reconfigure
gitlab-ctl restart
(internal file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml should be updated by this)