Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
7117b924ac
commit
5767944837
9 changed files with 34 additions and 32 deletions
|
@ -208,16 +208,18 @@ module Ci
|
|||
Arel.sql("(#{arel_tag_names_array.to_sql})")
|
||||
]
|
||||
|
||||
group(*unique_params).pluck('array_agg(ci_runners.id)', *unique_params).map do |values|
|
||||
Gitlab::Ci::Matching::RunnerMatcher.new({
|
||||
runner_ids: values[0],
|
||||
runner_type: values[1],
|
||||
public_projects_minutes_cost_factor: values[2],
|
||||
private_projects_minutes_cost_factor: values[3],
|
||||
run_untagged: values[4],
|
||||
access_level: values[5],
|
||||
tag_list: values[6]
|
||||
})
|
||||
::Gitlab::Database.allow_cross_joins_across_databases(url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/339621') do
|
||||
group(*unique_params).pluck('array_agg(ci_runners.id)', *unique_params).map do |values|
|
||||
Gitlab::Ci::Matching::RunnerMatcher.new({
|
||||
runner_ids: values[0],
|
||||
runner_type: values[1],
|
||||
public_projects_minutes_cost_factor: values[2],
|
||||
private_projects_minutes_cost_factor: values[3],
|
||||
run_untagged: values[4],
|
||||
access_level: values[5],
|
||||
tag_list: values[6]
|
||||
})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ GET /users
|
|||
]
|
||||
```
|
||||
|
||||
You can also search for users by name or primary email using `?search=`. For example. `/users?search=John`.
|
||||
You can also search for users by name, username, primary email, or secondary email, by using `?search=`. For example. `/users?search=John`.
|
||||
|
||||
In addition, you can lookup users by username:
|
||||
|
||||
|
|
|
@ -328,6 +328,8 @@ Vulnerability rules in an API scan are different than those in a normal website
|
|||
|
||||
A new DAST API scanning engine is available in GitLab 13.12 and later. For more details, see [DAST API scanning engine](../dast_api). The new scanning engine supports REST, SOAP, GraphQL, and generic APIs using forms, XML, and JSON. Testing can be performed using OpenAPI, Postman Collections, and HTTP Archive (HAR) documents.
|
||||
|
||||
The target API instance’s base URL is provided by using the `DAST_API_TARGET_URL` variable or an `environment_url.txt` file.
|
||||
|
||||
#### Specification format
|
||||
|
||||
API scans support OpenAPI V2 and OpenAPI V3 specifications. You can define these specifications using `JSON` or `YAML`.
|
||||
|
@ -339,7 +341,7 @@ The specification does not have to be hosted on the same host as the API being t
|
|||
|
||||
```yaml
|
||||
include:
|
||||
- template: DAST.gitlab-ci.yml
|
||||
- template: DAST-API.gitlab-ci.yml
|
||||
|
||||
variables:
|
||||
DAST_API_OPENAPI: http://my.api/api-specification.yml
|
||||
|
@ -390,7 +392,7 @@ the following DAST configuration can be used:
|
|||
|
||||
```yaml
|
||||
include:
|
||||
- template: DAST.gitlab-ci.yml
|
||||
- template: DAST-API.gitlab-ci.yml
|
||||
|
||||
variables:
|
||||
DAST_API_OPENAPI: http://api-test.host.com/api-specification.yml
|
||||
|
@ -405,7 +407,7 @@ Headers are applied to every request DAST makes.
|
|||
|
||||
```yaml
|
||||
include:
|
||||
- template: DAST.gitlab-ci.yml
|
||||
- template: DAST-API.gitlab-ci.yml
|
||||
|
||||
variables:
|
||||
DAST_API_OPENAPI: http://api-test.api.com/api-specification.yml
|
||||
|
|
|
@ -41,7 +41,7 @@ For more information, see [projects members documentation](project/members/index
|
|||
|
||||
The following table lists project permissions available for each role:
|
||||
|
||||
<!-- Keep this table sorted: first, by minimum role, then alphabetically. -->
|
||||
<!-- Keep this table sorted: By topic first, then by minimum role, then alphabetically. -->
|
||||
|
||||
| Action | Guest | Reporter | Developer | Maintainer | Owner |
|
||||
|-------------------------------------------------------------------------------------------------------------------------|----------|----------|-----------|------------|-------|
|
||||
|
@ -98,6 +98,10 @@ The following table lists project permissions available for each role:
|
|||
| [Issues](project/issues/index.md):<br>Set issue [time tracking](project/time_tracking.md) estimate and time spent | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Issues](project/issues/index.md):<br>Upload [Design Management](project/issues/design_management.md) files | | | ✓ | ✓ | ✓ |
|
||||
| [Issues](project/issues/index.md):<br>Delete | | | | | ✓ |
|
||||
| [License Compliance](compliance/license_compliance/index.md):<br>View allowed and denied licenses **(ULTIMATE)** | ✓ (*1*) | ✓ | ✓ | ✓ | ✓ |
|
||||
| [License Compliance](compliance/license_compliance/index.md):<br>View License Compliance reports **(ULTIMATE)** | ✓ (*1*) | ✓ | ✓ | ✓ | ✓ |
|
||||
| [License Compliance](compliance/license_compliance/index.md):<br>View License list **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [License Compliance](compliance/license_compliance/index.md):<br>Manage license policy **(ULTIMATE)** | | | | ✓ | ✓ |
|
||||
| [Merge requests](project/merge_requests/index.md):<br>Assign reviewer | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Merge requests](project/merge_requests/index.md):<br>See list | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Merge requests](project/merge_requests/index.md):<br>Apply code change suggestions | | | ✓ | ✓ | ✓ |
|
||||
|
@ -109,6 +113,9 @@ The following table lists project permissions available for each role:
|
|||
| [Merge requests](project/merge_requests/index.md):<br>Manage or accept | | | ✓ | ✓ | ✓ |
|
||||
| [Merge requests](project/merge_requests/index.md):<br>Manage merge approval rules (project settings) | | | | ✓ | ✓ |
|
||||
| [Merge requests](project/merge_requests/index.md):<br>Delete | | | | | ✓ |
|
||||
| [Metrics dashboards](../operations/metrics/dashboards/index.md):<br>Manage user-starred metrics dashboards (*7*) | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Metrics dashboards](../operations/metrics/dashboards/index.md):<br>View metrics dashboard annotations | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Metrics dashboards](../operations/metrics/dashboards/index.md):<br>Create/edit/delete metrics dashboard annotations | | | ✓ | ✓ | ✓ |
|
||||
| [Package registry](packages/index.md):<br>Pull package | ✓ (*1*) | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Package registry](packages/index.md):<br>Publish package | | | ✓ | ✓ | ✓ |
|
||||
| [Package registry](packages/index.md):<br>Delete package | | | | ✓ | ✓ |
|
||||
|
@ -134,6 +141,7 @@ The following table lists project permissions available for each role:
|
|||
| [Projects](project/index.md):<br>Add deploy keys | | | | ✓ | ✓ |
|
||||
| [Projects](project/index.md):<br>Add new team members | | | | ✓ | ✓ |
|
||||
| [Projects](project/index.md):<br>Change [project features visibility](../public_access/public_access.md) level | | | | ✓ (14) | ✓ |
|
||||
| [Projects](project/index.md):<br>Configure [webhooks](project/integrations/webhooks.md) | | | | ✓ | ✓ |
|
||||
| [Projects](project/index.md):<br>Delete [wiki](project/wiki/index.md) pages | | | | ✓ | ✓ |
|
||||
| [Projects](project/index.md):<br>Edit comments (posted by any user) | | | | ✓ | ✓ |
|
||||
| [Projects](project/index.md):<br>Edit project badges | | | | ✓ | ✓ |
|
||||
|
@ -168,6 +176,9 @@ The following table lists project permissions available for each role:
|
|||
| [Repository](project/repository/index.md):<br>Remove fork relationship | | | | | ✓ |
|
||||
| [Repository](project/repository/index.md):<br>Force push to protected branches (*4*) | | | | | |
|
||||
| [Repository](project/repository/index.md):<br>Remove protected branches (*4*) | | | | | |
|
||||
| [Requirements Management](project/requirements/index.md):<br>Archive / reopen **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Requirements Management](project/requirements/index.md):<br>Create / edit **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Requirements Management](project/requirements/index.md):<br>Import / export **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Security dashboard](application_security/security_dashboard/index.md):<br>View Security reports **(ULTIMATE)** | ✓ (*3*) | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Security dashboard](application_security/security_dashboard/index.md):<br>Create issue from vulnerability finding **(ULTIMATE)** | | | ✓ | ✓ | ✓ |
|
||||
| [Security dashboard](application_security/security_dashboard/index.md):<br>Create vulnerability from vulnerability finding **(ULTIMATE)** | | | ✓ | ✓ | ✓ |
|
||||
|
@ -184,17 +195,6 @@ The following table lists project permissions available for each role:
|
|||
| [Test cases](../ci/test_cases/index.md):<br>Create | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Test cases](../ci/test_cases/index.md):<br>Move | | ✓ | ✓ | ✓ | ✓ |
|
||||
| [Test cases](../ci/test_cases/index.md):<br>Reopen | | ✓ | ✓ | ✓ | ✓ |
|
||||
| Manage user-starred metrics dashboards (*7*) | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||
| View allowed and denied licenses **(ULTIMATE)** | ✓ (*1*) | ✓ | ✓ | ✓ | ✓ |
|
||||
| View License Compliance reports **(ULTIMATE)** | ✓ (*1*) | ✓ | ✓ | ✓ | ✓ |
|
||||
| Archive/reopen requirements **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| Create/edit requirements **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| Import/export requirements **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| View License list **(ULTIMATE)** | | ✓ | ✓ | ✓ | ✓ |
|
||||
| View metrics dashboard annotations | | ✓ | ✓ | ✓ | ✓ |
|
||||
| Create/edit/delete metrics dashboard annotations | | | ✓ | ✓ | ✓ |
|
||||
| Configure project hooks | | | | ✓ | ✓ |
|
||||
| Manage license policy **(ULTIMATE)** | | | | ✓ | ✓ |
|
||||
|
||||
1. Guest users are able to perform this action on public and internal projects, but not private projects. This doesn't apply to [external users](#external-users) where explicit access must be given even if the project is internal.
|
||||
1. Guest users can only view the [confidential issues](project/issues/confidential_issues.md) they created themselves.
|
||||
|
|
|
@ -6,7 +6,7 @@ product_stage:
|
|||
product_group:
|
||||
product_category:
|
||||
value_type: <%= value_type %>
|
||||
status: implemented
|
||||
status: active
|
||||
milestone: "<%= milestone %>"
|
||||
introduced_by_url:
|
||||
time_frame: <%= time_frame %>
|
||||
|
|
|
@ -7,7 +7,7 @@ product_stage:
|
|||
product_group:
|
||||
product_category:
|
||||
value_type: number
|
||||
status: implemented
|
||||
status: active
|
||||
milestone: "13.9"
|
||||
introduced_by_url:
|
||||
time_frame: 7d
|
||||
|
|
|
@ -7,7 +7,7 @@ product_stage:
|
|||
product_group:
|
||||
product_category:
|
||||
value_type: number
|
||||
status: implemented
|
||||
status: active
|
||||
milestone: "13.9"
|
||||
introduced_by_url:
|
||||
time_frame: 7d
|
||||
|
|
|
@ -8,7 +8,7 @@ product_stage:
|
|||
product_group:
|
||||
product_category:
|
||||
value_type: number
|
||||
status: implemented
|
||||
status: active
|
||||
milestone: "13.9"
|
||||
introduced_by_url:
|
||||
time_frame: 7d
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
- "./ee/spec/services/ci/minutes/refresh_cached_data_service_spec.rb"
|
||||
- "./ee/spec/services/ci/pipeline_creation/drop_not_runnable_builds_service_spec.rb"
|
||||
- "./ee/spec/services/ci/process_pipeline_service_spec.rb"
|
||||
- "./ee/spec/services/ci/retry_build_service_spec.rb"
|
||||
- "./ee/spec/services/ci/retry_pipeline_service_spec.rb"
|
||||
- "./ee/spec/services/ci/trigger_downstream_subscription_service_spec.rb"
|
||||
- "./ee/spec/services/clear_namespace_shared_runners_minutes_service_spec.rb"
|
||||
|
@ -331,7 +330,6 @@
|
|||
- "./spec/services/ci/pipeline_processing/shared_processing_service_tests_with_yaml.rb"
|
||||
- "./spec/services/ci/play_build_service_spec.rb"
|
||||
- "./spec/services/ci/register_job_service_spec.rb"
|
||||
- "./spec/services/ci/retry_build_service_spec.rb"
|
||||
- "./spec/services/ci/retry_pipeline_service_spec.rb"
|
||||
- "./spec/services/ci/update_build_queue_service_spec.rb"
|
||||
- "./spec/services/clusters/applications/prometheus_config_service_spec.rb"
|
||||
|
|
Loading…
Reference in a new issue