diff --git a/readme.md b/readme.md index 143f5331ef480872ab72a4492d0c7981c7aae20a..52e2b00b7bba5a172ba6ade3f8f781b071734c99 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.