-
Notifications
You must be signed in to change notification settings - Fork 461
OBS Minor Release HOWTO
This is a documentation about updating OBS from X.X.X to X.X.Y (so let's say from 2.8.0 to 2.8.1).
For the rest of this document:
-
$VERSION: refers to 2.8 -
$NEW_MINOR_VERSION: refers to 2.8.1
- Commit the changes to the git version branch.
- Add a
ReleaseNotes-$NEW_MINOR_VERSIONfile in the root of the git repository. - Mention any important change / bug fix made since the last release in the release notes file.
-
Check out the obs-server package OBS:Server:$VERSION:Staging
osc co OBS:Server:$VERSION:Staging obs-server -
Change the
versionformatinside the_servicefile to$NEW_MINOR_VERSION(e.g. 2.8.1). Leave therevisionvalue as the branch name (e.g. 2.8):<service name="obs_scm"> <param name="versionformat">$NEW_MINOR_VERSION</param> <param name="revision">2.8</param> ... </service>
-
osc vc obs-server.changesand paste theReleaseNotes-$NEW_MINOR_VERSIONfile -
osc addremove -
osc ci -
Watch the package obs-server to succeed for all distributions
-
Set the version tag inside the
OBS-Appliance.kiwifile to$NEW_MINOR_VERSION:<version>$NEW_MINOR_VERSION</version>
OBS:Server:$VERSION:Staging appliances are automatically tested by openQA. Make sure the tests succeed!
-
osc co OBS-Appliance-vmdk- (If you use VirtualBox, use vdi format from OBS 2.7 on!)
osc getbinaries images- Start the .vmdk / .vdi file in Virtual box:
- NOTE: if you use
VirtualBoxremember to configure your network asBridged Adapter. - Test that apache & buildservice starts automatically.
- Test your changes work and have not introduced any regression:
- Create an Interconnect to openSUSE.org.
- Create the
Admin:homeproject. - Branch from Interconnect
openSUSE.org:openSUSE:Tools/buildpackage. - Add build targets to the project and watch package build.
- NOTE: if you use
-
Release the staging project with
osc release OBS:Server:$VERSION:Staging:- Wait until the staging project gets released.
-
Write a mail like this to our public mailing list.
-
Tag the released code:
git fetch upstream git checkout upstream/$VERSION git tag -a $NEW_MINOR_VERSION git push upstream $NEW_MINOR_VERSION
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- Test in kanku
- Authentication
- Authorization
- Autocomplete
- BS Requests
- Events
- ProjectLog
- Notifications
- Feature Toggles
- Build Results
- Attrib classes
- Flags
- The BackendPackage Cache
- Maintenance classes
- Cloud uploader
- Delayed Jobs
- Staging Workflow
- StatusHistory
- OBS API
- Owner Search
- Search
- Links
- Distributions
- Repository
- Data Migrations
- Package Versions
- next_rails
- Ruby Update
- Rails Profiling
- Remote Pairing Setup Guide
- Factory Dashboard
- osc
- Setup an OBS Development Environment on macOS
- Run OpenQA smoketest locally
- Responsive Guidelines
- Importing database dumps
- Problem Statement & Solution
- Kickoff New Stuff
- New Swagger API doc
- Documentation and Communication
- GitHub Actions
- Brakeman
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models
- RFC: Hotwire Turbo Frames Pattern