]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: update examples with patched python-jenkins 693/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 28 Apr 2017 14:37:25 +0000 (10:37 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 28 Apr 2017 14:41:17 +0000 (10:41 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/examples/slave.yml
ansible/examples/slave_libvirt.yml
ansible/examples/slave_static.yml

index 62c331a1f73ee50b312e31588db024e953a4e866..31cdf9ae87aa18ff4b2ef06223b04566dd6649e6 100644 (file)
 
     - name: install python-jenkins
       sudo: true
-      # https://bugs.launchpad.net/python-jenkins/+bug/1500898
-      pip: name=python-jenkins version=0.4.7
+      # HORRIBLY BROKEN. This is temporary until this lands upstream:
+      # https://github.com/ceph/python-jenkins/commit/8e018bf7d88dfc308833d195a6ebd29231a8969d
+      # https://review.openstack.org/460363
+      pip: name=git+https://github.com/ceph/python-jenkins@patched#egg=python-jenkins
 
     - name: add github.com host key
       sudo: true
index 0bd627d23b9627d3dfce3eea5f5bd434e0aa3ab3..479d7f4a5323bbef1b80a04b6327794f6524a4a6 100644 (file)
 
     - name: install python-jenkins
       sudo: true
-      # https://bugs.launchpad.net/python-jenkins/+bug/1500898
-      pip: name=python-jenkins version=0.4.7
+      # HORRIBLY BROKEN. This is temporary until this lands upstream:
+      # https://github.com/ceph/python-jenkins/commit/8e018bf7d88dfc308833d195a6ebd29231a8969d
+      # https://review.openstack.org/460363
+      pip: name=git+https://github.com/ceph/python-jenkins@patched#egg=python-jenkins
 
     - name: add github.com host key
       sudo: true
index 035ec49539a662ae0cb713113356b500fce3a523..2ee8a34ba31fb28df325ae22b324e37d66f3d0cd 100644 (file)
@@ -6,7 +6,7 @@
 - hosts: all
   sudo: yes
 # this will most likely need changed
-  user: admin 
+  user: admin
   gather_facts: false
   tasks:
     - name: install python-simplejson
@@ -17,7 +17,7 @@
 - hosts: all
   sudo: true
 # this will most likely need changed
-  user: admin 
+  user: admin
   vars:
    - jenkins_user: 'jenkins-build'
    # jenkins API credentials:
@@ -27,7 +27,7 @@
    # this is also set in the example/hosts-static file
    - nodename: '{{ ansible_hostname }}'
    - labels: '{{ labels }}'
-   - use_jnlp: true 
+   - use_jnlp: true
 
   tasks:
     - name: create a {{ jenkins_user }} user
 
     - name: install python-jenkins
       sudo: true
-      # https://bugs.launchpad.net/python-jenkins/+bug/1500898
-      pip: name=python-jenkins version=0.4.7
+      # HORRIBLY BROKEN. This is temporary until this lands upstream:
+      # https://github.com/ceph/python-jenkins/commit/8e018bf7d88dfc308833d195a6ebd29231a8969d
+      # https://review.openstack.org/460363
+      pip: name=git+https://github.com/ceph/python-jenkins@patched#egg=python-jenkins
 
     - name: add github.com host key
       sudo: true
         dest: "/home/{{ jenkins_user }}/slave.jar"
       when: use_jnlp
 
-    - name: install the systemd unit file for jenkins 
+    - name: install the systemd unit file for jenkins
       template:
         src: "templates/systemd/jenkins.service.j2"
         dest: "/etc/systemd/system/jenkins.service"