- Sep 11, 2017
-
-
Tomasz Maczukin authored
-
- Apr 20, 2017
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
- Oct 19, 2016
-
-
Samuel Harada authored
-
Samuel Harada authored
- Change Stop() to use `VBoxManage controlvm poweroff` - No need for a separate Kill()
-
- Jul 13, 2016
-
-
Kamil Trzcinski authored
We check for presence of gitlab-runner and execute a command then.
-
- Jul 06, 2016
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
- Introduce BuildError to generate soft failure on build error and generate hard failure on system error - Use WithField instead of pushing data as arguments of most of logging functions - Introduce BuildLogger which removes logging functionality from AbstractExecutor - Use BuildLogger and write notice message as early as possible - Remove finish notice/error from AbstractExecutor - Sending and appending build trace is now debug message by default
-
- Jun 07, 2016
-
-
Ted Cipicchio authored
This commit modifies the VirtualBox runner to create linked clones instead of full clones of the base VM when possible. The runner checks for any current VM snapshot and attempts to create a linked clone from it. If no current snapshot is found and snapshots are not disabled, the runner will attempt to create a new snapshot first. If this fails or if snapshots are disabled, the runner will fall back on creating a full clone of the current VM state. The snapshot from which a linked clone is created can also be explicitly set using the "base_snapshot" configuration option. If the snapshot doesn't exist and snapshots are not disabled, the runner will attempt to create one with the same name before falling back on creating a full VM clone.
-
- Jun 06, 2016
-
-
Kamil Trzcinski authored
- Rename `ShellScript` to `ShellConfiguration` and remove all generated scripts - Introduce `ShellScriptType` with different types of scripts - Introduce `GetConfiguration` and `GenerateScript` for `Shell` interface - Change `ShellScript` to `Shell` of `Executor` - Remove `GenerateScript` from shells, instead provide a generic method with accepts `ShellScriptType` - Introduce `executeShellScript` for `Build`, method which is responsible for generating and executing a shell script
-
- May 14, 2016
-
-
Tomasz Maczukin authored
-
- May 04, 2016
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
- Apr 29, 2016
-
-
Ted Cipicchio authored
Checks for "Invalid" VM statuses were previously removed from executor_virtualbox.go since "Invalid" was never a status returned from the VirtualBox Status() function. The test in createVM() has been re-added, instead testing for an error result, in case an invalid VM exists that causes VBoxManage to return an error so we can still attempt to unregister it. The test in Prepare() has not been restored, as the VM name string it tests is not initialized at that point. Also, the subsequent Exist() checks return false if VBoxManage returns an error, causing createVM() to eventually be called anyway.
-
Ted Cipicchio authored
This replaces the existing set of constants for the VirtualBox StatusType values with constants based on the actual values that may be returned when calling "VBoxManage showvminfo". The function IsStatusOnlineOrTransient() has also been added to simplify checking whether a status value indicates that the VM is running or in a transitional state (but not offline), and the VirtualBox executor Prepare() function has been updated to use it to more accurately check whether a VM is offline before starting it.
-
Ted Cipicchio authored
The virtualbox.Status() function never returns "Invalid" as its state ("NotFound" is returned if the VBoxManage utility returns an error from querying an invalid or non-existent virtual machine, but "Invalid" does not map to any output from VBoxManage), so the checks for it in executor_virtualbox.go have no effect.
-
- Mar 09, 2016
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
Fixes #1114
-
- Feb 06, 2016
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
This commit gets rid of all indirect access to config variables and uses a new `toml` features: `omit empty` and `omit zero`
-
- Jan 16, 2016
-
-
Daniel Widerin authored
-
Daniel Widerin authored
-
Daniel Widerin authored
This also changed the env vars from VBOX_BASE_NAME to VIRTUALBOX_BASE_NAME
-
Daniel Widerin authored
-
Daniel Widerin authored
-
Daniel Widerin authored
-
Daniel Widerin authored
-
Matthew Cillo authored
-
Matthew Cillo authored
-
Matthew Cillo authored
-
Matthew Cillo authored
-