Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Sep 11, 2017
  2. Apr 20, 2017
  3. Oct 19, 2016
  4. Jul 13, 2016
  5. Jul 06, 2016
    • Kamil Trzcinski's avatar
      Fix test failures · 13257bf5
      Kamil Trzcinski authored
      13257bf5
    • Kamil Trzcinski's avatar
      Improve logging · a32e645c
      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
      a32e645c
  6. Jun 07, 2016
    • Ted Cipicchio's avatar
      Add support for linked cloning of VirtualBox VMs · a7875c79
      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.
      a7875c79
  7. Jun 06, 2016
    • Kamil Trzcinski's avatar
      Refactor script generation to make it fully on-demand · 62ebf0c8
      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
      62ebf0c8
  8. May 14, 2016
  9. May 04, 2016
  10. Apr 29, 2016
    • Ted Cipicchio's avatar
      Reimplemented invalid VirtualBox VM check in createVM() · 698ff256
      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.
      698ff256
    • Ted Cipicchio's avatar
      Reconcile VirtualBox status constants with VBoxManage output values · 908bfd7b
      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.
      908bfd7b
    • Ted Cipicchio's avatar
      Remove "Invalid" status checks from VirtualBox executor · b67fe658
      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.
      b67fe658
  11. Mar 09, 2016
  12. Feb 06, 2016
  13. Jan 16, 2016