Просмотр исходного кода

Merge pull request #28 from aboe76/update_test_images

update test images
tags/v0.6.2
Imran Iqbal 5 лет назад
Родитель
Сommit
46288d6b50
Аккаунт пользователя с таким Email не найден
2 измененных файлов: 13 добавлений и 28 удалений
  1. +3
    -3
      .travis.yml
  2. +10
    -25
      kitchen.yml

+ 3
- 3
.travis.yml Просмотреть файл

@@ -13,9 +13,9 @@ install:

env:
matrix:
- INSTANCE: default-debian-9
- INSTANCE: default-ubuntu-1804
- INSTANCE: default-centos-7
- INSTANCE: default-debian-9-2019-2-py3
- INSTANCE: default-ubuntu-1804-2019-2-py3
- INSTANCE: default-centos-7-2019-2-py2

script:
- bundle exec kitchen verify ${INSTANCE}

+ 10
- 25
kitchen.yml Просмотреть файл

@@ -7,43 +7,28 @@ driver:
driver_config:
use_sudo: false
privileged: true
provision_command: mkdir -p /run/sshd
run_command: /lib/systemd/systemd
pid_one_command: /usr/lib/systemd/systemd

platforms:
- name: centos-7
driver_config:
image: centos:7
provision_command:
- yum install udev net-tools glibc-common -y
- echo "LANG=en_US.UTF-8" >> /etc/locale.conf
- localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
- name: centos-7-2019-2-py2
driver:
image: netmanagers/salt-2019.2-py2:centos-7
platform: rhel

- name: debian-9
driver_config:
image: debian:9
provision_command:
- apt-get install udev net-tools locales -y
- echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
- locale-gen en_US.UTF-8
- name: debian-9-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:debian-9
platform: debian
- name: ubuntu-18.04
driver_config:
image: ubuntu:18.04
provision_command:
- apt-get install udev net-tools locales -y
- localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
- echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
- locale-gen en_US.UTF-8
- name: ubuntu-1804-2019-2-py3
driver:
image: netmanagers/salt-2019.2-py3:ubuntu-18.04
platform: ubuntu

provisioner:
name: salt_solo
log_level: info
require_chef: false
salt_version: latest
salt_install: none
formula: firewalld
salt_copy_filter:
- .kitchen

Загрузка…
Отмена
Сохранить