| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
| |
(cherry picked from commit 6bff914ece7ee738d0831fdc2b5c2ea0f0245490)
|
| |
|
|
|
| |
Apply suggestions from review process. Use array of structs, with
a new authConfigResolver type for the functions.
|
| |
|
|
|
| |
For the purposes of understanding which authentication is being used,
I have modified the getAuthConfig method to indicate which method returned non-nil.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| |
| | |
Update some logrus fields used in Runner logs
See merge request gitlab-org/gitlab-runner!1405
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
Numerous typos were fixed. Some unused constants, variables and arguments were removed.
See merge request gitlab-org/gitlab-runner!1258
|
| | |
| |
| |
| | |
were removed.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Make volumes to work on linux docker on windows
Closes #4251
See merge request gitlab-org/gitlab-runner!1363
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix case sensitivity for windows volumes
Closes #4294
See merge request gitlab-org/gitlab-runner!1389
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
For every volume spec we are doing strings.ToLower so it's nice for it
to be consistent through the code.
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Allow configuration of Pod Security Context by Kubernetes Exeutor
See merge request gitlab-org/gitlab-runner!1036
|
| | |\| | |
|
| | | | | |
|
| | |\ \ \ |
|
| | |\ \ \ \ |
|
| | |\ \ \ \ \ |
|
| | | |\ \ \ \ \ |
|
| | | | | | | | | |
|
| | |\ \ \ \ \ \ \
| | |/ / / / / /
| |/| | | | | /
| | | |_|_|_|/
| | |/| | | | |
|
| | |\ \ \ \ \ \ |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| |\ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Remove deprecated clone/fetch command
Closes #4069
See merge request gitlab-org/gitlab-runner!1372
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Remove old docker helper image commands
Closes #4013
See merge request gitlab-org/gitlab-runner!1373
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
| |\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix support for SELinux volume mounts & case sensitivity
Closes #4269 and #4276
See merge request gitlab-org/gitlab-runner!1381
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
| |\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Remove support for deprecated entrypoint configuration for K8S
Closes #4073
See merge request gitlab-org/gitlab-runner!1369
|
| | |/ / / / / / / |
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Update logging key for Docker Machine
Closes #4253
See merge request gitlab-org/gitlab-runner!1361
|
| | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Limit `docker-windows` to Windows
Closes #4255
See merge request gitlab-org/gitlab-runner!1362
|