Skip to content

Instantly share code, notes, and snippets.

@jayunit100
Created February 11, 2016 14:48
Show Gist options
  • Save jayunit100/a0b5fcc3fda698c4eb7c to your computer and use it in GitHub Desktop.
Save jayunit100/a0b5fcc3fda698c4eb7c to your computer and use it in GitHub Desktop.
it clone https://github.com/openshift/ose
git clone https://github.com/kubernetes/kubernetes
cd ose
git checkout -b cherrypickin
git --git-dir=../kubernetes/.git format-patch -k -1 --stdout dc42d25f4a5648e96dd069ce674502dd4d2a7ddb | git am -3 -k
vi origin.spec # Append Release
git commit -am cherrypickin
sudo yum-builddep -y origin.spec
mkdir /var/www/html/pub/rosmith/rpm/ose/cherrypickin
tito build --rpm --test -o /var/www/html/pub/rosmith/rpm/ose/cherrypickin
createrepo /var/www/html/pub/rosmith/rpm/ose/cherrypickin
cat << EOF /etc/yum.repos.d/test-ose.repo
[ose-cherrypickin]
name=ose-cherrypickin
baseurl=http://perf1.perf.lab.eng.bos.redhat.com/pub/rosmith/rpm/ose/cherrypickin
enabled=1
sslverify=0
gpgcheck=0
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment