Skip to content

Continuous integration infrastructure for collectd

License

Notifications You must be signed in to change notification settings

vr/collectd-ci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Continuous Integration for Collectd

The goal is to automate building and testing changes to collectd's git repository.

Using

Integration with Linux distros

Packages are built and pushed to a repository within a couple of hours each time new commits are added to the following branches:

  • "master" (feature branch which will become the next point release)
  • "collectd-5.5" (release branch including only bugfixes)
  • "collectd-5.4" (release branch including only bugfixes)

The status of these builds can be tracked in Jenkins.

The package and repository signing key can be double-checked on Github and on PGP keyservers.

RHEL/CentOS

Add the following to /etc/yum.repos.d/collectd-ci.repo:

[collectd-ci]
name=collectd CI
baseurl=http://pkg.ci.collectd.org/rpm/<branch>/epel-<rel>-$basearch
enabled=1
gpgkey=http://pkg.ci.collectd.org/pubkey.asc
gpgcheck=1
repo_gpgcheck=1

Replace <branch> with one of the branches mentioned above. Replace <rel> with one of:

  • 5
  • 6
  • 7

Both i386 and x86_64 architecture are supported, except for EL7 (no i386).

Debian/Ubuntu-LTS

Import the repository signing key:

curl http://pkg.ci.collectd.org/pubkey.asc | apt-key add -

Then add the following to /etc/apt/sources.list.d/collectd-ci.list.

deb http://pkg.ci.collectd.org/deb/ <codename> <branch>

Replace <branch> with one of the branches mentioned above. Replace <codename> with one of:

  • precise
  • trusty
  • squeeze
  • wheezy
  • jessie

Only i386 and amd64 architectures are supported.

Github Pull Requests

Each pull-request is merged into the master branch, and then built on a range of platforms.

The default compiler on each platform will be used, and where relevant, with the build options used when building packages for this platform. The support libraries used are those found by default on each platform.

The status of these builds is visible on collectd's pull requests page.

Master and release branches

Each time a new patch is pushed to the master or release branches, it runs through various checks, which currently include:

  • checking for merge-conflicts with the release branches
  • ensuring the build system is able to able to make a release
  • building the code on various platforms (mostly the same checks as for pull-requests)
  • generating static-analysis report(s)

The status of these builds can be tracked in Jenkins.

Contributing

Feedback, suggestions and improvements are very welcome. Please use this project's issues, the collectd mailing-list or the #collectd IRC channel.

Please report issues using collectd to the main collectd repository.

Feel free to browse through this repo. The build scripts are located in ansible/roles/buildenv/files/ and the job descriptions are in ansible/roles/jenkins/files/jobs. A Vagrantfile is provided to help getting a local Jenkins instance running.

Thanks!

Exoscale is offering the compute resources for running the main CI infrastructure. DigitalOcean is offering on-demand virtual machines for the build jobs. Thanks a lot!

About

Continuous integration infrastructure for collectd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 67.7%
  • Shell 25.3%
  • Python 7.0%