diff options
author | Christopher Baines <mail@cbaines.net> | 2018-07-01 08:59:41 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-07-01 08:59:41 +0100 |
commit | 53341fafbede0ea3a1dfe0f53659b8f00aa3f723 (patch) | |
tree | f136cd09d8c8469e2a44cd6b2a9127991521db6c /app | |
parent | 33572bb8ec8990b148aba7bbf23732c8f19bc21c (diff) | |
download | govuk-mini-environment-admin-53341fafbede0ea3a1dfe0f53659b8f00aa3f723.tar govuk-mini-environment-admin-53341fafbede0ea3a1dfe0f53659b8f00aa3f723.tar.gz |
Change the default services for data snapshots
Just exclude release and signon, rather than only including
content-tagger and contacts-admin.
Diffstat (limited to 'app')
-rw-r--r-- | app/jobs/govuk_guix/create_data_snapshot_job.rb | 9 |
1 files 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 ) |