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 296922e commit e110c28
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/kitchen.vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
fail-fast: false
matrix:
instance:
# - default-freebsd-122-latest-py3
# - default-freebsd-114-latest-py3
# - default-freebsd-122-master-py3
# - default-freebsd-114-master-py3
# - default-freebsd-122-3002-6-py3
# - default-freebsd-114-3002-6-py3
- default-windows-81-latest-py3
steps:
- name: 'Check out code'
Expand Down
26 changes: 17 additions & 9 deletions kitchen.vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,36 @@ 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: myii/freebsd-12.2-master-py3
- name: freebsd-114-master-py3
driver:
box: bento/freebsd-12.2
- name: freebsd-114-latest-py3
box: myii/freebsd-11.4-master-py3
- name: freebsd-122-3002-6-py3
driver:
box: bento/freebsd-11.4
box: myii/freebsd-12.2-3002.6-py3
- name: freebsd-114-3002-6-py3
driver:
box: myii/freebsd-11.4-3002.6-py3
- name: windows-81-latest-py3
driver:
box: techneg/win81x64-pro-salt
cache_directory: "/omnibus/cache"
customize: {}
ssh: {}
provisioner:
salt_install: none
# yamllint disable rule:line-length
init_environment: |
# Workaround to allow `kitchen converge` to be used multiple times
Expand All @@ -40,6 +51,3 @@ platforms:
skip_verify=True makedirs=True
exit 0
# yamllint enable rule:line-length

provisioner:
salt_install: bootstrap

0 comments on commit e110c28

Please sign in to comment.