소스 검색

Merge "Remove Salt deprecations and switch tests to Salt 2017.7"

pull/139/head
Ondrej Smola 7 년 전
부모
커밋
47aa33e4b6
4개의 변경된 파일11개의 추가작업 그리고 3개의 파일을 삭제
  1. +2
    -2
      .kitchen.yml
  2. +7
    -0
      .travis.yml
  3. +1
    -1
      linux/files/multipath.conf
  4. +1
    -0
      tests/pillar/system.sls

+ 2
- 2
.kitchen.yml 파일 보기

@@ -29,9 +29,9 @@ verifier:
sudo: true

platforms:
- name: <%=ENV['PLATFORM'] || 'ubuntu-xenial'%>
- name: <%=ENV['PLATFORM'] || 'ubuntu-xenial-2017.7'%>
driver_config:
image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial'%>
image: <%=ENV['PLATFORM'] || 'trevorj/salty-whales:xenial-2017.7'%>
platform: ubuntu



+ 7
- 0
.travis.yml 파일 보기

@@ -22,12 +22,19 @@ install:
- bundle install

env:
- PLATFORM=trevorj/salty-whales:trusty-2017.7 SUITE=network
- PLATFORM=trevorj/salty-whales:xenial-2017.7 SUITE=network
# - PLATFORM=trevorj/salty-whales:trusty-2017.7 SUITE=storage
# - PLATFORM=trevorj/salty-whales:xenial-2017.7 SUITE=storage
- PLATFORM=trevorj/salty-whales:trusty-2017.7 SUITE=system
- PLATFORM=trevorj/salty-whales:xenial-2017.7 SUITE=system
- PLATFORM=trevorj/salty-whales:trusty SUITE=network
- PLATFORM=trevorj/salty-whales:xenial SUITE=network
# - PLATFORM=trevorj/salty-whales:trusty SUITE=storage
# - PLATFORM=trevorj/salty-whales:xenial SUITE=storage
- PLATFORM=trevorj/salty-whales:trusty SUITE=system
- PLATFORM=trevorj/salty-whales:xenial SUITE=system
## Test on both Salt version until there is new test policy accepted

before_script:
- set -o pipefail

+ 1
- 1
linux/files/multipath.conf 파일 보기

@@ -10,7 +10,7 @@ defaults {

blacklist {
{%- for device in storage.multipath.get('blacklist_devices', []) %}
wwid {{ salt['cmd.run']('/lib/udev/scsi_id -g -u '+device) }}
wwid {{ salt['cmd.shell']('/lib/udev/scsi_id -g -u '+device) }}
{%- endfor %}
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st|nbd)[0-9]*"
}

+ 1
- 0
tests/pillar/system.sls 파일 보기

@@ -61,6 +61,7 @@ linux:
testuser:
enabled: true
name: testuser
password: passw0rd
sudo: true
uid: 9999
full_name: Test User

Loading…
취소
저장