Add deployment instructions
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 30 May 2014 06:54:56 +0000 (09:54 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jun 2014 13:14:19 +0000 (16:14 +0300)
Change-Id: I404ea8f35b3604473c6955b08c58fb9309935684
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
DEPLOYMENT [new file with mode: 0644]
packaging/obs-service-git-buildpackage.spec

diff --git a/DEPLOYMENT b/DEPLOYMENT
new file mode 100644 (file)
index 0000000..2ad211c
--- /dev/null
@@ -0,0 +1,27 @@
+DEPLOYMENT INSTRUCTIONS OF OBS-SERVICE-GIT-BUILDPACKAGE
+========================================================
+
+Instructions for deployment from binary rpm packages.
+
+New installation
+----------------
+- Install the package
+  # zypper install obs-service-git-buildpackage
+- On server installation:
+  * Check the configuration file
+    # vim /etc/obs/services/git-buildpackage
+  * Make sure that the obs source service is installed and running:
+    # zypper install obs-source_service
+    # systemctl restart obsservice.service
+- On workstation installation you may edit the system-wide config(see above)
+  or use a user-specific config:
+  $ mkdir -p ~/.obs
+  $ cp /etc/obs/services/git-buildpackage ~/.obs
+  $ vim ~/.obs/git-buildpackage
+
+Update instructions
+-------------------
+- Update the package
+  # zypper update obs-service-git-buildpackage
+- On server installation, restart the obs source service
+  # systemctl restart obsservice.service
index 058735c3204aa19a8c3f3d3e21aa6a12e03819de..2da3cef22ba48a100895dcc825947f27eb96c8cf 100644 (file)
@@ -76,7 +76,7 @@ rm -rf %{buildroot}%{python_sitelib}/*info
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING
+%doc COPYING DEPLOYMENT
 %dir /usr/lib/obs
 %dir /usr/lib/obs/service
 /usr/lib/obs/service/*