-
Notifications
You must be signed in to change notification settings - Fork 1
/
gnustep-gui-debian-8-x64.json
129 lines (129 loc) · 4.62 KB
/
gnustep-gui-debian-8-x64.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"description": "GNUstep Virtual Development Environment",
"variables": {
"cpus": "2",
"basename": "gnustep-debian-8-x64",
"template_name": "gnustep-gui-debian-8-x64",
"build_headless": "true",
"memory": "2048",
"ssh_port": "22",
"ssh_wait_timeout": "10000s",
"atlas_artifact": "ngrewe/gnustep-gui",
"atlas_version": "0.0.{{isotime \"20060102\"}}",
"atlas_description": "A basic set of development tools for GNUstep GUI development, based on Debian 8."
},
"builders": [
{
"type": "virtualbox-ovf",
"source_path": "output-gnustep-headless-debian-8-x64-vbox/{{user `basename`}}.ovf",
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now",
"ssh_port": "{{user `ssh_port`}}",
"ssh_wait_timeout": "{{user `ssh_wait_timeout`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"headless": "{{ user `build_headless`}}",
"guest_additions_mode": "disable",
"output_directory": "output-{{user `template_name`}}-vbox",
"vboxmanage": [
[ "modifyvm", "{{.Name}}", "--memory", "{{user `memory`}}" ],
[ "modifyvm", "{{.Name}}", "--cpus", "{{user `cpus`}}" ]
],
"vm_name": "{{user `basename`}}"
},
{
"type": "vmware-vmx",
"source_path": "output-gnustep-headless-debian-8-x64-vmware/{{user `basename`}}.vmx",
"shutdown_command": "echo 'vagrant' | sudo -S /sbin/shutdown -hP now",
"ssh_port": "{{user `ssh_port`}}",
"ssh_wait_timeout": "{{user `ssh_wait_timeout`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"headless": "{{ user `build_headless`}}",
"output_directory": "output-{{user `template_name`}}-vmware",
"vmx_data": {
"cpuid.coresPerSocket": "1",
"memsize": "{{user `memory`}}",
"numvcpus": "{{user `cpus`}}"
},
"vm_name": "{{user `basename`}}"
}
],
"provisioners": [
{
"type": "shell",
"execute_command": "echo 'vagrant'|sudo -S env {{ .Vars }} sh -eux '{{.Path}}'",
"scripts": [
"packer/scripts/02-ansible.sh"
]
},
{
"type": "file",
"source": "gnustep-gui",
"destination": "/vagrant/gnustep-gui"
},
{
"type": "file",
"source": "gnustep-back",
"destination": "/vagrant/gnustep-back"
},
{
"type": "file",
"source": "gorm",
"destination": "/vagrant/gorm"
},
{
"type": "file",
"source": "rik.theme",
"destination": "/vagrant/rik.theme"
},
{
"type": "ansible-local",
"playbook_dir": "provisioning",
"playbook_file": "provisioning/site.yml",
"inventory_groups": "gui",
"extra_arguments": [ "--skip-tags=stage1" ]
},
{
"type": "shell",
"execute_command": "echo 'vagrant'|sudo -S env {{ .Vars }} sh -eux '{{.Path}}'",
"environment_vars": [
"CONTAINER_FLAVOUR='dev'"
],
"scripts": [
"packer/scripts/99-cleanup.sh"
]
}
],
"post-processors": [
[
{
"type": "vagrant",
"output": "builds/{{user `template_name`}}-{{.Provider}}.box",
"vagrantfile_template": "packer/Vagrantfile.gui.template",
"only": [ "virtualbox-ovf", "vmware-vmx" ]
},
{
"type": "atlas",
"only": ["vmware-vmx"],
"artifact": "{{user `atlas_artifact`}}",
"artifact_type": "vagrant.box",
"metadata": {
"provider": "vmware_desktop",
"version": "{{user `atlas_version`}}",
"description": "{{user `atlas_description`}}"
}
},
{
"type": "atlas",
"only": ["virtualbox-ovf"],
"artifact": "{{user `atlas_artifact`}}",
"artifact_type": "vagrant.box",
"metadata": {
"provider": "virtualbox",
"version": "{{user `atlas_version`}}",
"description": "{{user `atlas_description`}}"
}
}
]
]
}