-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from myii/bug/38-fix-no-grains.init-on-BSD
fix(osfamilymap): fix no `grains.init` on *BSD (and enable CI for *BSD)
- Loading branch information
Showing
5 changed files
with
100 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=yaml | ||
--- | ||
name: 'Kitchen Vagrant (FreeBSD & OpenBSD)' | ||
'on': ['push', 'pull_request'] | ||
|
||
env: | ||
KITCHEN_LOCAL_YAML: 'kitchen.vagrant.yml' | ||
|
||
jobs: | ||
test: | ||
runs-on: 'macos-10.15' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
instance: | ||
- default-freebsd-130-master-py3 | ||
- default-freebsd-122-master-py3 | ||
- default-freebsd-114-master-py3 | ||
# - default-freebsd-130-3002-6-py3 | ||
# - default-freebsd-122-3002-6-py3 | ||
# - default-freebsd-114-3002-6-py3 | ||
- default-openbsd-69-3002-6-py3 | ||
- default-openbsd-68-3001-1-py3 | ||
steps: | ||
- name: 'Check out code' | ||
uses: 'actions/checkout@v2' | ||
- name: 'Set up Bundler cache' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: 'vendor/bundle' | ||
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}" | ||
restore-keys: "${{ runner.os }}-gems-" | ||
- name: 'Run Bundler' | ||
run: | | ||
ruby --version | ||
bundle config path vendor/bundle | ||
bundle install --jobs 4 --retry 3 | ||
- name: 'Run Test Kitchen' | ||
run: 'bundle exec kitchen verify ${{ matrix.instance }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# -*- coding: utf-8 -*- | ||
# vim: ft=yaml | ||
--- | ||
driver: | ||
name: vagrant | ||
cache_directory: false | ||
customize: | ||
usbxhci: 'off' | ||
gui: false | ||
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-130-master-py3 | ||
driver: | ||
box: myii/freebsd-13.0-master-py3 | ||
synced_folders: [] # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208 | ||
- name: freebsd-122-master-py3 | ||
driver: | ||
box: myii/freebsd-12.2-master-py3 | ||
- name: freebsd-114-master-py3 | ||
driver: | ||
box: myii/freebsd-11.4-master-py3 | ||
- name: freebsd-130-3002-6-py3 | ||
driver: | ||
box: myii/freebsd-13.0-3002.6-py3 | ||
synced_folders: [] # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208 | ||
- 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 | ||
- name: openbsd-69-3002-6-py3 | ||
driver: | ||
box: myii/openbsd-6.9-3002.6-py3 | ||
ssh: | ||
shell: /bin/ksh | ||
synced_folders: [] | ||
- name: openbsd-68-3001-1-py3 | ||
driver: | ||
box: myii/openbsd-6.8-3001.1-py3 | ||
ssh: | ||
shell: /bin/ksh | ||
synced_folders: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters