Skip to content

Commit 00810c6

Browse files
Merge pull request #186 from greg-hellings/issue182
Stop messing with the executors
2 parents bbe089c + df9ed9e commit 00810c6

File tree

9 files changed

+10
-39
lines changed

9 files changed

+10
-39
lines changed

CHANGELOG

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v 0.8.5 (10 Oct 2017)
2+
- Remove management of the executor setting on masters (GH #182)
3+
- Remove stale, unused repo key that began failing (GH #184)
4+
15
v 0.8.4 (25 Sep 2017)
26
- Bump to linchpin 1.0.4 and Ansible >= 2.3.2 because of syntax errors (GH #176)
37
- Capture errors from jenkins-cli.jar more robustly (GH #151)

cinch/group_vars/cent7

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ _repositories:
99
_download_repositories:
1010
- https://fedorapeople.org/~semyers/jenkins-rpm/jenkins1651.repo
1111

12-
rpm_key_imports:
13-
- key: http://pkg.jenkins-ci.org/redhat-stable/jenkins.io.key
14-
validate_certs: true
15-
1612
jenkins_slave_repositories: "{{ _repositories }}"
1713
jenkins_slave_download_repositories: "{{ _download_repositories }}"
1814

cinch/group_vars/rhel7

-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
gcc_compat_package: compat-gcc-44
22

3-
# It is important to import the RPM signing key for the Jenkins repository
4-
# if you plan to use that repository
5-
rpm_key_imports:
6-
- key: http://pkg.jenkins-ci.org/redhat-stable/jenkins.io.key
7-
validate_certs: true
8-
93
all_repositories:
104
latest:
115
name: rhel7-latest

cinch/roles/jenkins_master/defaults/main.yml

-2
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ firewall_tcp_ports:
245245
- "22/tcp"
246246
- "80/tcp"
247247
- "{{ https_enabled | ternary('443/tcp', omit) }}"
248-
# The number of build executors available on the Jenkins master
249-
jenkins_executors: 10
250248
# This setting affects how the update center downloads plugin metadata
251249
# http://javadoc.jenkins-ci.org/jenkins/model/DownloadSettings.html
252250
jenkins_usebrowser: false

cinch/roles/jenkins_master/tasks/post_configure.yml

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# These scripts are run in the order listed below, so please edit this list
1616
# using the desired execution order.
1717
with_items:
18-
- script: "{{ lookup('template', role_path + '/templates/set_executors.groovy') }}"
1918
- script: "{{ lookup('template', role_path + '/templates/set_usebrowser.groovy') }}"
2019
- script: "{{ lookup('template', role_path + '/templates/set_slaveport.groovy') }}"
2120
- script: "{{ lookup('template', role_path + '/templates/user.groovy') }}"

cinch/roles/jenkins_master/templates/set_executors.groovy

-24
This file was deleted.

cinch/roles/jenkins_slave/tasks/check_swarm_systemd.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
ignore_errors: true
44
changed_when: false
55
register: service_swarm_status
6+
tags:
7+
- skip_ansible_lint # systemctl module does not support "status"
68

79
# Some shell magic is required here to grab the log output from *only* the last
810
# run of the swarm service in systemd. To do this, we find the last PID that

cinch/roles/nginx/handlers/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# systemd: daemon_reload=yes can be used in Ansible 2.4
1+
# TODO: systemd: daemon_reload=yes can be used in Ansible 2.4
22
- name: reload systemd
33
command: systemctl daemon-reload
44
when: ansible_service_mgr == 'systemd'
5+
tags:
6+
- skip_ansible_lint
57

68
- name: restart nginx service
79
service:

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name='cinch',
12-
version='0.8.4',
12+
version='0.8.5',
1313
description='Cinch continuous integration setup',
1414
long_description=description,
1515
url='https://github.com/RedHatQE/cinch',

0 commit comments

Comments
 (0)