EOX GitLab Instance

Readme.md 1.41 KB
Newer Older
1
# Builder-RPM
2

3
Welcome to our [vagrant](http://www.vagrantup.com) based build system for RPMs. 
4

5
6
7
## (Currently) Supported Projects

Currently we _automagically_ install the build dependencies for the following projects:
8
9
10
11

* eox-release (which doesn't have any, so it's easy)
* rasdaman

12
## To start building
13

14
* Install vagrant, see http://docs.vagrantup.com/v1/docs/getting-started/index.html for more information.
15
* Clone this project!
16
  ```
17
  git clone https://gitlab.eox.at/vagrant/builder_rpm.git ./
18
  ```
19
* Edit the _Vagrantfile_ and update the project (see the beginning of [Vagrantfile](/vagrant/builder_rpm/tree/master/Vagrantfile))
20
21
* Copy your source archive into the _build/SOURCES_ folder
* Copy your spec file into the _build/SPECS_ folder 
22
* Start the VM
23
  ```
24
25
26
  vagrant up
  ```
* Open a SSH connection
27
  ```
28
29
30
31
  vagrant ssh
  ```
* Change to the rpmbuild folder
* Build your RPMs
32
  ```
33
34
  rpmbuild -ba SPECS/project.spec
  ```
35
* Wait ...
36
* On your own machine, you can now find your RPMs in the _build/RPMS_ and _build/SRPMS_ folders
37
38
39
40
41
42
43
44
45
* Done!

## How to add a new project

* Find out, what the projects build dependencies are
* Create a new puppet module inside the _puppet/modules_ directory. (See the [rasdaman module](/vagrant/builder_rpm/tree/master/puppet/modules/rasdaman) for an example)
* Create a merge request

If you are not sure, you can also email the build dependencies to marko.locher@eox.at and I'll do it for you!