Project

General

Profile

Feature #1861

automatize the release process

Added by laforge almost 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/28/2016
Due date:
% Done:

100%

Estimated time:
Spec Reference:

Description

This is an idea by max: have something like a "make release" that performs all required steps, like
  • updating the version number in autoconf
  • tagging the release in the git repo
  • preparing a release change-log (for human filtering/editing)
  • signing the tag (git tag -s)
  • signign the release (pgp)
  • uploading it?
  • posting a news item on osmoocm.org?

Related issues

Related to Cellular Network Infrastructure - Feature #2531: tweak TODO-RELEASE and LIBVERSION comments to match latest osmo-mgw editsNew2017-10-04

Related to Cellular Network Infrastructure - Bug #2644: release scripts use "gbp dch" for applications, but not for librariesResolved2017-11-15

Related to Cellular Network Infrastructure - Bug #2643: release scripts shouldn't tag/sign at the same time as "make release"Closed2017-11-15

History

#1 Updated by msuraev almost 2 years ago

  • Status changed from New to Stalled
  • % Done changed from 0 to 10

Gerrit #1427 is an example of some manual steps necessary for release which have to be automated in future.

#3 Updated by laforge almost 2 years ago

#4 Updated by msuraev about 1 year ago

  • Status changed from Stalled to In Progress
  • % Done changed from 10 to 20

Gerrit 3130 with generic implementation has been sent for review. Usage examples were sent in 3131 (libosmo-abis) and 3143 (osmo-bts).

#5 Updated by msuraev about 1 year ago

  • Status changed from In Progress to Stalled

#6 Updated by msuraev about 1 year ago

  • Checklist item make sure all projects use semver added
  • Checklist item make test library release added
  • Checklist item make test non-library release added
  • % Done changed from 20 to 30

All the patches were merged so far. Next - see checklist.

#7 Updated by msuraev about 1 year ago

  • Checklist item update wiki with new release procedure added

Test library release submitted as gerrit 3595, 3595; non-library release is submitted as 3598.
Minor fix for release helper sent as gerrit 3597.

#8 Updated by msuraev about 1 year ago

  • Checklist item make test library release set to Done
  • Checklist item make test non-library release set to Done

#9 Updated by msuraev about 1 year ago

  • % Done changed from 30 to 70

Test libosmo-abis 0.4.0 release and test osmo-bts 0.6.0 release were pushed.

#10 Updated by msuraev about 1 year ago

  • Checklist item update wiki with new release procedure set to Done

#11 Updated by msuraev about 1 year ago

  • Checklist item make sure all projects use release helper added

#12 Updated by msuraev about 1 year ago

Gerrit 3707-3710 and 3712-3719 were sent for review with the patches adding support for 'make release' command to all remaining projects.

#13 Updated by msuraev about 1 year ago

  • Checklist item make sure all projects use semver set to Done
  • % Done changed from 70 to 80

Everything except for 3710, 3713, 3716, 3717 was merged. Pending are osmo-* (after MSC-split) and osmo-trx.

#14 Updated by msuraev about 1 year ago

  • Checklist item improve robustness to handle mixed projects added
  • Checklist item make sure all libraries have LIBVERSION added
  • Checklist item make sure all projects use release helper set to Done

All remaining patches which add support for release helper were merged. Gerrit 3817 was sent for review with minor improvements.

Based on the feedback in ML, remaining items are:
  • improve robustness to handle repos which contain both some library and non-library code
  • clarify wiki docs

#15 Updated by neels 12 months ago

  • Related to Feature #2531: tweak TODO-RELEASE and LIBVERSION comments to match latest osmo-mgw edits added

#16 Updated by msuraev 11 months ago

  • Checklist item make sure all libraries have LIBVERSION set to Done

#17 Updated by msuraev 9 months ago

  • Related to Bug #2644: release scripts use "gbp dch" for applications, but not for libraries added

#18 Updated by msuraev 9 months ago

  • Related to Bug #2643: release scripts shouldn't tag/sign at the same time as "make release" added

#19 Updated by laforge 7 months ago

  • Assignee changed from msuraev to sysmocom

#20 Updated by laforge 6 months ago

  • Assignee changed from sysmocom to pespin

#21 Updated by pespin 5 months ago

  • Checklist item improve robustness to handle mixed projects set to Done

#22 Updated by pespin 5 months ago

  • Status changed from Stalled to Resolved
  • % Done changed from 80 to 100

After a full release round of all projects, I think the automatization is good enough for now. Small Specific stuff to be done is handled in less-generic tasks.
Wiki has been updated will all related interesting documentaiton. https://osmocom.org/projects/cellular-infrastructure/wiki/Make_a_new_release

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)