-
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)
- Commit the changes to the git version branch
- Add a ReleaseNotes-$VERSION file 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 _service file to $VERSION (e.g. 2.8.1). Leave therevisionvalue as the branch name (e.g. 2.8)<service name="obs_scm" mode="disabled"> <param name="versionformat">$VERSION</param> <param name="revision">2.8</param> ... </service>
-
osc service disabledrun -
Delete the old tarball
-
osc vc obs-server.changesand paste the ReleaseNotes-$VERSION file -
osc addremove -
osc ci -
Watch the package obs-server to succeed for all distributions
-
Set the version tag inside the OBS-Appliance.kiwi file to $VERSION
<version>$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
- e.g. create an Interconnect to openSUSE.org,
- Create
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_VERSION git push upstream $VERSION --tags
- 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