Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changeprop151: make local jobrunner #3820

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 32 additions & 1 deletion hieradata/hosts/changeprop151.yaml
@@ -1,5 +1,5 @@
changeprop::jobqueue: true
changeprop::jobrunner_host: 'http://10.0.17.144:9006'
changeprop::jobrunner_host: 'http://localhost:9006'
changeprop::import_host: 'http://10.0.18.106:9006'
changeprop::videoscaler_host: 'http://10.0.18.106:9006'
changeprop::num_workers: 12
Expand Down Expand Up @@ -101,6 +101,37 @@ changeprop::videoscaler_jobs_config:
concurrency: 3
timeout: 86400

mediawiki::use_cpjobqueue: true

role::mediawiki::use_strict_firewall: true

mediawiki::php::fpm::fpm_min_child: 8
mediawiki::php::fpm::fpm_workers_multiplier: 1.5
mediawiki::php::request_timeout: 86400
mediawiki::php::apc_shm_size: 4096M
mediawiki::php::fpm_config:
post_max_size: '250M'
upload_max_filesize: '250M'
opcache.interned_strings_buffer: 96
opcache.memory_consumption: 1024
max_execution_time: 1200

mediawiki::php::increase_open_files: true
mediawiki::php::memory_limit: '1G'

php::php_version: '8.2'

base::syslog::rsyslog_udp_localhost: true

# NGINX
nginx::keepalive_timeout: 2
nginx::keepalive_requests: 150
nginx::logrotate_number: 2
nginx::use_graylog: true
nginx::remove_apache: false

httpd::remove_default_ports: true

prometheus::exporter::statsd_exporter::use_defaults: false
role::prometheus::statsd_exporter::mappings:
- match: '*.gc.*'
Expand Down
1 change: 1 addition & 0 deletions manifests/site.pp
Expand Up @@ -13,6 +13,7 @@
node 'changeprop151.wikitide.net' {
include base
include role::changeprop
include role::mediawiki
include role::redis
}

Expand Down
1 change: 1 addition & 0 deletions modules/mediawiki/files/bin/mwdeploy.py
Expand Up @@ -50,6 +50,7 @@ class EnvironmentList(TypedDict):
'mw172',
'mw181',
'mw182',
'changeprop151',
'mwtask171',
'mwtask181',
],
Expand Down