Tuesday, June 6, 2017

Open Build Service Integration

You all know the amazing SUSE Studio and love how it abstracts the complicated process of appliance building.
However, it lacks several essential features like an integration into your continuous integration workflow or automatic rebuilds on updates.
If you have followed our recent blog posts then you may have noticed that we currently work on a better integration of appliance building in the Open Build Service.
This blog post will show you how you can export your appliance from SUSE Studio and import it into the Open Build Service to benefit from these features.

SUSE Studio

SUSE Studio is the award-winning online application to create custom linux appliances.
It helps you configure packages, users, database and much more.
A little known feature is that it allows you to export appliance configuration files.

To do this got to the Build tab, click Export your appliance's Kiwi configuration and then click Download appliance source.

The export contains the Kiwi description of your appliance.
Kiwi is the OS image appliance builder which powers SUSE Studio and Open Build Service in the background.
If you want to know more about it, have a look at the excellent KIWI documentation.
After extracting the archive, you can investigate the files.

The most interesting file is the source.kiwi.txz archive as it can be directly imported into your Open Build Service project.

Open Build Service

First go to your home project and add the Kiwi image builds repository.

After that, create a new package inside your home project.

After clicking on create you will end up with a package without source files.
Click on Add file and select source.kiwi.txz from your download directory to import your SUSE Studio configuration into OBS.

The import feature will extract the archive and does several adaptions like renaming files and ordering repositories.
If everything worked like expected, the appliance should start building after a few minutes.

Advantages & Limitations

Some of you might ask why should you use the Open Build Service instead of SUSE Studio?
As already mentioned in the beginning, OBS can be easily integrated in your continuous integration workflow.
You can setup a source service which automatically fetches your latest code from GitHub, builds an RPM package and eventually your custom Linux application.
The dependency resolution of OBS also makes sure that you get a new appliance as soon as one of the dependencies changed.
To complete the continuous integration workflow, it is possible to test the appliance with Open QA.

But OBS offers more!
SUSE Studio uses only a small subset of Kiwi, with the help of OBS you can make use of the full feature set.
Similiar to GitHub and SUSE Gallery, OBS gives you the ability to collaborate with other appliance maintainers.
Ever wanted to build appliances for your Raspberry Pie?
While SUSE Studio only offered building 64-bit appliances, with OBS you can now build many other architectures including ARM or s390.

We tried to make the import as smooth as possible for you, however, there are of course limitations.
If you have, for instance, custom repositories in your appliance, OBS will fail to resolve these and you will end up with a broken package.


You can resolve this issue by editing the 'config.kiwi' file and adding the correct OBS repository with the schema obs://$PROJECT/$REPOSITORY

As OBS parses the configuration file before it starts the build, you can get have choice or similiar issues which you need to resolve manually.
This is for instance the case for imports of KDE configuratation files.

You need to decide on case to case which package is the correct one.
We can fix the KDE configuration by removing the package kdebase4-session from the config.kiwi file.

If you have questions or suggestions, send an email to our mailinglist, join us in IRC on #opensuse-buildservice @ freenode or open an issue.

Friday, March 17, 2017

Maintenance window on Friday, March 17

We'll be moving some of our servers on Friday, March 17 starting at 3pm UTC. It will take a few hours. We're sorry about possible service outages.

Monday, July 25, 2016

SUSE Studio enabled Microsoft Azure image type for SLES 12

We are happy to announce that Azure image type has been enabled for SUSE Linux Enterprise 12 SP1 appliances. From now on you can build and upload SLE12 SP1 based appliances in the Microsoft Azure Cloud.

Tuesday, July 12, 2016

Tackling spam comments on SUSE Gallery

Over the last few months, we have received a lot of questions and requests regarding increasing spam comments on SUSE Gallery. After much thought and consideration, we have decided to disable the comment functionality on SUSE Gallery as of today. You will still be able to read already posted comments. We apologize for any inconvenience this transition causes.

Wednesday, December 16, 2015

SUSE Linux Enterprise 12 SP1 is out

SUSE Linux Enterprise 12 Service Pack 1 was released today. It contains lots of software updates and features. For more information have a look at the release notes of our Server and Desktop version.

SUSE Linux Enterprise 12 SP1 templates

SUSE Studio supports the new SUSE Linux Enterprise release from day one. Just click on the Create appliance link after you log in and select the template you'd like to start with.

SUSE Linux Enterprise Desktop 12 SP1 GNOME

Testdriving SUSE Linux Enterprise 12 SP1 GNOME desktop

As always you can configure, build, testdrive and publish your appliance.

New Packages
SUSE Linux Enterprise 12 SP1 includes now OpenJDK 8. SLE12 was having only the version 7 of OpenJDK. The customers that needed higher version of Java did not have a solution. But don't worry if you still need the OpenJDK 7 packages! OpenJDK 8 was added as an alternative along with OpenJDK 7 so that customers that need it can still use it. They are still available handled by alternatives.

The latest version of SUSE Linux Enterprise 12 updates also PostegreSQL to Version 9.4 which introduces the new pg_update feature. The new pg_update feature simplifies and speeds up the migration to a new PostgreSQL version. For detailed information, please have look at our release notes.

Furthermore the Python script interpreter was updated to version 2.7.9. Main feature is a improved SSL module which has better security checking of X509 certificates used in SSL/TLS communication.

As usual you can upgrade previous SUSE Linux Enterprise versions to the new Service Pack 1. Just go to the start tab of your appliance and click the Upgrade button at the top bar.

Upgrade to SUSE Linux Enterprise 12 SP1 from SLES 12

Upgrade to SUSE Linux Enterprise 12 SP1

In case you are not satisfied with the upgrade you can also rollback to your old appliance version. Just click on Undo upgrade at the bottom of the appliance start tab.

Happy building :)

Thursday, November 5, 2015

openSUSE Leap 42.1 templates

Today we are happy to announce openSUSE Leap 42.1 templates in SUSE Studio. Leap is the new hybrid distribution release provided by the openSUSE community.

openSUSE Leap is based on sources from both, openSUSE development and SUSE Linux Enterprise 12 codebase, and provides a stable operating system with regular releases.

Studio templates are provided for JeOS, Server, KDE and Gnome and can be adjusted from there on with SUSE Studio. To start with a new Leap appliance, go to the create appliance page and pick a Template.

One of the many changes that come with Leap is that there are no 32 bit packages available that we could use for providing 32 bit templates. That means that unfortunately there won't be any 32 bit templates in Studio for openSUSE Leap.

Testdriving openSUSE Leap 42.1 Gnome desktop appliance

Testdriving openSUSE Leap 42.1 KDE desktop appliance

Upgrade path

As always we are providing an upgrade path that allows you to switch from older openSUSE releases to openSUSE Leap 42.1. This even includes 32 bit appliances, which are converted to 64 bit in the process.

Enjoy building your first Leap appliance!

Tuesday, October 13, 2015

Preview Feature: Filesystem selection

We're happy to announce that the filesystem selection has been enabled for beta tester.

To become a beta tester you have to "Enable experimental features" in your user account.

Now you're able to choose between ext3, ext4 and BTRFS filesystem in your appliance configuration tab.

The filesystem selection is only available for SLE12 and 13.2 at the moment.
© 2013 SUSE