Bladeren bron

Update Gemfile and Makefile configuration

- One Gemfile for all formulas tests
  - Update Makefile for OpenStack tests

Fixes: PROD-24408 (PROD:24408)
Change-Id: I747ffe1bfff4221244894173f16a3bda0aeaa9d5
pull/78/merge
Martin Polreich 6 jaren geleden
bovenliggende
commit
3e311ef980
2 gewijzigde bestanden met toevoegingen van 7 en 9 verwijderingen
  1. +3
    -9
      .travis.yml
  2. +4
    -0
      Makefile

+ 3
- 9
.travis.yml Bestand weergeven

@@ -9,15 +9,9 @@ install:
- pip install PyYAML
- pip install virtualenv
- |
test -e Gemfile || cat <<EOF > Gemfile
source 'https://rubygems.org'
gem 'rake'
gem 'test-kitchen'
gem 'kitchen-docker'
gem 'kitchen-inspec'
gem 'inspec', '<3.0.0'
#Version was frozen, because of issues in the version of inspec >3.0.0 -- see https://mirantis.jira.com/browse/PROD-24324 for more info, '<3.0.0'
gem 'kitchen-salt' #, :git => 'https://github.com/salt-formulas/kitchen-salt.git'
if [ ! -e Gemfile ]; then
curl -s -o ./Gemfile 'https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas/salt-formulas-scripts.git;a=blob_plain;f=Gemfile;hb=refs/heads/master'
fi
- bundle install

env:

+ 4
- 0
Makefile Bestand weergeven

@@ -18,7 +18,11 @@ else
JOBS := 1
endif

ifeq (,$(wildcard ./.kitchen.openstack.yml))
KITCHEN_LOCAL_YAML?=.kitchen.openstack.yml
else
KITCHEN_LOCAL_YAML?=.kitchen.yml
endif
KITCHEN_OPTS?="--concurrency=$(JOBS)"
KITCHEN_OPTS_CREATE?=""
KITCHEN_OPTS_CONVERGE?=""

Laden…
Annuleren
Opslaan