| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
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 endpoint to delete/uninstall a cluster application
|
|
|
|
|
|
|
|
| |
When showing the HTML version of the environment metrics we don't need
to fetch their metrics because we don't use them anymore on the HTML
version.
We use additional_metrics.json endpoint now.
|
|\
| |
| |
| |
| |
| |
| | |
Create dashboards endpoint & setup dashboard post-processing
Closes #60383
See merge request gitlab-org/gitlab-ce!27405
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Change MetricsDashboard::Service to inherit from BaseService so that
it can reuse methods like initialize, success, error.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This new table will be used to store the external_dashboard_url which
allows users to add a link to their external dashboards (ex Grafana)
to the Metrics dashboard.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Refactor operations controller spec
Closes #57171
See merge request gitlab-org/gitlab-ce!27558
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- Rename the shared_context
- Use expect in stub_operations_update_service_returning.
|
| | |
| | |
| | |
| | |
| | | |
- Move specs into a shared_context so that they can be reused.
- Move common specs out of a more specific context.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use wiki partial in search results
Closes #60906
See merge request gitlab-org/gitlab-ce!27634
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Inside a wiki, when we show the sidebar or browse to the `pages`,
all page contents are retrieved from Gitaly and that is a waste
of resources, since no content from that pages are going to be
showed.
This MR introduces the method `ProjectWiki#list_pages`,
which uses new wiki_list_pages RPC call to retrieve
pages without content
Also in the `WikisController` we're using the method to show
pages in the sidebar and also on the `pages` page.
|
| |/
|/| |
|
| |
| |
| |
| | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'60569-timeline-entry-label-link-is-not-applying-the-filter-on-issues' into 'master'
Adds `label_name` back as a scalar param in `IssuableFinder`
Closes #60569
See merge request gitlab-org/gitlab-ce!27507
|
| |/
| |
| |
| | |
This was removed by a previous MR but broke some links
|
|/
|
|
|
| |
This ensures the return value is consistent if the source and/or
branch do not exist.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change is a fairly straightforward refactor to extract the tracing
and correlation-id code from the gitlab rails codebase into the new
LabKit-Ruby project.
The corresponding import into LabKit-Ruby was in
https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1
The code itself remains very similar for now.
Extracting it allows us to reuse it in other projects, such as
Gitaly-Ruby. This will give us the advantages of correlation-ids and
distributed tracing in that project too.
|
|
|
|
|
|
| |
- In prometheus proxy api, allow variables to be replaced. For example,
if 'up{env="%{ci_environment_slug}"}' is passed to the endpoint, it
becomes 'up{env="production"}' before being sent to prometheus.
|
|\
| |
| |
| |
| |
| |
| | |
Validate refs used in controllers don't have spaces
Closes #58572 and gitaly#1425
See merge request gitlab-org/gitlab-ce!24037
|
| |
| |
| |
| |
| |
| |
| | |
This avoids an unnecessary call to Gitaly and reduces gRPC errors.
* Closes https://gitlab.com/gitlab-org/gitaly/issues/1425
* Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58572
|
|/
|
|
|
|
|
|
|
|
| |
Adds frozen string to the following:
* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb
xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
|
|
|
|
|
|
|
| |
Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement.
Make use of the options attribute of the parent class ActiveModel::EachValidator.
Add more options: allow_nil, allow_blank, message.
Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
|
|
|
|
| |
spec/features/groups/group_page_with_external_authorization_service_spec to EE
|
|\
| |
| |
| |
| | |
[Backport] Support multiple assignees for merge requests
See merge request gitlab-org/gitlab-ce!27089
|
| |
| |
| |
| |
| | |
Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161
(code out of ee/ folder).
|
| | |
|
|/
|
|
| |
Also set the release sha and author
|
|
|
|
|
|
| |
Accessing /namespace/project/tree/master appears to query
FindCommit 5 times with identical parameters. This reduces
the number of FindCommit queries to 1.
|
|
|
|
|
|
|
|
|
|
|
| |
This enables FindCommit caching to the following actions:
* BlobController#show
* RefsController#logs_tree
It also improves caching in CommitsController since some
duplicate requests were occuring inside the before_action
definitions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add columns to store project creation settings
Add project creation level column in groups
and default project creation column in application settings
Remove obsolete line from schema
Update migration with project_creation_level column existence check
Rename migrations to avoid conflicts
Update migration methods
Update migration method
|
|\
| |
| |
| |
| | |
Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"
See merge request gitlab-org/gitlab-ce!27051
|
| |
| |
| | |
This reverts merge request !26823
|
|/
|
|
|
| |
This reduces a handful of duplicate FindCommit calls while viewing the
projects and commits pages.
|
|
|
|
| |
spec/features/groups/group_page_with_external_authorization_service_spec to EE
|
|\
| |
| |
| |
| |
| |
| | |
Add a prometheus proxy API per environment
Closes #58375
See merge request gitlab-org/gitlab-ce!26841
|
| | |
|
| |
| |
| |
| | |
The names can change in different runs of the spec.
|
| | |
|
| |
| |
| |
| | |
- It is now being done in ProxyService class.
|
| | |
|
| | |
|