summaryrefslogtreecommitdiffstats
path: root/BUILD.md
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-03-24 14:57:28 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-03-24 14:57:28 -0400
commit38c621e71ba8fe5e351da184eaf16d589d948d93 (patch)
tree4a94cff42ab5aea52d3c7584b80ea0a2efd9a495 /BUILD.md
parent1c1df6a5733626865efc607d063f2a2a9b80499b (diff)
parent96729907e131f0cef6f37bcca062e9b092e67d29 (diff)
downloadopenshift-38c621e71ba8fe5e351da184eaf16d589d948d93.tar.gz
openshift-38c621e71ba8fe5e351da184eaf16d589d948d93.tar.bz2
openshift-38c621e71ba8fe5e351da184eaf16d589d948d93.tar.xz
openshift-38c621e71ba8fe5e351da184eaf16d589d948d93.zip
Merge pull request #122 from twiest/tito
Added tito build stuff
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
new file mode 100644
index 000000000..0016c96a5
--- /dev/null
+++ b/BUILD.md
@@ -0,0 +1,44 @@
+# openshift-ansible RPM Build instructions
+We use tito to make building and tracking revisions easy.
+
+For more information on tito, please see the [Tito home page](http://rm-rf.ca/tito "Tito home page").
+
+
+## Build openshift-ansible-bin
+- Change into openshift-ansible/bin
+```
+cd openshift-ansible/bin
+```
+- Build a test package (no tagging needed)
+```
+tito build --test --rpm
+```
+- Tag a new build (bumps version number and adds log entries)
+```
+tito tag
+```
+- Follow the on screen tito instructions to push the tags
+- Build a new package based on the latest tag information
+```
+tito build --rpm
+```
+
+
+## Build openshift-ansible-inventory
+- Change into openshift-ansible/inventory
+```
+cd openshift-ansible/inventory
+```
+- Build a test package (no tagging needed)
+```
+tito build --test --rpm
+```
+- Tag a new build (bumps version number and adds log entries)
+```
+tito tag
+```
+- Follow the on screen tito instructions to push the tags
+- Build a new package based on the latest tag information
+```
+tito build --rpm
+```