From 26dc8a3222b4d660a62677e8c9171682c0943fea Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 16 Dec 2019 13:30:36 +0000 Subject: [PATCH] feat(gemfile): restrict `train` gem version until upstream fix * Latest versions of `train` cause failure when running `kitchen verify` * Downgrading to `3.2.0` until this is fixed upstream * https://github.com/inspec/train/pull/544#issuecomment-566055052 --- Gemfile | 4 ++++ ssf/defaults.yaml | 4 ++-- ssf/files/default/Gemfile | 4 ++++ ssf/files/tofs_openvpn-formula/Gemfile | 5 ++++- ssf/files/tofs_vault-formula/Gemfile | 4 ++++ 5 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 5a232b61..8da7a69a 100644 --- a/Gemfile +++ b/Gemfile @@ -5,3 +5,7 @@ source 'https://rubygems.org' gem 'kitchen-docker', '>= 2.9' gem 'kitchen-inspec', '>= 1.1' gem 'kitchen-salt', '>= 0.6.0' +# Latest versions of `train` cause failure when running `kitchen verify` +# Downgrading to `3.2.0` until this is fixed upstream +# https://github.com/inspec/train/pull/544#issuecomment-566055052 +gem 'train', '3.2.0' diff --git a/ssf/defaults.yaml b/ssf/defaults.yaml index 8d682b3f..e8606b0c 100644 --- a/ssf/defaults.yaml +++ b/ssf/defaults.yaml @@ -22,8 +22,8 @@ ssf_node_anchors: # An alternative method could be to use: # `git describe --abbrev=0 --tags` # yamllint disable rule:line-length - title: 'feat(semantic-release): implement for this formula' - body: '* Automated using https://github.com/myii/ssf-formula/pull/109' + title: 'ci(gemfile): restrict `train` gem version until upstream fix [skip ci]' + body: '* Automated using https://github.com/myii/ssf-formula/pull/110' # yamllint enable rule:line-length github: owner: 'saltstack-formulas' diff --git a/ssf/files/default/Gemfile b/ssf/files/default/Gemfile index 5a232b61..8da7a69a 100644 --- a/ssf/files/default/Gemfile +++ b/ssf/files/default/Gemfile @@ -5,3 +5,7 @@ source 'https://rubygems.org' gem 'kitchen-docker', '>= 2.9' gem 'kitchen-inspec', '>= 1.1' gem 'kitchen-salt', '>= 0.6.0' +# Latest versions of `train` cause failure when running `kitchen verify` +# Downgrading to `3.2.0` until this is fixed upstream +# https://github.com/inspec/train/pull/544#issuecomment-566055052 +gem 'train', '3.2.0' diff --git a/ssf/files/tofs_openvpn-formula/Gemfile b/ssf/files/tofs_openvpn-formula/Gemfile index b609bb1d..1910cb1a 100644 --- a/ssf/files/tofs_openvpn-formula/Gemfile +++ b/ssf/files/tofs_openvpn-formula/Gemfile @@ -2,11 +2,14 @@ source 'https://rubygems.org' -gem 'inspec' gem 'kitchen-docker', '>= 2.9' gem 'kitchen-inspec', '>= 1.1' gem 'kitchen-salt', '>= 0.6.0' gem 'rspec-retry' +# Latest versions of `train` cause failure when running `kitchen verify` +# Downgrading to `3.2.0` until this is fixed upstream +# https://github.com/inspec/train/pull/544#issuecomment-566055052 +gem 'train', '3.2.0' group :vagrant do gem 'kitchen-vagrant' diff --git a/ssf/files/tofs_vault-formula/Gemfile b/ssf/files/tofs_vault-formula/Gemfile index f2c41f6d..b44a38f4 100644 --- a/ssf/files/tofs_vault-formula/Gemfile +++ b/ssf/files/tofs_vault-formula/Gemfile @@ -6,3 +6,7 @@ gem 'inspec', '~> 4.16.0' gem 'kitchen-docker', '>= 2.9' gem 'kitchen-inspec', '>= 1.1' gem 'kitchen-salt', '>= 0.6.0' +# Latest versions of `train` cause failure when running `kitchen verify` +# Downgrading to `3.2.0` until this is fixed upstream +# https://github.com/inspec/train/pull/544#issuecomment-566055052 +gem 'train', '3.2.0'