Browse Source

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 years ago
parent
commit
3173cc0851
No account linked to committer's email address
3 changed files with 25 additions and 12 deletions
  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 View File

@@ -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 View File

@@ -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 View File

@@ -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:

Loading…
Cancel
Save