Skip to content
Snippets Groups Projects
Commit 1b1a9081 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update readme

parent 2e69e9ab
No related branches found
No related tags found
No related merge requests found
# 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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment