From dbcdc8444f1ce110ec030a2e778f878a73f74e16 Mon Sep 17 00:00:00 2001 From: Axel von Bertoldi Date: Thu, 28 Sep 2023 11:33:24 -0600 Subject: [PATCH] Bump fpm version Version 1.10.2 of fpm has the following bug, which prevents it from building debs: https://github.com/jordansissel/fpm/issues/1739 for example https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/5089983316#L169 Bumping the version to the latest fixes this. --- magefiles/package.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/magefiles/package.go b/magefiles/package.go index adf7b31c1..a03a4de69 100644 --- a/magefiles/package.go +++ b/magefiles/package.go @@ -11,6 +11,7 @@ import ( "github.com/magefile/mage/mg" "github.com/magefile/mage/sh" "github.com/samber/lo" + "gitlab.com/gitlab-org/gitlab-runner/magefiles/constants" "gitlab.com/gitlab-org/gitlab-runner/magefiles/packages" ) @@ -143,7 +144,7 @@ func (p Package) {{ .Name }}() error { // Deps makes sure the packages needed to build rpm and deb packages are available on the system func (p Package) Deps() error { if err := sh.Run("fpm", "--help"); err != nil { - return sh.RunV("gem", "install", "rake", "fpm:1.10.2", "--no-document") + return sh.RunV("gem", "install", "rake", "fpm:1.15.1", "--no-document") } return nil