From 1b2ce776fbbe79f776f628e4ce06def1d9d17c5c Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Wed, 4 Jul 2018 10:10:11 +0100 Subject: Specify titles for the govuk-guix related jobs --- app/jobs/govuk_guix/create_data_snapshot_job.rb | 4 ++++ app/jobs/govuk_guix/fetch_revision_job.rb | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'app') 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 -- cgit v1.2.3