]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: use "ceph-jenkins" as API user 200/head
authorKen Dreyer <kdreyer@redhat.com>
Mon, 2 Nov 2015 23:12:02 +0000 (16:12 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 3 Nov 2015 21:41:06 +0000 (14:41 -0700)
Jenkins authorizes this user account to add or remove slaves. In order
to have permission to add or remove slaves, we have to give this account
administrator rights to Jenkins.

Prior to this commit, we had a system user "prado" in Jenkins with
administrator rights.

Since we do not control this user account on GitHub.com, it is better to
use a GitHub.com user account that we control.

ansible/slave.yml.j2

index 3b230909b79f1a01c2690a5a88c4edfc81bd03be..2289fe5a5ab19b8acd962c64f6f69e7e64f0ee4e 100644 (file)
@@ -6,7 +6,7 @@
   vars:
    - jenkins_user: 'jenkins-build'
    # jenkins API credentials:
-   - api_user: 'prado'
+   - api_user: 'ceph-jenkins'
    - token: '${token}'
    - api_uri: 'https://jenkins.ceph.com'
    - nodename: '${nodename}'