9600749f4e
(cherry picked from commit
|
||
---|---|---|
.. | ||
Dockerfile | ||
README.md | ||
slave.py |
Gluon CI using Jenkins
Requirements
- Only a host with docker.
Architecture
Installation
You can support the gluon CI with your infrastructure:
- You need to query @lemoer (freifunk@irrelefant.net) for credentials.
- He will give you a
SLAVE_NAME
and aSLAVE_SECRET
for your host. - Then go to your docker host and substitute the values for
SLAVE_NAME
and aSLAVE_SECRET
in the following statements:
git clone https://github.com/freifunk-gluon/gluon/
cd gluon/contrib/ci/jenkins-community-slave/
docker build -t gluon-jenkins .
mkdir /var/cache/openwrt_dl_cache/
docker run --detach --restart always \
-e "SLAVE_NAME=whoareyou" \
-e "SLAVE_SECRET=changeme" \
-v /var/cache/openwrt_dl_cache/:/dl_cache
- Check whether the instance is running correctly:
- Your node should appear here.
- When clicking on it, Jenkins should state "Agent is connected." like here:
- Your docker container needs to be rebuilt, when the build dependencies of gluon change. So please be aware of that and update your docker container in that case.
Backoff
- If @lemoer is not reachable, please be patient at first if possible. Otherwise contact info@hannover.freifunk.net or join the channel
#freifunkh
on hackint.