Skip to content

Commit 085ca0c

Browse files
committed
ci(vagrant): add Windows 10 pre-salted box [skip ci]
* Semi-automated using myii/ssf-formula#313 * Add Window 10 map verification file
1 parent e110c28 commit 085ca0c

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

.github/workflows/kitchen.vagrant.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
# - default-freebsd-114-master-py3
1919
# - default-freebsd-122-3002-6-py3
2020
# - default-freebsd-114-3002-6-py3
21+
- default-windows-10-latest-py3
2122
- default-windows-81-latest-py3
2223
steps:
2324
- name: 'Check out code'

kitchen.vagrant.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,27 @@ platforms:
3030
- name: freebsd-114-3002-6-py3
3131
driver:
3232
box: myii/freebsd-11.4-3002.6-py3
33+
- name: windows-10-latest-py3
34+
driver:
35+
box: techneg/win10x64-pro-salt
36+
cache_directory: "/omnibus/cache"
37+
customize: {}
38+
ssh: {}
39+
provisioner:
40+
# yamllint disable rule:line-length
41+
init_environment: |
42+
# Workaround to allow `kitchen converge` to be used multiple times
43+
# without having to `kitchen destroy` first: remove state files cached by
44+
# Salt during the previous `converge` (if present)
45+
rm -recurse `
46+
C:\Users\vagrant\AppData\Local\Temp\kitchen\var\cache\salt\minion\files\base `
47+
-ErrorAction SilentlyContinue
48+
salt-call --local state.single file.managed `
49+
C:\Users\vagrant\AppData\Local\Temp\kitchen\srv\salt\win\repo-ng\openvpn.sls `
50+
source=https://github.com/saltstack/salt-winrepo-ng/raw/master/openvpn.sls `
51+
skip_verify=True makedirs=True
52+
exit 0
53+
# yamllint enable rule:line-length
3354
- name: windows-81-latest-py3
3455
driver:
3556
box: techneg/win81x64-pro-salt
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# yamllint disable rule:indentation rule:line-length
2+
# Windows-10
3+
---
4+
values:
5+
bin_dir: C:\Program Files\OpenVPN\bin\
6+
conf_dir: C:\Program Files\OpenVPN\config
7+
conf_ext: ovpn
8+
dh_files:
9+
- '512'
10+
dsaparam: false
11+
external_repo_enabled: false
12+
external_repo_supported: []
13+
external_repo_version: stable
14+
group: nobody
15+
log_user: null
16+
map_jinja:
17+
sources:
18+
- Y:G@osarch
19+
- Y:G@os_family
20+
- Y:G@os
21+
- Y:G@osfinger
22+
- C@openvpn:lookup
23+
- Y:G@id
24+
multi_services: false
25+
network_manager_pkgs:
26+
- network-manager-openvpn
27+
- network-manager-openvpn-gnome
28+
pkgs:
29+
- openvpn
30+
service: OpenVPNService
31+
service_function: running
32+
user: nobody

0 commit comments

Comments
 (0)