gitlab-runner merge requestshttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests2016-09-19T06:12:00Zhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/142Note alternative OS2016-09-19T06:12:00ZSid SijbrandijNote alternative OSKamil TrzcińśkiKamil Trzcińśkihttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/152Make checkout quiet2016-09-19T06:12:00ZTomasz Maczukintomasz@gitlab.comMake checkout quietReplaces !61Replaces !61v1.2Tomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.comhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/156Fix compilation error2016-09-19T06:12:01ZKamil TrzcińśkiFix compilation errorGox now will build for default list of architectures, excluding the netbsd and openbsd.Gox now will build for default list of architectures, excluding the netbsd and openbsd.v1.2Tomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.comhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/151Add docker-machine to gitlab/gitlab-runner docker images (alpine and ubuntu)2016-09-19T06:12:01ZTomasz Maczukintomasz@gitlab.comAdd docker-machine to gitlab/gitlab-runner docker images (alpine and ubuntu)Fixes #1276 Fixes #1276 v1.2Tomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.comhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/153Add support for after_script2016-09-19T06:12:01ZKamil TrzcińśkiAdd support for after_scriptThis brings support for after_script. The amount of changes is quite large, but in order to implement that I needed to make Executor more dumber that it was in fact moving some of the executor code up to Build. Build is now responsible f...This brings support for after_script. The amount of changes is quite large, but in order to implement that I needed to make Executor more dumber that it was in fact moving some of the executor code up to Build. Build is now responsible for executing build plan, the plan is run with help of executor. This is how the logic supposed to be.
During all this refactoring I did fix our famous `call :buildscript` issue. Right now all steps of build plan are executed as separate commands. This makes it simpler to track what and where is happening.
The introduced changes will allow us to easily add artifacts for failed builds. This will also make the plugin system super-easy to implement.
**Test builds:**
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-linux-386
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-linux-amd64
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-linux-arm
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-darwin-386
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-darwin-amd64
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-windows-386.exe
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-windows-amd64.exe
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-freebsd-386
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-freebsd-amd64
* https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/finally-script/binaries/gitlab-ci-multi-runner-freebsd-arm
cc @tmaczukin v1.2Kamil TrzcińśkiKamil Trzcińśkihttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/160Make variables to work at job level in exec mode2016-09-19T06:12:01ZKamil TrzcińśkiMake variables to work at job level in exec modecc @tmaczukin cc @tmaczukin v1.2Tomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.comhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/155Skip removal of machine that doesn't exist2016-09-19T06:12:01ZKamil TrzcińśkiSkip removal of machine that doesn't exist@pcarranza This fixes a problem on our shared runners.
Machines that are "being removed" are accounted to "limit", so in case where we can't remove the machines we eat the auto-scaling slots.
cc @tmaczukin @pcarranza This fixes a problem on our shared runners.
Machines that are "being removed" are accounted to "limit", so in case where we can't remove the machines we eat the auto-scaling slots.
cc @tmaczukin v1.1Tomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.comhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/162Fix S3 caching2016-09-19T06:12:01ZKamil TrzcińśkiFix S3 cachingcc @tmaczukin cc @tmaczukin v1.1Tomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.comhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/163Add branch name to the version info2016-09-19T06:12:01ZTomasz Maczukintomasz@gitlab.comAdd branch name to the version infoAdds compilation branch name to the version info:
```bash
$ gitlab-runner --version
Version: 1.2.0~beta.107.g30703b7
Git revision: 30703b7
Git branch: feature/extend-version-info-with-branch-name
GO version: go1.6.2
Bui...Adds compilation branch name to the version info:
```bash
$ gitlab-runner --version
Version: 1.2.0~beta.107.g30703b7
Git revision: 30703b7
Git branch: feature/extend-version-info-with-branch-name
GO version: go1.6.2
Built: Sat, 14 May 2016 15:31:58 -0500
OS/Arch: linux/amd64
```v1.2Kamil TrzcińśkiKamil Trzcińśkihttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/165Replace 'Uploading' with 'Downloading' in artifacts download logging2016-09-19T06:12:01ZTomasz Maczukintomasz@gitlab.comReplace 'Uploading' with 'Downloading' in artifacts download logginghttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/148Add exec command timeout2016-09-19T06:12:02ZTomasz Maczukintomasz@gitlab.comAdd exec command timeoutFixes #1193 Fixes #1193 v1.2Kamil TrzcińśkiKamil Trzcińśkihttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/171Remove duplicate dev readme entry2016-09-19T06:12:02Zusername-removed-2900Remove duplicate dev readme entryKamil TrzcińśkiKamil Trzcińśkihttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/172No toolchain to build2016-09-19T06:12:02Zusername-removed-2900No toolchain to buildKamil TrzcińśkiKamil Trzcińśkihttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/103Reconcile VirtualBox status constants with VBoxManage output values2016-09-19T06:12:02Zusername-removed-434855Reconcile VirtualBox status constants with VBoxManage output valuesWhile looking into an issue I was having with the VirtualBox executor, I ended up updating its `StatusType` constants to reflect the strings that the VBoxManage utility provides when running the `showvminfo` command. A couple parts of `e...While looking into an issue I was having with the VirtualBox executor, I ended up updating its `StatusType` constants to reflect the strings that the VBoxManage utility provides when running the `showvminfo` command. A couple parts of `executor_virtualbox.go` were affected by this change, which I also updated accordingly in this branch.
(For reference, the specific issue I was running into was that the `Kill()` function in `helpers/virtualbox/control.go` would return before the VM could finish shutting down since `acpipowerbutton` only sends a signal to the guest OS, which was in turn causing the next job to fail to restore the VM snapshot since it was still running. I have a quick fix in my `fix-virtualbox-kill` branch, but it relies on one of the `StatusType` constants in this change.)v1.2https://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/173Replace ANSI_BOLD_YELLOW with ANSI_YELLOW2016-09-19T06:12:02ZTomasz Maczukintomasz@gitlab.comReplace ANSI_BOLD_YELLOW with ANSI_YELLOWIt will be more usable on terminals with light background
Clonses #1281 It will be more usable on terminals with light background
Clonses #1281 https://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/161Updated FreeBSD installation instructions.2016-09-19T06:12:02Zusername-removed-15146Updated FreeBSD installation instructions.https://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/73Change unregister command to accept runner name2016-09-19T06:12:03Zusername-removed-164769Change unregister command to accept runner nameAs suggested in #56. Unregister now takes a single parameter `-n` or `--name` and then proceed to look up the correct runner credentials from the configuration.
Closes #1149 As suggested in #56. Unregister now takes a single parameter `-n` or `--name` and then proceed to look up the correct runner credentials from the configuration.
Closes #1149 v1.2Tomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.comhttps://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/174Clarify on the docs of allowed_images and allowed_services2016-09-19T06:12:03Zusername-removed-27663Clarify on the docs of allowed_images and allowed_servicesI just found out about the default values for `allowed_images` and `allowed_services` which was not documented, so I did.I just found out about the default values for `allowed_images` and `allowed_services` which was not documented, so I did.https://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/178Update CHANGELOG.md with v1.2 notes2016-09-19T06:12:03ZTomasz Maczukintomasz@gitlab.comUpdate CHANGELOG.md with v1.2 notesCHANGELOG for `v1.2` release.
@ayufan - quick review, please?CHANGELOG for `v1.2` release.
@ayufan - quick review, please?v1.2https://staging.gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/186Fix branch setting at compile time2016-09-19T06:12:03ZTomasz Maczukintomasz@gitlab.comFix branch setting at compile timeTomasz Maczukintomasz@gitlab.comTomasz Maczukintomasz@gitlab.com