summaryrefslogtreecommitdiff
path: root/executors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* authConfigs can not be nil because it is created using make above.Alexander Kutelev2019-08-061-4/+0
|
* Fix some linting issuesSimon Jürgensmeyer2019-07-183-6/+10
|
* Add config() stage for Custom executor managementTomasz Maczukin2019-07-097-11/+273
|
* Add custom executorKamil Trzciński2019-07-0826-1/+1960
|
* Fix typo in AuthConfigSourceNameUserVariableCody West2019-06-281-1/+1
|
* Dynamically create information about authConfigs sourceTomasz Maczukin2019-06-281-34/+32
| | | (cherry picked from commit 6bff914ece7ee738d0831fdc2b5c2ea0f0245490)
* Clean up Docker authConfig codeCody West2019-06-271-13/+31
| | | | | Apply suggestions from review process. Use array of structs, with a new authConfigResolver type for the functions.
* Add trace entry for authConfigCody West2019-06-261-12/+13
| | | | | For the purposes of understanding which authentication is being used, I have modified the getAuthConfig method to indicate which method returned non-nil.
* Wrap submodule command with a stringSteve Azzopardi2019-06-121-0/+37
| | | | | | | | | | | | | Upgrading to Git 2.22, breaks the scenario when you have a Git repository with submodules and `GIT_SUBMODULE_STRATEGY` is set to `recursive`. The command `git submodule foreach --recursive git clean -ffxd` is build and this works fine in Git <2.21 but in Git 2.22 it fails with the following error `error: unknown switch `f'` the reason for this is because Git seems to be thinking that `-ffxd` is a flag for `git submodule` and not for `git clean`. Wrapping the commands with single quotes to fix this issue.
* Merge branch 'update-log-fields' into 'master'Steve Azzopardi2019-06-061-1/+1
|\ | | | | | | | | Update some logrus fields used in Runner logs See merge request gitlab-org/gitlab-runner!1405
| * Update some logrus fields used in Runner logsTomasz Maczukin2019-06-051-1/+1
| |
* | Merge branch 'cleanup' into 'master'Tomasz Maczukin2019-06-051-8/+0
|\ \ | |/ |/| | | | | Numerous typos were fixed. Some unused constants, variables and arguments were removed. See merge request gitlab-org/gitlab-runner!1258
| * Numerous typos were fixed. Some unused constants, variables and arguments ↵Alexander Kutelev2019-03-251-8/+0
| | | | | | | | were removed.
* | Merge branch 'make-volumes-to-work-on-linux-docker-on-windows' into 'master'Tomasz Maczukin2019-06-0120-213/+204
|\ \ | | | | | | | | | | | | | | | | | | Make volumes to work on linux docker on windows Closes #4251 See merge request gitlab-org/gitlab-runner!1363
| * | Make volumes to work on Linux Containers for WindowsKamil Trzciński2019-05-2920-213/+204
| | |
* | | Fix TyposYoginth2019-05-312-2/+2
| | |
* | | Merge branch '4294-make-windows-volume-case-insensitive' into 'master'Tomasz Maczukin2019-05-303-4/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Fix case sensitivity for windows volumes Closes #4294 See merge request gitlab-org/gitlab-runner!1389
| * | | Use regexp for case insensitivenessKamil Trzciński2019-05-302-5/+4
| | | |
| * | | Update default build/cache dir for windowsSteve Azzopardi2019-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | For every volume spec we are doing strings.ToLower so it's nice for it to be consistent through the code.
| * | | Fix case sensitivity for windows volumesSteve Azzopardi2019-05-292-3/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1381 we removed the strings.ToLower for volumes for both Windows & Linux, since Linux is case-sensative. Windows is not case-sensative and even Docker follows this in https://github.com/moby/moby/blob/b1239f0a9f5acb08436d7c97092b3e0f5e75fcaa/volume/mounts/windows_parser.go#L82-L94 so it's wise to follow the same thing only for Windows. `C:\builds` should be considered a valid volume but it's not in this case.
* | | Merge branch 'security-context' into 'master'Tomasz Maczukin2019-05-302-0/+36
|\ \ \ | | | | | | | | | | | | | | | | Allow configuration of Pod Security Context by Kubernetes Exeutor See merge request gitlab-org/gitlab-runner!1036
| * | | Merge branch 'master' into security-contextDavid Schile2019-05-2938-700/+4869
| |\| |
| * | | changes per commentsDavid Schile2019-04-192-23/+5
| | | |
| * | | merged upstream masterDavid Schile2019-04-195-12/+126
| |\ \ \
| * \ \ \ Merge branch 'master' into security-contextDavid Schile2019-04-0512-41/+275
| |\ \ \ \
| * \ \ \ \ merged security-contextDavid Schile2019-03-262-4/+22
| |\ \ \ \ \
| | * \ \ \ \ merged upstream master and fixed node tolerations conflictDave Schile2019-01-093-6/+68
| | |\ \ \ \ \
| | * | | | | | corrections per merge request.Dave Schile2018-12-292-4/+22
| | | | | | | |
| * | | | | | | merged current masterDavid Schile2019-03-2616-208/+643
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | / | | | |_|_|_|/ | | |/| | | |
| * | | | | | Merge branch 'master' into security-contextDave Schile2018-12-1215-68/+1109
| |\ \ \ \ \ \
| * | | | | | | qa and gofmt fixesDavid Schile2018-09-282-12/+12
| | | | | | | |
| * | | | | | | fix test pointerDavid Schile2018-09-271-4/+4
| | | | | | | |
| * | | | | | | cast as int64David Schile2018-09-271-3/+3
| | | | | | | |
| * | | | | | | more docsDavid Schile2018-09-271-4/+4
| | | | | | | |
| * | | | | | | fix testsDavid Schile2018-09-271-6/+4
| | | | | | | |
| * | | | | | | added docs and namespace in testsDavid Schile2018-09-271-0/+1
| | | | | | | |
| * | | | | | | adding in security context configDavid Schile2018-09-272-8/+34
| | | | | | | |
| * | | | | | | add security context structsDavid Schile2018-09-241-0/+11
| | | | | | | |
* | | | | | | | Merge branch '4069-remove-support-for-old-clone-fetch-methods' into 'master'Tomasz Maczukin2019-05-301-44/+0
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove deprecated clone/fetch command Closes #4069 See merge request gitlab-org/gitlab-runner!1372
| * | | | | | | Remove deprecated clone/fetch commandSteve Azzopardi2019-05-241-44/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | Merge branch '4013-remove-old-docker-helper-image-commands' into 'master'Tomasz Maczukin2019-05-286-249/+56
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove old docker helper image commands Closes #4013 See merge request gitlab-org/gitlab-runner!1373
| * | | | | | | | Remove usage of old helper image commandsSteve Azzopardi2019-05-286-249/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bash scripts are deprecated and only used when someone specified a `helper_image` in `[runners.docker]`. In 12.0 we are going to remove any support for the old bash scripts in favor of the new Go commands. The new Go commands were introduced for https://gitlab.com/gitlab-org/gitlab-runner/issues/3755 for the following merge requests: - https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1195 - https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1201 - https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1218 Update `TestDockerCommandWithHelperImageConfig` to use one of the latest image that has the new commands, since the tag that is being used does not have the new commands which leads into a build failure. closes https://gitlab.com/gitlab-org/gitlab-runner/issues/4013
* | | | | | | | | Merge branch '4276-z-mode-not-longer-valid-for-volume-mounting' into 'master'Tomasz Maczukin2019-05-284-4/+27
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix support for SELinux volume mounts & case sensitivity Closes #4269 and #4276 See merge request gitlab-org/gitlab-runner!1381
| * | | | | | | | Fix SELinux volume mountingSteve Azzopardi2019-05-282-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regex does not match the following specification `/src:/dst:Z|z` which is a legit specification for SELinux https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label both `Z` and `z` mean different things and have a different meaning to the case sensitivity is important. closes https://gitlab.com/gitlab-org/gitlab-runner/issues/4276
| * | | | | | | | Fix volume mounting for case sensitivitySteve Azzopardi2019-05-273-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both for the volume spec and the setting up the Volume itself the string is being all lowered case which causes the following issues: 1. When directory has lower/upper case characters 1. When using the Z mode for SELinux https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label closes https://gitlab.com/gitlab-org/gitlab-runner/issues/4269
* | | | | | | | | Merge branch '4073-remove-deprecated-k8s-entrypoint-ff' into 'master'Steve Azzopardi2019-05-282-94/+2
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove support for deprecated entrypoint configuration for K8S Closes #4073 See merge request gitlab-org/gitlab-runner!1369
| * | | | | | | | Remove support for deprecated entrypoint configuration for K8STomasz Maczukin2019-05-272-94/+2
| |/ / / / / / /
* | | | | | | | Merge branch 'fix-4253-created-logging-attribute-overloading' into 'master'Steve Azzopardi2019-05-241-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update logging key for Docker Machine Closes #4253 See merge request gitlab-org/gitlab-runner!1361
| * | | | | | | | Rename 'created' to 'lifetime' when logging about a machine. Fixes #4253Craig Miskell2019-05-221-1/+1
| | | | | | | | |
* | | | | | | | | Merge branch 'make-docker-windows-to-work-only-on-windows' into 'master'Tomasz Maczukin2019-05-242-49/+50
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Limit `docker-windows` to Windows Closes #4255 See merge request gitlab-org/gitlab-runner!1362