All Projects → jfut → ganeti-rpm

jfut / ganeti-rpm

Licence: BSD-2-Clause license
Ganeti RPM Packaging

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to ganeti-rpm

Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+1382.61%)
Mutual labels:  centos, redhat, rhel
Bento
Packer templates for building minimal Vagrant baseboxes for multiple platforms
Stars: ✭ 3,779 (+16330.43%)
Mutual labels:  centos, redhat, rhel
ansible-role-daemonize
Ansible Role - Daemonize.
Stars: ✭ 14 (-39.13%)
Mutual labels:  centos, redhat, rhel
ansible-kafka
Ansible role for installing and configuring Apache Kafka on RedHat and Debian platforms.
Stars: ✭ 56 (+143.48%)
Mutual labels:  centos, redhat, rhel
Fpm Within Docker
Leverage fpm inside pre-baked docker images in order to build and test native DEB and RPM packages.
Stars: ✭ 80 (+247.83%)
Mutual labels:  centos, rpm, rhel
nginx-conf
Nginx configuration
Stars: ✭ 18 (-21.74%)
Mutual labels:  centos, redhat, rhel
Docker Rpm Builder
Build native RPM packages for Centos/RHEL/Fedora from any Linux distro or even OSX, by leveraging docker capabilities.
Stars: ✭ 366 (+1491.3%)
Mutual labels:  centos, rpm, redhat
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (+1630.43%)
Mutual labels:  centos, redhat, rhel
Docker Centos7 Ansible
CentOS 7 Docker container for Ansible playbook and role testing.
Stars: ✭ 72 (+213.04%)
Mutual labels:  centos, redhat, rhel
Ansible Role Packer rhel
Ansible Role - Packer RHEL/CentOS Configuration for Vagrant VirtualBox
Stars: ✭ 45 (+95.65%)
Mutual labels:  centos, redhat, rhel
Ansible Role Repo Epel
Ansible Role - EPEL Repository for RHEL/CentOS
Stars: ✭ 149 (+547.83%)
Mutual labels:  centos, redhat, rhel
Serverfarmer
Manage multiple servers with different operating systems, configurations, requirements etc. for many separate customers in an outsourcing model.
Stars: ✭ 122 (+430.43%)
Mutual labels:  centos, redhat, rhel
Nodejs Rpm
node.js rpm spec
Stars: ✭ 199 (+765.22%)
Mutual labels:  centos, rpm, rhel
nginx-more
Development repository for nginx-more package
Stars: ✭ 96 (+317.39%)
Mutual labels:  centos, rpm
vps host server
VPS Hosting Server Daemon for provisioning, monitoring, and communications with the central system.
Stars: ✭ 12 (-47.83%)
Mutual labels:  virtualization, kvm
node-qemu-server
Free GUI / Frontend / Management tool for simple setup, configure and control virtual machines (qemu / kvm) within your HTML5 Webbrowser. Virtualization with Node.js / Currently under complete rewrite.
Stars: ✭ 41 (+78.26%)
Mutual labels:  virtualization, kvm
s2i-ruby-container
Ruby container images based on Red Hat Software Collections and intended for OpenShift and general usage, that provide a platform for building and running Ruby applications. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
Stars: ✭ 55 (+139.13%)
Mutual labels:  centos, rhel
copr-rpm-spec
My RPM specs on Copr
Stars: ✭ 17 (-26.09%)
Mutual labels:  centos, rpm
LinuxMirrors
Linux 一键更换国内软件源
Stars: ✭ 623 (+2608.7%)
Mutual labels:  centos, redhat
performance
Collection of documents related tunings for performance of Java low-latency trading systems: from hardware up to application level
Stars: ✭ 65 (+182.61%)
Mutual labels:  redhat, rhel

Ganeti RPM Packaging

Build Test

Ganeti RPM Packaging for RHEL/CentOS/Rocky Linux/others.

Packaging status

  • RHEL/CentOS/Rocky Linux/others 8.x: 3.0.2-1
  • RHEL/CentOS/others 7.x: 3.0.2-1

Documentation

YUM/DNF repository and binary RPM files

Building RPM Packages with Docker

You can build RPM packages in Docker.

# Rocky Linux 8
./build rockylinux:8

# CentOS 7
./build centos:7

Debug and manual mode:

# Rocky Linux 8
./build -d rockylinux:8

# CentOS 7
./build -d centos:7

# Setup
cd /pkg
./setup

# Build
./build-rpm ...

Usage: build

Run on host.

Usage:
    build [-d] BUILD_IMAGE_NAME:BUILD_IMAGE_TAG [BUILD_RPM_ARGS]

    Options:
        -d Debug mode

        BUILD_RPM_ARGS
            build-rpm options (default: -a -bi -o yes)

    Environment variables:
        BUILD_HOSTNAME: container host name

    Build for Rocky Linux 8:
        build rockylinux:8

    Build for CentOS 7:
        build centos:7

Usage: build-rpm

Run in a container.

Usage:
    build-rpm [-a|-d|-p] [-c|-C] [-b] [-s] [-i] [-u] [-o yes|no] [package...]

    Target Options:
        -a all packages (ganeti and its dependencies and integ-ganeti repo, snf-image)
        -d ganeti dependencies packages only
        -p the specified package(s) only. Available packages are:
            ganeti dependencies (el8 only):
                python-bitarray
            ganeti dependencies (el7 only):
                python-inotify
            ganeti:
                ganeti ganeti-instance-debootstrap
            snf-image:
                python-prctl snf-image
            integ-ganeti-repo:
                integ-ganeti-release

    Task Options:
        -c Clean clean the rpmbuild directory, but preserve downloaded archives
        -C Completely clean the rpmbuild directory

        -b Build packages
        -o Overwrite built package: yes|no (Default: manual)

        -s Sign built packages

        -i Install built packages
        -u Uninstall installed packages

        Task Execution Order:
            Uninstall -> Clean -> Build -> Sign -> Install

        If the build (-b) and install (-i) options are specified at the same time,
        the installation will be done immediately after the individual packages are built.
        This is to resolve dependencies needed to build the next package.

Run build command in the container

All packages + uninstall, clean, build, and install:

./build-rpm -a -ucbi

Ganeti dependencies packages + uninstall, clean, build, and install:

./build-rpm -d -ucbi

The specified package(s) + uninstall, clean, build, and install:

./build-rpm -p -ucbi PACKAGE

Build all packages with no overwrite and install:

./build-rpm -a -bi -o no

Build the new ganeti RPM package version using the already released dependency libraries and install:

# Rocky Linux 8
dnf install https://jfut.integ.jp/linux/ganeti/8/x86_64/integ-ganeti-release-8-1.el8.noarch.rpm
dnf config-manager --enable integ-ganeti
./build-rpm -p -bi ganeti

# CentOS 7
yum install http://jfut.integ.jp/linux/ganeti/7/x86_64/integ-ganeti-release-7-3.el7.noarch.rpm
yum-config-manager --enable integ-ganeti
./build-rpm -p -bi ganeti

Signing RPM Packages

Run the container with bash:

# Rocky Linux 8
BUILD_HOSTNAME=rockylinux-8.github.integ.jp
docker run -h "${BUILD_HOSTNAME}" --rm -it -v $PWD:/pkg -v ~/.gnupg.el8:/root/.gnupg rockylinux:8 bash

# CentOS 7
BUILD_HOSTNAME=centos-7.github.integ.jp
docker run -h "${BUILD_HOSTNAME}" --rm -it -v $PWD:/pkg -v ~/.gnupg.el7:/root/.gnupg centos:7 bash

# Setup
yum -y install findutils rpm-sign pinentry

# Set your gpg name
echo "%_gpg_name [email protected]" >> ~/.rpmmacros

Sign all packages:

cd /pkg
./build-rpm -a -s

Sign the specified package(s) only:

./build-rpm -p -s PACAKGE

Other Ganeti resources

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Release tag

e.g.:

git tag -a v3.0.2-1 -m "v3.0.2-1"
git push origin refs/tags/v3.0.2-1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].