Unverified Commit f16b9a1a authored by Alyssa Ross's avatar Alyssa Ross Committed by Yureka
Browse files

gitlab: Make pipeline status in email subject clearer to Kookie

Kookie finds it hard to differentiate the subject lines of GitLab emails,
and so can't easily tell whether the build has started working again,
or if it's just been broken, so I volunteered to make it easier.
parent 66c113f6
Pipeline #2415 passed with stages
in 5 seconds
From 8c5e6d238e9dd1ac12c4539e9beb8330525c228e Mon Sep 17 00:00:00 2001
From: Alyssa Ross <hi@alyssa.is>
Date: Fri, 16 Apr 2021 11:47:28 +0000
Subject: [PATCH] Make pipeline status in email subject clearer to Kookie
---
app/mailers/emails/pipelines.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/mailers/emails/pipelines.rb b/app/mailers/emails/pipelines.rb
index fb1f70723fd..02b3ff29c96 100644
--- a/app/mailers/emails/pipelines.rb
+++ b/app/mailers/emails/pipelines.rb
@@ -3,15 +3,15 @@
module Emails
module Pipelines
def pipeline_success_email(pipeline, recipients)
- pipeline_mail(pipeline, recipients, 'Successful')
+ pipeline_mail(pipeline, recipients, '🥳 Successful')
end
def pipeline_failed_email(pipeline, recipients)
- pipeline_mail(pipeline, recipients, 'Failed')
+ pipeline_mail(pipeline, recipients, '🔥️ Failed')
end
def pipeline_fixed_email(pipeline, recipients)
- pipeline_mail(pipeline, recipients, 'Fixed')
+ pipeline_mail(pipeline, recipients, '🥳 Fixed')
end
private
--
2.31.0
{ config, ... }:
{ config, pkgs, ... }:
{
secrets."gitlab/initial-root-password".owner = "gitlab";
......@@ -33,6 +33,12 @@
port = 443;
https = true;
packages.gitlab = pkgs.gitlab.overrideAttrs ({ patches ? [], ... }: {
patches = patches ++ [
./Make-pipeline-status-in-email-subject-clearer-to-Kookie.patch
];
});
initialRootPasswordFile = config.secrets."gitlab/initial-root-password".path;
secrets = {
secretFile = config.secrets."gitlab/secret".path;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment