Open Build Service – Create Your Own Image Template!
The following article has been contributed by Björn Geuken, Web Developer Build Solutions Team, SUSE.
Are you considering to write your own image templates, but you don’t know how to start? No worries – this blog article tells you how to create you own image templates and how to publish them.
First create a subproject of your home project.
This will be the place where you collect your image templates.
Adding the Image Configuration
Let’s start with our first image. For that you need to create a package, which will contain the sources of your image configuration.
Adding the Image Repository
Go to the ‘Repositories’ tab, click on ‘Add repositories’ and check the ‘KIWI image build’ checkbox.
Now the only thing missing is some source files of your image configuration. If you don’t know what this is, or you need to refresh your memory, have a look at our KIWI appliance documentation. It contains a brief overlook of a KIWI configuration setup as well as some links to the official KIWI documentation.
Continue to adjust your image configuration until you are satisfied.
Publish Your Own Image Templates on the Templates Page
You might want to provide your image configuration to other users. In that case either ask a maintainer of a publishing project to add your templates to their collection.
You can do that by creating a Submit Request:
- Click on the ‘Submit package’ link of the template you would like to submit
- Enter the project you want to send your changes to as target project
- Send the request and wait the response of the project’s maintainers
Or send an email to the OBS admins and request that your templates project is added to the templates page.