diff options
author | Christopher Baines <mail@cbaines.net> | 2018-07-04 10:10:11 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-07-04 10:10:11 +0100 |
commit | 1b2ce776fbbe79f776f628e4ce06def1d9d17c5c (patch) | |
tree | 312d8c3f0750510a9986c2d09f2f067ebd6d6048 | |
parent | 4f0dd9a5f36b2f5f36003c25daae4859b1275781 (diff) | |
download | govuk-mini-environment-admin-1b2ce776fbbe79f776f628e4ce06def1d9d17c5c.tar govuk-mini-environment-admin-1b2ce776fbbe79f776f628e4ce06def1d9d17c5c.tar.gz |
Specify titles for the govuk-guix related jobs
-rw-r--r-- | app/jobs/govuk_guix/create_data_snapshot_job.rb | 4 | ||||
-rw-r--r-- | app/jobs/govuk_guix/fetch_revision_job.rb | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/jobs/govuk_guix/create_data_snapshot_job.rb b/app/jobs/govuk_guix/create_data_snapshot_job.rb index 4768b24..cadaa96 100644 --- a/app/jobs/govuk_guix/create_data_snapshot_job.rb +++ b/app/jobs/govuk_guix/create_data_snapshot_job.rb @@ -89,4 +89,8 @@ class GovukGuix::CreateDataSnapshotJob < Que::Job GovukGuix::DataSnapshot.create!(data_snapshot_fields) end + + def self.job_title(_que_job) + 'Create Data Snapshot' + end end diff --git a/app/jobs/govuk_guix/fetch_revision_job.rb b/app/jobs/govuk_guix/fetch_revision_job.rb index afbff71..6bec146 100644 --- a/app/jobs/govuk_guix/fetch_revision_job.rb +++ b/app/jobs/govuk_guix/fetch_revision_job.rb @@ -133,4 +133,8 @@ class GovukGuix::FetchRevisionJob < Que::Job 'https://github.com/alphagov/govuk-guix.git' ) end + + def self.job_title(_que_job) + 'Fetch govuk-guix Revision' + end end |