From: Markus Lehtonen Date: Fri, 30 May 2014 06:54:56 +0000 (+0300) Subject: Add deployment instructions X-Git-Tag: submit/devel/20190730.075437~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e4119538dc064e67b70c7e340abe01216b4a1bf;p=services%2Fobs-service-git-buildpackage.git Add deployment instructions Change-Id: I404ea8f35b3604473c6955b08c58fb9309935684 Signed-off-by: Markus Lehtonen --- diff --git a/DEPLOYMENT b/DEPLOYMENT new file mode 100644 index 0000000..2ad211c --- /dev/null +++ b/DEPLOYMENT @@ -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 diff --git a/packaging/obs-service-git-buildpackage.spec b/packaging/obs-service-git-buildpackage.spec index 058735c..2da3cef 100644 --- a/packaging/obs-service-git-buildpackage.spec +++ b/packaging/obs-service-git-buildpackage.spec @@ -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/*