aboutsummaryrefslogtreecommitdiff
path: root/app/jobs
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-04 10:10:11 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-04 10:10:11 +0100
commit1b2ce776fbbe79f776f628e4ce06def1d9d17c5c (patch)
tree312d8c3f0750510a9986c2d09f2f067ebd6d6048 /app/jobs
parent4f0dd9a5f36b2f5f36003c25daae4859b1275781 (diff)
downloadgovuk-mini-environment-admin-1b2ce776fbbe79f776f628e4ce06def1d9d17c5c.tar
govuk-mini-environment-admin-1b2ce776fbbe79f776f628e4ce06def1d9d17c5c.tar.gz
Specify titles for the govuk-guix related jobs
Diffstat (limited to 'app/jobs')
-rw-r--r--app/jobs/govuk_guix/create_data_snapshot_job.rb4
-rw-r--r--app/jobs/govuk_guix/fetch_revision_job.rb4
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