Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nak3/openshift-rpmbuild
The script to build openshift RPM/SRPM packages
https://github.com/nak3/openshift-rpmbuild
Last synced: 30 days ago
JSON representation
The script to build openshift RPM/SRPM packages
- Host: GitHub
- URL: https://github.com/nak3/openshift-rpmbuild
- Owner: nak3
- License: apache-2.0
- Created: 2014-12-27T08:04:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-10T14:44:46.000Z (almost 10 years ago)
- Last Synced: 2024-10-14T11:19:03.601Z (2 months ago)
- Language: Shell
- Size: 249 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
openshift-rpmbuild
==================The script to build openshift RPM/SRPM packages
Tested Environment
-----
* CentOS release 6.6 (Final)
* Red Hat Enterprise Linux Server release 6.6 (Santiago)Quick start
----------##### 1. Set up repository for build requirements
```
cat > /etc/yum.repos.d/openshift-origin-nightly-deps.repo < specify to search OpenShift source code home directory. default value is current direcotry
````Example debug steps
---------##### 1. buildall RPM packages
````
./openshift-rpmbuild.sh -r buildall.... snip ...
BUILD RESULT
================
success to build: 58
-----------------------------
openshift-origin-cartridge-mock-plugin ....failed to build: 3
-----------------------------
openshift-origin-console rubygem-openshift-origin-admin-console rubygem-openshift-origin-console````
##### 2. Check above results and build speific package
````
./openshift-rpmbuild.sh -r openshift-origin-console.... snip ...
error: Failed build dependencies:
rubygem-openshift-origin-console is needed by openshift-origin-console-1.16.3-1.el6.noarch
````##### 3. Check why did your build fail
Extra: Use Dokcer for package build
---------###### Use docker file in docker
````
cd docker && docker build -t openshift_build .
````````
docker run -t -i openshift_build /bin/bash
````You can find rpm packages in `/tmp/tmp.repos/RPMS/`