|
|
**Content**
|
|
|
|
|
|
* [Create-patch-(diff)](Create-patch-(diff))
|
|
|
* [Test Checklist](Test-Checklist)
|
|
|
|
|
|
**Manually generate tagged images and upload it to download server.**
|
|
|
|
|
|
https://gitlab.freifunk-dresden.de/firmware-developer/firmware/pipelines
|
|
|
<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
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
* 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.7 or T_FIRMWARE_8.0.7 (for releases)
|
|
|
* set $FF_BUILD_TAG to "TESTING_FIRMWARE_8.0.7"
|
|
|
* set $FF_UPLOAD_DIR to "8.0.7" and run last job manually
|
|
|
* start pipeline (is a manual job)
|
|
|
* ssh on download server and create symbolic link
|
|
|
|
|
|

|
|
|
|
|
|
**FAQ**:
|
|
|
- enable artifact upload:
|
|
|
edit: /etc/gitlab/gitlab.rb<br/>
|
|
|
`gitlab-ctl reconfigure`<br/>
|
|
|
`gitlab-ctl restart`<br/>
|
|
|
(internal file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml should be updated by this)
|
|
|
|
|
|
- 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) |
|
|
\ No newline at end of file |