From 53341fafbede0ea3a1dfe0f53659b8f00aa3f723 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 1 Jul 2018 08:59:41 +0100 Subject: Change the default services for data snapshots Just exclude release and signon, rather than only including content-tagger and contacts-admin. --- app/jobs/govuk_guix/create_data_snapshot_job.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/jobs/govuk_guix/create_data_snapshot_job.rb b/app/jobs/govuk_guix/create_data_snapshot_job.rb index d6345a0..cc90936 100644 --- a/app/jobs/govuk_guix/create_data_snapshot_job.rb +++ b/app/jobs/govuk_guix/create_data_snapshot_job.rb @@ -68,8 +68,13 @@ class GovukGuix::CreateDataSnapshotJob < Que::Job "#{revision.store_path}/bin/govuk", 'data', 'build-snapshot', - # TODO: Just use a couple of small databases for initial testing - *%w(content-tagger contacts-admin), + *hash_to_arguments( + exclude_service: [ + 'release', # As the data in this app isn't useful in the + # mini environment + 'signon' # As the configuration is handled by govuk-guix + ] + ), run_remotely_on_host: remote_host ) -- cgit v1.2.3