-
Notifications
You must be signed in to change notification settings - Fork 445
OBS Minor Release HOWTO
Christian Bruckmayer edited this page May 2, 2017
·
37 revisions
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
versionformat
andrevision
inside the _service file to $VERSION<service name="obs_scm" mode="disabled"> <param name="versionformat">$VERSION</param> <param name="revision">$VERSION</param> ... </service>
-
osc service disabledrun
-
Delete the old tarball
-
osc vc obs-server.changes
and 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
VirtualBox
remember 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:home
project, - Branch from Interconnect
openSUSE.org:openSUSE:Tools/build
package - 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
-
Write a mail like this to our public mailing list.
-
Tag the released code
git tag -a $VERSION git push upstream $VERSION --tags
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- 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
- next_rails
- Ruby Update
- Rails Profiling
- Installing a local LDAP-server
- 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
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models