Skip to content

Commit

Permalink
ci(vagrant): use pre-salted boxes & conditional local settings [skip ci]
Browse files Browse the repository at this point in the history
* Automated using myii/ssf-formula#311
  • Loading branch information
myii committed Apr 5, 2021
1 parent c8ac6a8 commit f354ace
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/kitchen.vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,14 @@ jobs:
fail-fast: false
matrix:
instance:
# - default-freebsd-122-latest-py3
- freebsd-122-latest-py3
# - default-freebsd-114-latest-py3
- freebsd-114-latest-py3
# - default-freebsd-122-master-py3
# - modules-freebsd-122-master-py3
- freebsd-122-master-py3
# - default-freebsd-114-master-py3
# - modules-freebsd-114-master-py3
- freebsd-114-master-py3
# - default-freebsd-122-3002-6-py3
# - default-freebsd-114-3002-6-py3
steps:
- name: 'Check out code'
uses: 'actions/checkout@v2'
Expand Down
25 changes: 17 additions & 8 deletions kitchen.vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f354ace

Please sign in to comment.