From ed8026f6eb3c236c720d7582eefc1e1e5f8232cf Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 9 Mar 2023 12:43:28 +0900 Subject: [PATCH] Pin git to 1.14.0 Seems the latest release (1.17.2) breaks parsing in modulesync and causes the following traceback. /lib/modulesync/repository.rb:37:in `default_branch': undefined method `[]' for nil:NilClass (NoMethodError) Let's pin the package to workaround the problem until the issue is fixed. This makes the lint job non-voting until we merge [1], which requires this pinning. [1] https://review.opendev.org/876248 Change-Id: Ib6309ae8d13477eadcd4309d5be6bb7b170bfe4f --- .zuul.yaml | 8 ++++++++ Gemfile | 1 + 2 files changed, 9 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 89eaf8f..82a14d1 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,3 +1,11 @@ - project: templates: - puppet-openstack-library-jobs + check: + jobs: + - puppet-openstack-libraries-puppet-lint-ubuntu-jammy: + voting: false + gate: + jobs: + - puppet-openstack-libraries-puppet-lint-ubuntu-jammy: + voting: false diff --git a/Gemfile b/Gemfile index dc16cb6..1f313b2 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,6 @@ source 'https://rubygems.org' +gem 'git', '= 1.14.0' gem 'modulesync' gem 'json_pure'