From 1b1a9081c0372f159236817654970ad4875163de Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Thu, 1 Apr 2021 10:52:46 +0200 Subject: [PATCH] update readme --- readme.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 143f533..52e2b00 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # CI Package Server -A sattelite system of the CI server to delivery built packages in other +A sattelite system of the CI server to deliver built packages in other networks. The file access is protected with a dynamic authorization to prevent public access. @@ -28,7 +28,7 @@ On Apache Webserver install xentfile module. i.e. on CentOS - yum install mod_xsendfile +`yum install mod_xsendfile` ### Configuration of vhost @@ -70,9 +70,29 @@ return array( ); ``` -## Installation on client +### Prepare receive of packages -On a target system you need a bash and curl. +* Create an deployment account package server that can be used to be connected + via SSH by the ci server +* add the public key of www-data of the ci server into + /home/deployment/.ssh/authorized keys +* Set permissions that the deployment user can write into + /var/www/cipkg.example.com/packages/ + and the user of the webeservice can read it + `chown deployment:apache /var/www/cipkg.example.com/packages/` and + `chmod 750 /var/www/cipkg.example.com/packages/` + +## Ci server: add a sync target + +TODO + +## Installation of a client + +This repo comes with a bash script. It is not a must to use it. The +communication is via https. Have a look to the source to see the creation +of the authorization string. It can be adapted in other clients too. + +On a target system with your application you need a bash shell and curl. Copy the files from [approot]/shellscripts/ somewhere in a project related directory. -- GitLab