RHCS Release Manager
Alteeve Wiki :: How To :: RHCS Release Manager |
These are notes, primarily for me, used in my RHCS release manager tasks.
Test Results
These tests are run by copying over the tarball created on the build machine (my laptop), untar'ing it and running ./configure && make.
Testing v3.1.8
Testing v3.1.8
Distro | Arch | Date tested (YYYY-MM-DD) |
Results | Notes |
---|---|---|---|---|
Fedora Rawhide | x86_64 | 2011-12-03 | Success | |
Fedora Rawhide | i386 | 2011-12-03 | Success | |
Fedora 16 | x86_64 | 2011-12-03 | Success | |
Fedora 16 | i386 | 2011-12-03 | Success | |
Fedora 15 | x86-64 | 2011-12-03 | Success | |
Fedora 15 | i386 | 2011-12-03 | Success | |
Ubuntu 11.10 | amd64 | 2011-12-03 | Success | |
Ubuntu 11.10 | i386 | 2011-12-03 | Success |
Cluster test
Test | Node 1 | Node 2 | Node 3 | Notes |
---|---|---|---|---|
Cluster Start |
Distro Testing
![]() |
Note: Always update the OS before running tests! |
Fedora 15, 16 and Rawhide
Packages to install;
yum -y groupinstall "Development Libraries" "Development Tools" "Fedora Packager"
yum -y install vim wget corosynclib-devel openaislib-devel
Debian 6
Debian 6 does not support RHEL's Cluster 3.1+ as it's included version of corosync is too old. No further compatibility testing will be run for this version of Debian.
Ubuntu 11.10
Packages to install;
apt-get update
apt-get -y dist-upgrade
apt-get -y install linux-headers-$(uname -r) libxml2-dev libcorosync-dev libldap2-dev zlib1g-dev libopenais-dev libdbus-1-dev \
libslang2-dev libncurses5-dev
Build Environment
This is how to setup a machine for building and releasing new version of RHCS. This requires a proper FAS account.
yum -y groupinstall "Development Libraries" "Development Tools" "Fedora Packager"
yum -y install vim wget gnupg
Build cluster.
git clone ssh://git.fedorahosted.org/git/cluster.git
cd cluster/
git branch stable31 --track origin/STABLE31
git checkout stable31
Change this to reflect the appropriate versions.
make -f make/release.mk version=3.1.8 oldversion=3.1.7
Pushing Changes to git
Initial Setup of git
Don't have notes, this is from bash's history. Sort this out later.
- Misc commands
man git-send-email git clone http://git.fedorahosted.org/git/cluster.git man git git branch http://git.fedorahosted.org/git/cluster.git man git git show-branch http://git.fedorahosted.org/git/cluster.git git clone http://git.fedorahosted.org/git/cluster.git git show-branch git branch </source>
Pushing To origin
Confirming the changes before committing.
git diff
diff --git a/configure b/configure
index 9c7a773..4e9bc2a 100755
--- a/configure
+++ b/configure
@@ -254,13 +254,14 @@ sub kernel_version {
}
close MAKEFILE;
# Warn and continue if kernel version was not found
- if (!$build_version || !$build_patchlevel || !$build_sublevel) {
+ if (not defined $build_version || not defined $build_patchlevel || not defined $build_sublevel) {
print " WARNING: Could not determine kernel version.\n";
print " Build might fail!\n";
return 1;
}
# checking VERSION, PATCHLEVEL and SUBLEVEL for the supplied kernel
- if ($build_version >= $version[0] &&
+ if (($build_version > $version[0]) ||
+ $build_version == $version[0] &&
$build_patchlevel >= $version[1] &&
$build_sublevel >= $version[2]) {
print " Current kernel version appears to be OK\n";
Pushing changes;
Commit locally with signature.
git commit -a -s
(open's editor)
[stable31 9be00f8] Changes the kernel version check to handle 3.x.y kernels. Now if the 'x' version of the running kernel is higher than the 'x' version of the minimum kernel, the test passes. Also changed the method of checking that version numbers were gathered so that a version number of '0' would be seen as valid.
Committer: Digital Mermaid <digimer@lework.alteeve.com>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 3 insertions(+), 2 deletions(-)
Check the current branch name.
git branch
master
* stable31
This shows that stable31 is active.
Now push up to the main git repo.
git push origin stable31:STABLE31
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 543 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/cluster.git
991bfb0..9be00f8 stable31 -> STABLE31
An email should have been automatically sent to the appropriate mailing lists.
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Alteeve Enterprise Support | Community Support | |
© 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |