diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-01 18:29:47 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-01 18:47:09 +0100 |
commit | bd095418b1a0ee8c667a54d4f6dfb7d9c86f66b6 (patch) | |
tree | 3748480df251f71e455d726e8625e389a768f887 | |
parent | 086af5438ed7827cb6e1b2167cfae5c1e3a309b2 (diff) | |
download | govuk-mini-environment-admin-bd095418b1a0ee8c667a54d4f6dfb7d9c86f66b6.tar govuk-mini-environment-admin-bd095418b1a0ee8c667a54d4f6dfb7d9c86f66b6.tar.gz |
Add a rake task to enqueue the creation of data snapshots
-rw-r--r-- | lib/tasks/data_snapshots.rake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tasks/data_snapshots.rake b/lib/tasks/data_snapshots.rake new file mode 100644 index 0000000..cdc6699 --- /dev/null +++ b/lib/tasks/data_snapshots.rake @@ -0,0 +1,8 @@ +namespace :data_snapshots do + namespace :terraform_libvirt do + desc 'Create a new data snapshot for a libvirt backend' + task create: :environment do + GovukGuix::CreateDataSnapshotJob.enqueue + end + end +end |