Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
534290f2
Commit
534290f2
authored
Apr 19, 2018
by
Stuart Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert splunk config work
parent
2bbeb5f3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
82 deletions
+0
-82
playbooks/roles/jenkins_build/defaults/main.yml
+0
-29
playbooks/roles/jenkins_build/files/splunk.groovy
+0
-6
playbooks/roles/jenkins_build/meta/main.yml
+0
-5
playbooks/roles/jenkins_common/defaults/main.yml
+0
-21
playbooks/roles/jenkins_common/templates/config/splunk_config.yml.j2
+0
-21
No files found.
playbooks/roles/jenkins_build/defaults/main.yml
View file @
534290f2
...
...
@@ -18,7 +18,6 @@ build_jenkins_configuration_scripts:
-
4configureJobConfigHistory.groovy
-
4configureMailerPlugin.groovy
-
4configureMaskPasswords.groovy
-
4configureSplunk.groovy
-
5createLoggers.groovy
# plugins
...
...
@@ -191,9 +190,6 @@ build_jenkins_plugins_list:
-
name
:
'
shiningpanda'
version
:
'
0.21'
group
:
'
org.jenkins-ci.plugins'
-
name
:
'
splunk-devops'
version
:
'
1.6.4'
group
:
'
com.splunk.splunkins'
-
name
:
'
ssh-agent'
version
:
'
1.14'
group
:
'
org.jenkins-ci.plugins'
...
...
@@ -283,28 +279,3 @@ build_jenkins_log_list:
# job config history
build_jenkins_history_max_days
:
'
15'
build_jenkins_history_exclude_pattern
:
'
queue|nodeMonitors|UpdateCenter|global-build-stats|GhprbTrigger'
# splunk
build_jenkins_splunk_master_hostname
:
'
build.testeng.edx.org'
build_jenkins_splunk_ignored_jobs
:
'
(^((?!edx-(platform|e2e)).)*$)|.*private.*'
build_jenkins_splunk_script_type
:
'
inline'
build_jenkins_splunk_script_path
:
'
files/splunk.groovy'
build_jenkins_splunk_metadata
:
-
metadata.data_source
:
'
Default'
metadata.config_item
:
'
Source
Type'
metadata.value
:
'
json:jenkins:old'
-
metadata.data_source
:
'
Build
Report'
metadata.config_item
:
'
Source
Type'
metadata.value
:
'
build_report'
-
metadata.data_source
:
'
Build
Event'
metadata.config_item
:
'
Source
Type'
metadata.value
:
'
build_event'
-
metadata.data_source
:
'
Console
Log'
metadata.config_item
:
'
Source
Type'
metadata.value
:
'
console_log'
-
metadata.data_source
:
'
Queue
Information'
metadata.config_item
:
'
Source
Type'
metadata.value
:
'
queue_information'
-
metadata.data_source
:
'
Slave
Information'
metadata.config_item
:
'
Source
Type'
metadata.value
:
'
slave_information'
playbooks/roles/jenkins_build/files/splunk.groovy
deleted
100644 → 0
View file @
2bbeb5f3
//send job metadata and junit reports with page size set to 50 (each event contains max 50 test cases)
splunkins
.
sendTestReport
(
50
)
// Send paver timing logs to Splunk
splunkins
.
archive
(
"**/timing*.log"
,
null
,
false
,
"10MB"
)
playbooks/roles/jenkins_build/meta/main.yml
View file @
534290f2
...
...
@@ -22,8 +22,3 @@ dependencies:
jenkins_common_history_max_days
:
'
{{
build_jenkins_history_max_days
}}'
jenkins_common_history_exclude_pattern
:
'
{{
build_jenkins_history_exclude_pattern
}}'
jenkins_common_server_name
:
'
{{
JENKINS_SERVER_NAME
}}'
jenkins_common_splunk_ignored_jobs
:
'
{{
build_jenkins_splunk_ignored_jobs
}}'
jenkins_common_splunk_script_type
:
'
{{
build_jenkins_splunk_script_type
}}'
jenkins_common_splunk_script_path
:
'
{{
build_jenkins_splunk_script_path
}}'
jenkins_commmon_splunk_metadata
:
'
{{
build_jenkins_splunk_metadata
}}'
jenkins_common_splunk_master_hostname
:
'
{{
build_jenkins_splunk_master_hostname
}}'
playbooks/roles/jenkins_common/defaults/main.yml
View file @
534290f2
...
...
@@ -39,7 +39,6 @@ jenkins_common_non_plugin_template_files:
-
properties_config
-
security
-
seed_config
-
splunk_config
# Jenkins default config values
jenkins_common_jvm_args
:
'
'
...
...
@@ -184,23 +183,3 @@ JENKINS_MAILER_SMTP_AUTH_PASSWORD: ''
# mask passwords
JENKINS_MASK_PASSWORDS_CLASSES
:
[]
JENKINS_MASK_PASSWORDS_PAIRS
:
[]
# splunk
jenkins_common_splunk_enabled
:
true
jenkins_common_splunk_use_ssl
:
true
jenkins_common_splunk_raw_events_enabled
:
true
jenkins_common_splunk_batch_size
:
4096
jenkins_common_splunk_retries
:
3
jenkins_common_splunk_ignored_jobs
:
'
'
jenkins_common_splunk_master_hostname
:
'
'
jenkins_common_splunk_event_source
:
'
'
jenkins_common_splunk_script_type
:
'
path'
jenkins_common_splunk_script_path
:
'
'
jenkins_commmon_splunk_metadata
:
-
metadata.data_source
:
'
Default'
metadata.config_item
:
'
Source
Type'
metadata.value
:
'
json:jenkins:old'
JENKINS_SPLUNK_HOSTNAME
:
'
'
JENKINS_SPLUNK_PORT
:
8088
JENKINS_SPLUNK_APP_URL
:
'
'
JENKINS_SPLUNK_TOKEN
:
'
'
playbooks/roles/jenkins_common/templates/config/splunk_config.yml.j2
deleted
100644 → 0
View file @
2bbeb5f3
---
SPLUNK_APP_ENABLED: {{ jenkins_common_splunk_enabled }}
SPLUNK_HOSTNAME: '{{ JENKINS_SPLUNK_HOSTNAME }}'
SPLUNK_HOST_PORT: {{ JENKINS_SPLUNK_PORT }}
USE_SSL: {{ jenkins_common_splunk_use_ssl }}
SPLUNK_TOKEN: '{{ JENKINS_SPLUNK_TOKEN }}'
RAW_EVENTS_ENABLED: {{ jenkins_common_splunk_raw_events_enabled }}
MAX_EVENT_BATCH_SIZE: {{ jenkins_common_splunk_batch_size }}
SPLUNK_APP_URL: '{{ JENKINS_SPLUNK_APP_URL }}'
RETRIES_ON_ERROR: {{ jenkins_common_splunk_retries }}
IGNORED_JOBS_PATTERN: {{ jenkins_common_splunk_ignored_jobs }}
MASTER_HOSTNAME: '{{ jenkins_common_splunk_master_hostname }}'
EVENT_SOURCE: '{{ jenkins_common_event_source }}'
SCRIPT_TYPE: '{{ jenkins_common_splunk_script_type }}'
SCRIPT_PATH: '{{ jenkins_common_splunk_script_path }}'
METADATA:
{% for metadata in jenkins_common_splunk_metadata %}
- DATA_SOURCE: '{{ metadata.data_source }}'
CONFIG_ITEM: '{{ metadata.config_item }}'
VALUE: '{{ metadata.value }}'
{% endfor %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment