Loading
Commits on Source 91
-
Filip Aleksic authored
-
Hannes Hörl authored
For ubi-fips: Uses base images with a bumped version of `expat`, which is not vulnerable anymore.
-
Georgi N. Georgiev | GitLab authored
-
-
Roshni Sarangadharan authored
Remove outdated mentions See merge request !5510 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Filip Aleksic <faleksic@gitlab.com>
-
-
Roshni Sarangadharan authored
Add instructions for installing prebuilt images while using binaries See merge request gitlab-org/gitlab-runner!5508 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Georgi N. Georgiev <ggeorgiev@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Priyan Sureshbabu <psureshbabu@gitlab.com>
-
Evan Read authored
-
-
Lorena Ciutacu authored
Remove "Autoscaler algorithm and parameters" from the GitLab Runner instance group autoscaler page See merge request !5517 Merged-by:
Lorena Ciutacu <lciutacu@gitlab.com> Approved-by:
Justin Farmiloe <jfarmiloe@gitlab.com> Approved-by:
Lorena Ciutacu <lciutacu@gitlab.com> Reviewed-by:
Lorena Ciutacu <lciutacu@gitlab.com> Co-authored-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com>
-
Georgi N. Georgiev | GitLab authored
Remove outdated registration in test script See merge request !5511 Merged-by:
Georgi N. Georgiev <ggeorgiev@gitlab.com> Approved-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Georgi N. Georgiev <ggeorgiev@gitlab.com> Co-authored-by:
Filip Aleksic <faleksic@gitlab.com>
-
Axel von Bertoldi authored
Retry packagecloud 504 errors See merge request !5520 Merged-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Co-authored-by:
Georgi N. Georgiev <ggeorgiev@gitlab.com>
-
Axel von Bertoldi authored
Reimplement pull-policy validation See merge request https://gitlab.com/gitlab-org/security/gitlab-runner/-/merge_requests/75 Merged-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com> Reviewed-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com>
-
Hannes Hörl authored
Bump base images to address CVE-2024-8176 Closes #38738 and #38739 See merge request gitlab-org/gitlab-runner!5518 Merged-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com> Approved-by:
Romuald Atchadé <ratchade@gitlab.com> Co-authored-by:
Hannes Hörl <hhoerl@gitlab.com>
-
Evan Read authored
Use Hugo 0.145.0 for docs builds See merge request gitlab-org/gitlab-runner!5521 Merged-by:
Evan Read <eread@gitlab.com> Approved-by:
Michael Belton <mbelton@gitlab.com> Approved-by:
Axel von Bertoldi <avonbertoldi@gitlab.com>
-
-
Roshni Sarangadharan authored
docs: Add troubleshooting section for AZRebalance issue See merge request gitlab-org/gitlab-runner!5494 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Sarah Crowle <scrowle@gitlab.com>
-
Axel von Bertoldi authored
Reimplement pull-policy validation Closes #37859 and #38706 See merge request gitlab-org/gitlab-runner!5514 Merged-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com>
-
-
Roshni Sarangadharan authored
Add note regarding support for only Azure VMSS Uniform Orchestration mode See merge request gitlab-org/gitlab-runner!5526 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Darren Eastman <deastman@gitlab.com> -
-
Roshni Sarangadharan authored
Deprecate ServiceAccountName See merge request gitlab-org/gitlab-runner!5523 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Georgi N. Georgiev <ggeorgiev@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Julius Kvedaras <jkvedaras@gitlab.com>
-
Joe Randazzo authored
-
-
Roshni Sarangadharan authored
Add recommendation to read Readme for plugin before installing See merge request gitlab-org/gitlab-runner!5530 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Alvin Gounder <agounder@gitlab.com>
-
Roshni Sarangadharan authored
Remove section referring to unapplied breaking change See merge request gitlab-org/gitlab-runner!5529 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Joe Randazzo <jrandazzo@gitlab.com>
-
Add error message on cache upload failures Closes #4127 See merge request gitlab-org/gitlab-runner!5527 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Axel von Bertoldi <avonbertoldi@gitlab.com>
-
Wait for MR image before starting runner incept See merge request gitlab-org/gitlab-runner!5528 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Axel von Bertoldi <avonbertoldi@gitlab.com>
-
Axel von Bertoldi authored
-
Axel von Bertoldi authored
Invalid executor options and invalid step-job request are both clearly a user ConfigurationError, not a RunnerSystemFailure. I also updated the name of the exit code to be more generic.
-
Axel von Bertoldi authored
If an image pull fails because the image name/spec is invalid, it's clearly a configuration (i.e. user) error.
-
Axel von Bertoldi authored
If a steps run finished with a StateCancelled state, that's clearly a JobCanceled failure!
-
Axel von Bertoldi authored
Specifically, if the main context timed out or was cancelled, make the `failure_reason` `job_execution_timeout` or `job_canceled` respectively.
-
Axel von Bertoldi authored
Distinguish between image pull failures due to an invalid image or a real pull error. The former is considered a configuration error. This more closely matches the behaviour in the kubernetes image puller.
-
Axel von Bertoldi authored
The comment states that JobCanceled is only used within runner, but this is true of other JobFailureReasons that appear in allFailureReasons. I don't see why JobCanceled should be excluded here.
-
Axel von Bertoldi authored
Unless a valid `JobFailureReason` is specified by wrapping an `error` in a `BuildError`, errors will eventually be wrapped to a `BuildError` with a `JobFailureReason` of `ScriptFailure`. However, errors that occur in the `Prepare` and post `after_script` (i.e. cache/artifact upload) phases should not map to `ScriptFailures` since we're not even running a user script! RunnerSystemFailure is the best alternative JobFailureReason.
-
Axel von Bertoldi authored
This method, and they accompanying change in MakeBuildError's return type will let callers do the following: MakeBuildError(...).WithFailureReason(...) I'll use this in the next few commits to set FailureReason on BuildErrors. -
Axel von Bertoldi authored
These are clearly configuration errors.
-
Axel von Bertoldi authored
These clearly look like configuration errors.
-
Axel von Bertoldi authored
And empty service image is definitely a configuration error. Failure to create a step-request from a Build could in theory be considered a RunnerSystemFailure (though I can't think of any concrete cases right now), but most of the time it will be a configuration error.
-
Axel von Bertoldi authored
In the docker executor, a missing volumeParser instance is definitely an internal error.
-
Axel von Bertoldi authored
Improve runner build failure reasons See merge request gitlab-org/gitlab-runner!5531 Merged-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Romuald Atchadé <ratchade@gitlab.com> Reviewed-by:
Romuald Atchadé <ratchade@gitlab.com>
-
Toon Claes authored
To make it easier to run the tests locally, loosen the tests that checks the http.userAgent string.
-
Toon Claes authored
We're about implement the use of git-clone(1) depending on the GIT_STRATEGY. This implementation needs to setup a template dir, just as the 'fetch' strategy currently does. To reuse the setup code of the template dir, extract it into a function setupTemplateDir().
-
Toon Claes authored
In the past, the GIT_STRATEGY 'clone' used to use git-clone(1), but at some point we needed clone a specific reference. For example for merged result pipelines we'd clone refs/merge-requests/<iid>/merge. It is not possible with git-clone(1) a ref, so the implementation was rewritten to use git-init(1) + git-fetch(1). Now we've been working to upstream changes to Git and soon it will support argument `--ref`. This option allows use to use git-clone(1) to clone and checkout a specific reference. Prepare the code to use git-clone(1) with argument `--revisio`. The changes are behind feature flag FF_USE_GIT_NATIVE_CLONE, and only should be used if a the helper image contains a Git version that supports `--revision`. Issue: #37947
-
Toon Claes authored
Because only Git from version 2.49 supports option `--revision` for `git-clone(1)`, add a if guard around the use of that option. This if guard tests if the Git version is 2.49 or above. It uses option `--version-sort` for `sort(1)`. At the moment this if guard is only implemented in the `BashWriter`, other shell do not yet support this version check. Because the majority of runners uses bash anyway, we'll take this as a first iteration.
-
Axel von Bertoldi authored
...to pick up gitlab-org/fleeting/fleeting!52
-
Axel von Bertoldi authored
shells: Implement the use of git-clone(1) again Closes #37947 See merge request gitlab-org/gitlab-runner!5010 Merged-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Toon Claes <toon@gitlab.com>
-
Axel von Bertoldi authored
Update fleeting dependency See merge request gitlab-org/gitlab-runner!5535 Merged-by:
Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Arran Walker <ajwalker@gitlab.com>
-
-
Joe Burnett authored
Create Japanese documentation directory See merge request gitlab-org/gitlab-runner!5513 Merged-by:
Joe Burnett <jburnett@gitlab.com>
Approved-by: Marcel Amirault <mamirault@gitlab.com> Reviewed-by:
Marcel Amirault <mamirault@gitlab.com> Co-authored-by:
rasamhossain <rhossain@gitlab.com>
-
Promote FF_RETRIEVE_POD_WARNING_EVENTS to a config print_pod_warning_events Closes #38479 and gitlab-org/charts/gitlab-runner#499 See merge request !5377 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Georgi N. Georgiev <ggeorgiev@gitlab.com> Reviewed-by:
Georgi N. Georgiev <ggeorgiev@gitlab.com> Reviewed-by:
Romuald Atchadé <ratchade@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com>
-
Georgi N. Georgiev | GitLab authored
-
Update GPG key expiry date See merge request gitlab-org/gitlab-runner!5539 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Gonzalo Servat <gservat@gitlab.com>
Approved-by: Romuald Atchadé <ratchade@gitlab.com> Co-authored-by:
ggeorgiev_gitlab <ggeorgiev@gitlab.com>
-
Make dependant docker images optional for runner incept See merge request !5538 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com>
-
-
Roshni Sarangadharan authored
Adding How To Configure PVC Cache See merge request !5536 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Anthony Subia <asubia@gitlab.com>
-
Add support for uid:gid format for Kubernetes executor options See merge request !5540 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Arran Walker <ajwalker@gitlab.com> Reviewed-by:
Romuald Atchadé <ratchade@gitlab.com>
-
Marcel Amirault authored
-
-
Evan Read authored
Sync vale rules from main repo See merge request !5549 Merged-by:
Evan Read <eread@gitlab.com> Approved-by:
Evan Read <eread@gitlab.com> Co-authored-by:
Marcel Amirault <mamirault@gitlab.com>
-
Roshni Sarangadharan authored
Clean up tables in runner docs See merge request !5548 Merged-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Marcel Amirault <mamirault@gitlab.com>
-
Suppress unnecessary warnings when Kubernetes user values are empty See merge request gitlab-org/gitlab-runner!5551 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Joe Burnett <jburnett@gitlab.com>
Reviewed-by:
Joe Burnett <jburnett@gitlab.com> -
-
Marcel Amirault authored
Add argo_translation.yml for continuous translation process Closes gitlab-com/localization/docs-site-localization#209 See merge request !5541 Merged-by:
Marcel Amirault <mamirault@gitlab.com> Approved-by:
Marcel Amirault <mamirault@gitlab.com> Reviewed-by:
Marcel Amirault <mamirault@gitlab.com> Co-authored-by:
Lauren Barker <lbarker@gitlab.com>
-
Arran Walker authored
-
Arran Walker authored
-
Arran Walker authored
Remove github.com/docker/machine library dependency See merge request !5554 Merged-by:
Arran Walker <ajwalker@gitlab.com> Approved-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com>
-
Arran Walker authored
Upgrade taskscaler dependency with updated heartbeat functionality See merge request gitlab-org/gitlab-runner!5553 Merged-by:
Arran Walker <ajwalker@gitlab.com> Approved-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com>
-
Transfer all available translations from the main-translation branch of our production fork to the upstream GitLab repository. Related to: gitlab-com/localization/docs-site-localization#174
-
Marcel Amirault authored
Update Markdownlint for JP Docs & Push Translations See merge request gitlab-org/gitlab-runner!5547 Merged-by:
Marcel Amirault <mamirault@gitlab.com> Approved-by:
Marcel Amirault <mamirault@gitlab.com> Reviewed-by:
Marcel Amirault <mamirault@gitlab.com> Co-authored-by:
Lauren Barker <lbarker@gitlab.com>
-
Arran Walker authored
-
Arran Walker authored
Add exponential backoff to execute stage retries See merge request gitlab-org/gitlab-runner!4517 Merged-by:
Arran Walker <ajwalker@gitlab.com> Approved-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com> Approved-by:
Nicole Williams <nwilliams@gitlab.com>
Reviewed-by: Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com>
-
Hannes Hörl authored
Users can still set it to false to opt out.
-
Hannes Hörl authored
The setup of the git credential helper has been pushed to the shell writer. With that we can react on differences between shells and versions thereof at runtime. We expose this through one method on the shell writer, handling all the business of: - replacing / pruning all other cred helpers - ensuring the git commands that run have their arguments escaped properly - configuring both the helper itself and the username What we do for the different versions: - Starting from 7.3 we can pass on args without special handling - Before 7.3 we generally need to handle args explicitly, ie. escape "special" things - For 7.2.x it depends on `PSNativeCommandArgumentPassing`¹: - if this feature is disabled, we also need to handle args specially - if this feature is enabled, we need to use it, but have control over exact behaviour via `PSNativeCommandArgumentPassing` To not run into issues with `$PSNativeCommandArgumentPassing`, we run all that in its own script block: this preference variable should only take effect for the current and child scopes, thus only for the (git) commands we run inside that script block. ¹ https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-7.5#psnativecommandargumentpassing -
Hannes Hörl authored
This method is not used anymore.
-
Hannes Hörl authored
Because we have special handling for older pwsh versions, we test against those version we have special code for. This test is very similar to TestGitCredHelper from the shells integration tests, but running on docker, which gives us the opportunity to use different pwsh versions, also in CI.
-
Hannes Hörl authored
This ensures the git credential helper works with the docker executor & the default helper images. It guards against regressions e.g. when we update the helper images.
-
Hannes Hörl authored
Because of the huge images, these just take too long. We still run the linux tests for the different pwsh versions. The code is left in, in case we wanted to enable those eventually.
-
FF_GIT_URLS_WITHOUT_TOKENS defaults to true Closes #38301, #29655, and #38773 See merge request gitlab-org/gitlab-runner!5525 Merged-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Romuald Atchadé <ratchade@gitlab.com> Approved-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Reviewed-by:
Hannes Hörl <2185075-hoegaarden@users.noreply.gitlab.com> Reviewed-by:
Romuald Atchadé <ratchade@gitlab.com> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com> Co-authored-by:
Hannes Hörl <hhoerl@gitlab.com>
-
Auto Runner Releaser authored
-
Add adaptive request concurrency See merge request gitlab-org/gitlab-runner!5546 Merged-by:
Arran Walker <ajwalker@gitlab.com> Approved-by:
Tomasz Maczukin <tomasz@maczukin.pl> Approved-by:
Nicole Williams <nwilliams@gitlab.com>
Reviewed-by: Tomasz Maczukin <tomasz@maczukin.pl> Reviewed-by:
Roshni Sarangadharan <rsarangadharan@gitlab.com>
-
Add more request_concurrency related metrics See merge request gitlab-org/gitlab-runner!5558 Merged-by:
Arran Walker <ajwalker@gitlab.com> Approved-by:
Arran Walker <ajwalker@gitlab.com> Co-authored-by:
Tomasz Maczukin <tomasz@maczukin.pl>
-
Auto Runner Releaser authored