Ppchelko has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/387604 )
Change subject: [Config] Enable new storage on test wikis and labs ...................................................................... [Config] Enable new storage on test wikis and labs Change-Id: I2442ce672b80e3f60cdfa03955b6556610cb74b1 --- M scap/environments/beta/vars.yaml M scap/templates/config.yaml.j2 M scap/vars.yaml 3 files changed, 13 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/restbase/deploy refs/changes/04/387604/1 diff --git a/scap/environments/beta/vars.yaml b/scap/environments/beta/vars.yaml index d2f0cca..1f9d31c 100644 --- a/scap/environments/beta/vars.yaml +++ b/scap/environments/beta/vars.yaml @@ -5,6 +5,8 @@ storage_groups: [] storage_groups_ng: [] cassandra_default_consistency: localOne +new_storage_enabled_parsoid: + - '/.*/' domains: BetaCluster: aa.wikipedia.beta.wmflabs.org: default_project diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2 index a9ab336..f72c25d 100644 --- a/scap/templates/config.yaml.j2 +++ b/scap/templates/config.yaml.j2 @@ -98,6 +98,12 @@ domains: /./ parsoid: host: <%= parsoid_uri %> + grace_ttl: 86400 +<% if new_storage_enabled_parsoid is not none and new_storage_enabled_parsoid|length > 0 %>backends: + new:<% for item in new_storage_enabled_parsoid %> + - '<%= item %>' +<% endfor -%> +<% endif %> action: apiUriTemplate: <%= mwapi_uri %> baseUriTemplate: "{{'https://{domain}/api/rest_v1'}}" diff --git a/scap/vars.yaml b/scap/vars.yaml index f6c7d7d..422f924 100644 --- a/scap/vars.yaml +++ b/scap/vars.yaml @@ -33,6 +33,11 @@ aqs_uri: https://wikimedia.org/api/rest_v1/metrics new_storage_enabled: - '/.*/' +new_storage_enabled_parsoid: + - 'test.wikipedia.org' + - 'test2.wikipedia.org' + - 'test.wikidata.org' + - 'mediawiki.org' port: 7231 salt_key: '123456' page_size: 10 -- To view, visit https://gerrit.wikimedia.org/r/387604 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2442ce672b80e3f60cdfa03955b6556610cb74b1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/restbase/deploy Gerrit-Branch: master Gerrit-Owner: Ppchelko <ppche...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits