| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When Kubernetes clusters were originally built they could only
exist at the project level, and so there was logic included
that assumed there would only ever be a single Kubernetes
namespace per cluster. We now support clusters at the group
and instance level, which allows multiple namespaces.
This change consolidates various project-specific fallbacks to
generate namespaces, and hands all responsibility to the
Clusters::KubernetesNamespace model. There is now no concept of
a single namespace for a Clusters::Platforms::Kubernetes; to
retrieve a namespace a project must now be supplied in all cases.
This simplifies upcoming work to use a separate Kubernetes
namespace per project environment (instead of a namespace
per project).
|
|\
| |
| |
| |
| |
| |
| | |
API: Fix recursive flag not working with Rugged get_tree_entries flag
Closes #61979
See merge request gitlab-org/gitlab-ce!28494
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Attempting to use the API endpoint
/projects/:id/repository/tree?recursive=true would only return a subset
of the results since the full recursive list wasn't actually being
returned.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61979
|
| |
| |
| | |
This reverts merge request !27474
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Include type to notes import / export
Closes #49517
See merge request gitlab-org/gitlab-ce!28401
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Rescue too many loops cron error
Closes #58241
See merge request gitlab-org/gitlab-ce!28002
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58241
* Upgrade Fugit gem to 1.2.1 which recognizes cron expressions
for invalid days
* Reverted previously implemented workaround
* Leave test case which previously exposed the bug
|
| | |
| | |
| | |
| | |
| | |
| | | |
With this workaround we temporarily prevent an
exception from Fugit gem to be raised in
Gitlab::Ci::CronParser
|
| | | |
|
| |/
|/|
| |
| |
| |
| | |
PoolRepository is a relatively new model of which the counts could help
to further determine the priority of new features. Also gives some
insight into the number of forks customers have.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Part of adding Let's Encrypt certificates for pages domains
Add acme-client gem
Client is being initialized by private key stored in secrets.yml
Let's Encrypt account is being created lazily.
If it's already created, Acme::Client just gets account_kid by
calling new_account method
Make Let's Encrypt client an instance
Wrap order and challenge classes
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add correlation id to all sentry errors
Closes #61699
See merge request gitlab-org/gitlab-ce!28253
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Before this, we were only adding the correlation id to the "acceptable
exceptions" which we handle in code.
But we need to add it to the default raven context so the information
would be available for uncaught exceptions.
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| | |
This will avoid timestamp comparison issues later within equality check
with attributes
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Resolve "Add new Unicorn metrics"
Closes #56850
See merge request gitlab-org/gitlab-ce!27474
|
| | |
|
| |
| |
| |
| |
| |
| | |
This updates monitor docs to reflect the new ruby and unicorn metrics as
well as making it so we fetch process start time via the proc table
instead of via CLOCK_BOOTTIME
|
| |
| |
| |
| |
| | |
These metrics are not unicorn specific and can be used across ruby
processes
|
| |
| |
| |
| |
| |
| | |
This adds new metrics for monitoring unicorn. These metrics include
process_cpu_seconds_total, process_start_time_seconds, process_max_fds,
and unicorn_workers.
|
| |
| |
| |
| |
| |
| | |
Issues and merge requests imported from GitHub are having state_id
set to null. This fixes the GitHub project importer and schedule
migrations to fix state_id.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Remove cleaned up OIDs from database and cache
Closes #30093
See merge request gitlab-org/gitlab-ce!26555
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Add client methods for DisconnectGitAlternates rpc
See merge request gitlab-org/gitlab-ce!27938
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
DisconnectGitAlternates is a Gitaly RPC that will delete a repository's
objects/info/alternates file. This commit adds client support for that
RPC.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Fix duplicate merge request pipelines created by Sidekiq worker retry
See merge request gitlab-org/gitlab-ce!26643
|
| | | |
| | | |
| | | |
| | | | |
Refactor
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Session stored globally per request
See merge request gitlab-org/gitlab-ce!27658
|
| | | |
| | | |
| | | |
| | | |
| | | | |
- This can be accessed with Session.current and is restored after.
- Data can be stored under a key with NamespacedSessionStore
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
When this option is enabled, GitLab will create namespaces and service
accounts as usual. When disabled, GitLab wont create any project
specific kubernetes resources
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PackRefs is not an expensive gitaly call - we want to
call it more often (than as part of full `gc`) because
it helps to keep number of refs files small - too many
refs file may be a problem for deployments with
slow storage.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Adds an endpoint on PipelinesController
- Adds a service that iterates over every build in a stage and
plays it.
- Includes 'play_manual' details on EntitySerializer
- Builds a new Stage state: PlayManual. An stage can take this status if
it has manual builds or an skipped, scheduled or manual status
- Includes FE modifications and specs
|
| | |
| | |
| | |
| | |
| | | |
Include link to user and commit title.
Rearrange text
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'53064-bypassing-pipeline-jobs-by-canceling-the-pipeline-and-manually-running-later-jobs' into 'master'
Disable retrying cancelled jobs
Closes #53064
See merge request gitlab-org/gitlab-ce!27503
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Specs that test canceled jobs now
- expect them not to be retryable or playable
- expect them not to show retry buttons
Specs that test retryability now
- use failed status instead of canceled status
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Extends existing graphql's tracer with opentracing measurements. Because
it also adds Tracing::Graphql class (for opentracing), it also renames
Graphql::Tracing class to Graphql::GenericTracing to minimize confusion
with similar class names.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updates the EnvironmentController#metrics_dashboard endpoint
to support a "dashboard" param, which can be used to specify
the filepath of a dashboard configuration from a project
repository. Dashboard configurations are expected to be
stored in .gitlab/dashboards/.
Updates dashboard post-processing steps to exclude custom
metrics, which should only display on the system dashboard.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Add client methods for FetchIntoObjectPool RPC
See merge request gitlab-org/gitlab-ce!27767
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an
object pool. If the pool doesn't exist, it will create an empty pool
before attempting the fetch. This change adds client code as well as
specs to cover this behavior.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use correct k8s namespace in Prometheus queries
See merge request gitlab-org/gitlab-ce!27812
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Before this commit the wrong namespace could have been used in
Prometheus queries for group-level installations.
|
| | | | | | |
|
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use keyword args for databuilder push
See merge request gitlab-org/gitlab-ce!24088
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
Port changes for design management to CE
See merge request gitlab-org/gitlab-ce!27555
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This ports the changes from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/
to CE
|