浏览代码

ci(vagrant): use pre-salted boxes & conditional local settings [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/311
tags/v1.5.0
Imran Iqbal 3 年前
父节点
当前提交
3173cc0851
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 25 次插入12 次删除
  1. +4
    -2
      .github/workflows/kitchen.vagrant.yml
  2. +17
    -8
      kitchen.vagrant.yml
  3. +4
    -2
      kitchen.yml

+ 4
- 2
.github/workflows/kitchen.vagrant.yml 查看文件

@@ -14,8 +14,10 @@ jobs:
fail-fast: false
matrix:
instance:
- freebsd-freebsd-122-latest-py3
- freebsd-freebsd-114-latest-py3
- freebsd-freebsd-122-master-py3
- freebsd-freebsd-114-master-py3
# - freebsd-freebsd-122-3002-6-py3
# - freebsd-freebsd-114-3002-6-py3
steps:
- name: 'Check out code'
uses: 'actions/checkout@v2'

+ 17
- 8
kitchen.vagrant.yml 查看文件

@@ -7,17 +7,26 @@ driver:
customize:
usbxhci: 'off'
gui: false
linked_clone: true
ssh:
shell: /bin/sh
<% unless ENV['CI'] %>
linked_clone: true
synced_folders:
- - '.kitchen/kitchen-vagrant/%{instance_name}/vagrant'
- '/vagrant'
- 'create: true, disabled: false'
<% end %>

platforms:
- name: freebsd-122-latest-py3
- name: freebsd-122-master-py3
driver:
box: bento/freebsd-12.2
- name: freebsd-114-latest-py3
box: myii/freebsd-12.2-master-py3
- name: freebsd-114-master-py3
driver:
box: bento/freebsd-11.4

provisioner:
salt_install: bootstrap
box: myii/freebsd-11.4-master-py3
- name: freebsd-122-3002-6-py3
driver:
box: myii/freebsd-12.2-3002.6-py3
- name: freebsd-114-3002-6-py3
driver:
box: myii/freebsd-11.4-3002.6-py3

+ 4
- 2
kitchen.yml 查看文件

@@ -457,8 +457,10 @@ suites:
- path: test/integration/default
- name: freebsd
includes:
- freebsd-122-latest-py3
- freebsd-114-latest-py3
- freebsd-122-master-py3
- freebsd-114-master-py3
- freebsd-122-3002-6-py3
- freebsd-114-3002-6-py3
provisioner:
state_top:
base:

正在加载...
取消
保存