Skip to content
Snippets Groups Projects
Unverified Commit be42724a authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

lister-gitlab: Update configuration

Related T1525
parent b293a1ed
No related branches found
No related tags found
No related merge requests found
......@@ -1943,6 +1943,7 @@ swh::deploy::worker::swh_lister_github::config:
- swh_lister_github_discover
- swh_lister_github_refresh
swh::deploy::worker::swh_lister_gitlab::config_file: "%{hiera('swh::conf_directory')}/lister_gitlab.yml"
swh::deploy::worker::swh_lister_gitlab::concurrency: 1
swh::deploy::worker::swh_lister_gitlab::loglevel: warning
# Contains a password: in private data
......@@ -1959,6 +1960,16 @@ swh::deploy::worker::swh_lister_gitlab::config:
args:
db: "postgresql://%{hiera('swh::deploy::worker::swh_lister_gitlab::db::user')}:%{hiera('swh::deploy::worker::swh_lister_gitlab::db::password')}@%{hiera('swh::deploy::worker::swh_lister_gitlab::db::host')}/%{hiera('swh::deploy::worker::swh_lister_gitlab::db::dbname')}"
# credentials in private data
celery:
task_broker: "%{alias('swh::deploy::scheduler::task_broker')}"
task_modules:
- swh.lister.gitlab.tasks
task_queues:
- swh.lister.gitlab.tasks.IncrementalGitLabLister
- swh.lister.gitlab.tasks.RangeGitLabLister
- swh.lister.gitlab.tasks.FullGitLabRelister
- swh_lister_gitlab_discover
- swh_lister_gitlab_refresh
swh::deploy::worker::swh_lister_pypi::concurrency: 1
swh::deploy::worker::swh_lister_pypi::loglevel: warning
......
......@@ -4,7 +4,7 @@ class profile::swh::deploy::worker::swh_lister_gitlab {
$loglevel = lookup('swh::deploy::worker::swh_lister_gitlab::loglevel')
$task_broker = lookup('swh::deploy::worker::swh_lister_gitlab::task_broker')
$config_file = '/etc/softwareheritage/lister-gitlab.yml'
$config_file = lookup('swh::deploy::worker::swh_lister_gitlab::config_file')
$config = lookup('swh::deploy::worker::swh_lister_gitlab::config', Hash, 'deep')
$task_modules = ['swh.lister.gitlab.tasks']
......@@ -12,7 +12,7 @@ class profile::swh::deploy::worker::swh_lister_gitlab {
include ::profile::swh::deploy::base_lister
::profile::swh::deploy::worker::instance {'swh_lister_gitlab':
::profile::swh::deploy::worker::instance {'lister_gitlab':
ensure => present,
concurrency => $concurrency,
loglevel => $loglevel,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment