gitlab: Enable puma's systemd notify support

(cherry picked from commit 3dd17ae22f17fb2f5f3bcf99437fe899d727beac)
This commit is contained in:
talyz
2021-08-28 16:03:12 +02:00
committed by Yuka
parent 2572e2550a
commit 698186588f
5 changed files with 16 additions and 2 deletions
@@ -135,6 +135,7 @@ def update_rubyenv():
f.write(repo.get_file('Gemfile.lock', rev))
with open(rubyenv_dir / 'Gemfile', 'w') as f:
original = repo.get_file('Gemfile', rev)
original += "\ngem 'sd_notify'\n"
f.write(re.sub(r".*mail-smtp_pool.*", "", original))
subprocess.check_output(['bundle', 'lock'], cwd=rubyenv_dir)