Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Firmware Firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Firmware-Developer
  • FirmwareFirmware
  • Wiki
  • Home

Last edited by Stephan Apr 14, 2022
Page history

Home

Content

  • Create-patch-(diff)
  • Test Checklist

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)
Clone repository
  • Create patch (diff)
  • Gitlab Runner (no docker)
  • Test Checklist
  • Win10 Docker Desktop
  • Home