peopledoc/ansible-role-jenkins-ghp

Name: ansible-role-jenkins-ghp

Owner: PeopleDoc

Description: :rocket: Deploy Jenkins GitHub poller

Created: 2016-07-07 14:53:39.0

Updated: 2018-03-15 17:05:53.0

Pushed: 2016-09-13 13:13:20.0

Homepage:

Size: 4

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

jenkins-ghp

Deploy jenkins-ghp.

Requirements

pip and systemd.

Warning :bangbang:

Installing GHP will breaks pip version 1.5! This is due to API break in requests. Please upgrade pip carefully before running this role. Use FGtatsuro.python-requirements to upgrade pip with ansible.

Role Variables
jenkins_ghp_envvars:
  GHP_REPOSITORIES: owner/repository1 owner/repository2
jenkins_ghp_username: jenkins
jenkins_ghp_workdir: /var/lib/jenkins/ghp
Dependencies

None :)

Example Playbook

You can deploy jenkins-ghp either on Jenkins master host or on a dedicated host.

- hosts: jenkins-master
  roles:
     - FGtatsuro.python-requirements
     - role: novafloss.jenkins-ghp
       jenkins_ghp_vars:
         GHP_JOBS_CREDENTIALS: github-clone-token
         GHP_REPOSITORIES: mycompany/repository1 mycompany/repository2
         GITHUB_TOKEN: deadc0ffee00deadbeef00..
         JENKINS_URL: https://jenkins.mycompany.com
License

BSD

Author Information

Étienne BERSAC @bersace, @PeopleDoc.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.