summaryrefslogtreecommitdiff
path: root/common/build.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* Removed suspicious condition which is always true.Alexander Kutelev2019-08-051-4/+2
* Add custom executorKamil Trzciński2019-07-081-1/+8
* Remove deprecated clone/fetch command•••GitLab Runner now requires Refspec information in the job response to clone the project which is sent from a GitLab instance that is running version %11.9+. If Refspec is not present a fallback to the deprecated commands was done. closes https://gitlab.com/gitlab-org/gitlab-runner/issues/4069 Steve Azzopardi2019-05-241-10/+0
* Added service proxy to the kubernetes executor•••In this commit we add new session endpoint like `/proxy/buildOrService/port/requestedURI`. Through this endpoint we will be able to proxy requests to services running inside each service container. At the moment only the kubernetes executor implements this new functionality Francisco Javier López2019-05-231-0/+5
* Prepare single source of thruth for defined feature flagsTomasz Maczukin2019-04-191-22/+16
* Allow to configure FF using config.tomlKamil Trzciński2019-04-181-1/+1
* Allow to use FF to configure `/builds` folderKamil Trzciński2019-04-181-0/+2
* Use consts and define explicitly default values for all FFsTomasz Maczukin2019-04-171-4/+8
* Merge branch 'allow-to-disable-debug-tracing' into 'master'•••Allow to disable debug tracing See merge request gitlab-org/gitlab-runner!1286Steve Azzopardi2019-04-041-0/+8
|\
| * Log a warning when CI_DEBUG_TRACE is used when it's disabled on RunnerTomasz Maczukin2019-04-031-4/+8
| * Allow to disable CI_DEBUG_TRACE support from the configuration fileTomasz Maczukin2019-03-281-0/+4
* | Remove commands/register.go changes as they are unneededKamil Trzciński2019-04-031-13/+12
* | Strong validate that `GIT_CLONE_PATH` is used within `CI_BUILDS_DIR`.Kamil Trzciński2019-04-031-12/+35
* | Add custom clone path for the build•••When the user specifies `GIT_CLONE_PATH` environment variable inside of the `.gitlab-ci.yml` if the path is valid it is used to clone and build. `GIT_CLONE_PATH` takes precedence over the configured build dir and the default build dir. Closes #2211 Steve Azzopardi2019-04-031-2/+16
* | Improve support for git cleanKamil Trzciński2019-04-031-1/+21
* | Merge branch '4095-fix-lfs-regression' into 'master'•••Make it again available to disable Git LFS pull Closes #4095 See merge request gitlab-org/gitlab-runner!1273Steve Azzopardi2019-04-021-0/+9
|\ \
| * | Handle LFS only if it was not disabled by the jobTomasz Maczukin2019-04-011-0/+9
| |/
| * Merge branch 'fix-project-dir-masking' into 'master'•••Fix CI_PROJECT_DIR handling Closes #4043 See merge request gitlab-org/gitlab-runner!1241Tomasz Maczukin2019-03-121-0/+5
* | Expose `CI_CONCURRENT_(PROJECT)_ID`Kamil Trzciński2019-03-271-0/+2
* | Log time took preparing executorsMatthew2019-03-121-1/+11
* | Fix CI_PROJECT_DIR handlingKamil Trzciński2019-03-111-0/+5
|/
* Add ability to mask variables.•••This makes variables to be allowed to be `masked: true`. The masked values will be replaced with `[MASKED]`. The masking is done in-line, thus we delay sending trace if the content is partial match for masked output. Kamil Trzciński2019-03-061-13/+31
* Add feature flag to use old API for helper•••With https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1195 & https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1201 the bash scripts were moved to Go so that they can be used for windows containers. It's safe to use these commands on new helper images, which is automatically downloaded when the user does not specify a `helper_image` in the config file. If the user has specified a helper image which does not use the new API will be considered as a breaking change. If the `helper_image` is specified and the newly introduced feature flag `FF_DOCKER_HELPER_IMAGE_V2` is not set, use the old command when starting the container. Steve Azzopardi2019-03-051-0/+4
* Add refspec fetching feature•••Gitlab can now control the source getting process providing a set of refspec. If present runner will switch to the new method. Alessio Caiazza2019-03-041-0/+6
* Prevent Executors from modifying Runner configurationSt. John Johnson2019-01-231-3/+9
* Merge branch 'sh-fix-ci-project-dir-path-windows' into 'master'•••Fix path separator for CI_PROJECT_DIR in Windows Closes #2841 See merge request gitlab-org/gitlab-runner!1128Tomasz Maczukin2019-01-081-1/+2
|\
| * Fix path separator for CI_PROJECT_DIR in Windows•••Internally, the runner uses paths with the `/` separator, but since CI_PROJECT_DIR is an externally-facing path that can be used in scripts, we need to ensure that it has the right separator. Closes https://gitlab.com/gitlab-org/gitlab-runner/issues/2841 Stan Hu2018-12-301-1/+2
* | Use build timeout when shorter then session timeout•••For `waitForTerminal` check if the build timeout is actually shorter then the terminal session timeout. If so, parse the time left, show it to the user and use it as a timeout as well. The reason `timeout` is being updated and used for `time.After` (in the select statement) is so we have a good seperation between when `ctx.Done` is being called because the user actually cancelled the build and when the context deadline is reached. Add `RoundDuration` which is the same as `time.duration.Round` but since we are using go1.8 it is missing. Add a test cases for each scenario `waitForTerminal` has. Steve Azzopardi2019-01-081-11/+30
* | Kill session when build is cancelled•••When the user cancels a build, we are not cleaning up the session server. Pass the build context and check for the `Done` and call `session.Kill` Steve Azzopardi2018-12-261-3/+12
|/
* Add missing commaShinya Maeda2018-10-311-1/+1
* Adopting the suggestionsShinya Maeda2018-10-311-1/+4
* Rename to job execution timeoutShinya Maeda2018-10-311-1/+1
* Fix formatShinya Maeda2018-10-311-3/+4
* Create setTraceStatus method in build.goShinya Maeda2018-10-311-19/+29
* Add failure reason for execution timeoutShinya Maeda2018-10-311-3/+8
* Merge branch 'fix-kubernetes-support-for-extended-docker-configuration' into ...•••Fix command and args assignment when creating containers with K8S executor Closes #2338 and #3536 See merge request gitlab-org/gitlab-runner!1010Kamil Trzciński2018-10-021-0/+27
|\
| * Fix command and args assignment when creating containers with k8s executorTomasz Maczukin2018-10-011-0/+1
| * Add base features flag mechanismTomasz Maczukin2018-10-011-0/+26
* | Add a duration field to job finished log lineTomasz Maczukin2018-09-261-3/+8
* | Fix job duration countingTomasz Maczukin2018-09-261-4/+12
|/
* Print job durationTomasz Maczukin2018-09-071-0/+8
* Merge branch 'add-more-debug-logs-to-k8s-executor' into 'master'•••Extend debug logging for k8s executor See merge request gitlab-org/gitlab-runner!949Alessio Caiazza2018-09-041-0/+2
|\
| * Extend debug logging for k8s executorTomasz Maczukin2018-09-041-0/+2
* | CI Web TerminalFrancisco Javier López 🌴 On vacation; back on August 22th!2018-08-141-3/+44
|/
* Improve test suiteKamil Trzciński2018-07-201-3/+0
* Fix test failuresKamil Trzciński2018-07-201-8/+13
* Fix artifacts when uploadsKamil Trzciński2018-07-051-19/+13
* Merge branch 'sirupsen-fix' into 'master'•••Sirupsen fix See merge request gitlab-org/gitlab-runner!843Tomasz Maczukin2018-03-081-1/+1
|\
| * sed 's/Sirupsen\/logrus/sirupsen\/logrus/g'Alessio Caiazza2018-02-231-1/+1
* | Add job env variables to report the runner's version, revision, and OS/arch•••Adds the following job environment variables: CI_RUNNER_VERSION CI_RUNNER_REVISION CI_RUNNER_EXECUTABLE_ARCH Taylor Braun-Jones2018-02-271-0/+1
|/