From 21fdf1f2070949efdc26bc88031380ecac9b8b5a Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 7 Feb 2020 12:41:28 +0000 Subject: [PATCH] feat(gemfile): update for formulas with Vagrant testing --- ssf/defaults.yaml | 4 ++-- ssf/files/tofs_openssh-formula/Gemfile | 16 ++++++++++++++++ ssf/files/tofs_postgres-formula/Gemfile | 16 ++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 ssf/files/tofs_openssh-formula/Gemfile create mode 100644 ssf/files/tofs_postgres-formula/Gemfile diff --git a/ssf/defaults.yaml b/ssf/defaults.yaml index ee42bee9..3b0358f4 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 rule:quoted-strings - title: "ci(kitchen): avoid using bootstrap for '`'master'`' instances" - body: '* Automated using https://github.com/myii/ssf-formula/pull/124' + title: "ci(gemfile): update for Vagrant testing [skip ci]" + body: '* Automated using https://github.com/myii/ssf-formula/pull/125' # yamllint enable rule:line-length rule:quoted-strings github: owner: 'saltstack-formulas' diff --git a/ssf/files/tofs_openssh-formula/Gemfile b/ssf/files/tofs_openssh-formula/Gemfile new file mode 100644 index 00000000..1910cb1a --- /dev/null +++ b/ssf/files/tofs_openssh-formula/Gemfile @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +source 'https://rubygems.org' + +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' +end diff --git a/ssf/files/tofs_postgres-formula/Gemfile b/ssf/files/tofs_postgres-formula/Gemfile new file mode 100644 index 00000000..1910cb1a --- /dev/null +++ b/ssf/files/tofs_postgres-formula/Gemfile @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +source 'https://rubygems.org' + +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' +end