浏览代码

Merge "Update Gemfile and Makefile configuration - One Gemfile for all formulas tests - Update Makefile for OpenStack tests"

master
mcp-jenkins 6 年前
父节点
当前提交
e7bb18ec64
共有 2 个文件被更改,包括 7 次插入9 次删除
  1. +3
    -9
      .travis.yml
  2. +4
    -0
      Makefile

+ 3
- 9
.travis.yml 查看文件

- pip install PyYAML - pip install PyYAML
- pip install virtualenv - 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 - bundle install


env: env:

+ 4
- 0
Makefile 查看文件

JOBS := 1 JOBS := 1
endif endif


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

正在加载...
取消
保存