From f9e4f1b18a25e71bce52e282eab90acf91b3dbfe Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 6 Feb 2024 00:12:20 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- Gemfile | 2 +- Gemfile.checksum | 2 +- Gemfile.lock | 4 +- .../legacy_pipelines_table_wrapper.vue | 16 +- .../javascripts/projects/project_new.js | 14 +- .../user_settings/profiles_controller.rb | 4 + app/models/system_note_metadata.rb | 2 +- .../project_templates/_template.html.haml | 7 +- ...ts_unique_agents_via_ci_access_monthly.yml | 2 +- ..._unique_agents_via_user_access_monthly.yml | 2 +- ...sts_unique_users_via_ci_access_monthly.yml | 2 +- ...s_unique_users_via_user_access_monthly.yml | 2 +- ..._push_notified_unique_projects_monthly.yml | 2 +- ...s_unique_agents_via_pat_access_monthly.yml | 2 +- ...ts_unique_users_via_pat_access_monthly.yml | 2 +- ...templates_opentofu_base_latest_monthly.yml | 2 +- ...p_ci_templates_opentofu_latest_monthly.yml | 2 +- ...sts_unique_agents_via_ci_access_weekly.yml | 2 +- ...ests_unique_users_via_ci_access_weekly.yml | 2 +- ...s_unique_agents_via_user_access_weekly.yml | 2 +- ...ts_unique_users_via_user_access_weekly.yml | 2 +- ...t_push_notified_unique_projects_weekly.yml | 2 +- ...ts_unique_agents_via_pat_access_weekly.yml | 2 +- ...sts_unique_users_via_pat_access_weekly.yml | 2 +- ..._templates_opentofu_base_latest_weekly.yml | 2 +- ..._p_ci_templates_opentofu_latest_weekly.yml | 2 +- .../15-9-insecure-ci-job-token.yml | 2 +- .../16-3-CI-job-token-scope-update.yml | 2 +- .../16-5-ci-job-token-limit-setting.yml | 2 +- .../16-8-job-token-remove-scope-direction.yml | 2 +- db/docs/ci_resources.yml | 9 + doc/api/job_artifacts.md | 10 +- doc/api/project_job_token_scopes.md | 10 +- doc/architecture/blueprints/runway/index.md | 2 +- doc/ci/debugging.md | 2 +- doc/ci/git_submodules.md | 2 +- doc/ci/jobs/ci_job_token.md | 226 ++++++++---------- doc/ci/jobs/job_artifacts.md | 19 ++ doc/ci/pipelines/downstream_pipelines.md | 6 +- doc/update/deprecations.md | 8 +- doc/user/analytics/value_streams_dashboard.md | 5 +- .../policies/scan-execution-policies.md | 1 + .../packages/workflows/project_registry.md | 2 +- .../lib/gitlab/housekeeper/change.rb | 5 + .../spec/gitlab/housekeeper/change_spec.rb | 9 + lib/gitlab/gitaly_client/cleanup_service.rb | 21 ++ locale/gitlab.pot | 2 +- qa/Gemfile | 2 +- qa/Gemfile.lock | 24 +- qa/qa/page/project/new.rb | 1 - qa/qa/tools/reliable_report.rb | 2 +- qa/spec/tools/reliable_report_spec.rb | 2 +- spec/features/projects/new_project_spec.rb | 4 +- spec/features/projects_spec.rb | 4 +- .../legacy_pipelines_table_wrapper_spec.js | 7 +- .../gitaly_client/cleanup_service_spec.rb | 69 +++++- 56 files changed, 335 insertions(+), 214 deletions(-) diff --git a/Gemfile b/Gemfile index 865897f5eaa..01808e00091 100644 --- a/Gemfile +++ b/Gemfile @@ -557,7 +557,7 @@ gem 'ssh_data', '~> 1.3' # rubocop:todo Gemfile/MissingFeatureCategory gem 'spamcheck', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory # Gitaly GRPC protocol definitions -gem 'gitaly', '~> 16.9.0-rc2', feature_category: :gitaly +gem 'gitaly', '~> 16.9.0-rc3', feature_category: :gitaly # KAS GRPC protocol definitions gem 'kas-grpc', '~> 0.3.0', feature_category: :deployment_management diff --git a/Gemfile.checksum b/Gemfile.checksum index 64878c18f51..6f0edbf9de8 100644 --- a/Gemfile.checksum +++ b/Gemfile.checksum @@ -207,7 +207,7 @@ {"name":"gettext","version":"3.4.9","platform":"ruby","checksum":"292864fe6a15c224cee4125a4a72fab426fdbb280e4cff3cfe44935f549b009a"}, {"name":"gettext_i18n_rails","version":"1.11.0","platform":"ruby","checksum":"e19c7e4a256c500f7f38396dca44a282b9838ae278f57c362993a54964b22bbe"}, {"name":"git","version":"1.18.0","platform":"ruby","checksum":"c9b80462e4565cd3d7a9ba8440c41d2c52244b17b0dad0bfddb46de70630c465"}, -{"name":"gitaly","version":"16.9.0.pre.rc2","platform":"ruby","checksum":"6b2066f8df33ddeef9daeb02f0d749d64c6f2e970c8ba3fa14daf520799c9e32"}, +{"name":"gitaly","version":"16.9.0.pre.rc3","platform":"ruby","checksum":"56a138e1e5b9a011ff71aec394e8ec11d69e01925b0eba45b0aeb54a6675091f"}, {"name":"gitlab","version":"4.19.0","platform":"ruby","checksum":"3f645e3e195dbc24f0834fbf83e8ccfb2056d8e9712b01a640aad418a6949679"}, {"name":"gitlab-chronic","version":"0.10.5","platform":"ruby","checksum":"f80f18dc699b708870a80685243331290bc10cfeedb6b99c92219722f729c875"}, {"name":"gitlab-dangerfiles","version":"4.6.0","platform":"ruby","checksum":"441b37b17d1dad36268517490a30aaf57e43dffb2e9ebc1da38d3bc9fa20741e"}, diff --git a/Gemfile.lock b/Gemfile.lock index 0775a3d8c70..5953f0452c3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -685,7 +685,7 @@ GEM git (1.18.0) addressable (~> 2.8) rchardet (~> 1.8) - gitaly (16.9.0.pre.rc2) + gitaly (16.9.0.pre.rc3) grpc (~> 1.0) gitlab (4.19.0) httparty (~> 0.20) @@ -1909,7 +1909,7 @@ DEPENDENCIES fuubar (~> 2.2.0) gettext (~> 3.3) gettext_i18n_rails (~> 1.11.0) - gitaly (~> 16.9.0.pre.rc2) + gitaly (~> 16.9.0.pre.rc3) gitlab-backup-cli! gitlab-chronic (~> 0.10.5) gitlab-dangerfiles (~> 4.6.0) diff --git a/app/assets/javascripts/commit/pipelines/legacy_pipelines_table_wrapper.vue b/app/assets/javascripts/commit/pipelines/legacy_pipelines_table_wrapper.vue index 1954f9f8f35..13c8dbf101a 100644 --- a/app/assets/javascripts/commit/pipelines/legacy_pipelines_table_wrapper.vue +++ b/app/assets/javascripts/commit/pipelines/legacy_pipelines_table_wrapper.vue @@ -197,7 +197,8 @@ export default { i18n: { runPipelinePopoverTitle: s__('Pipeline|Run merge request pipeline'), runPipelinePopoverDescription: s__( - 'Pipeline|To run a merge request pipeline, the jobs in the CI/CD configuration file %{linkStart}must be configured%{linkEnd} to run in merge request pipelines.', + `Pipeline|To run a merge request pipeline, the jobs in the CI/CD configuration file %{ciDocsLinkStart}must be configured%{ciDocsLinkEnd} to run in merge request pipelines + and you must have %{permissionDocsLinkStart}sufficient permissions%{permissionDocsLinkEnd} in the source project.`, ), runPipelineText: s__('Pipeline|Run pipeline'), emptyStateTitle: s__('Pipelines|There are currently no pipelines.'), @@ -205,6 +206,9 @@ export default { mrPipelinesDocsPath: helpPagePath('ci/pipelines/merge_request_pipelines.md', { anchor: 'prerequisites', }), + userPermissionsDocsPath: helpPagePath('user/permissions.md', { + anchor: 'gitlab-cicd-permissions', + }), runPipelinesInTheParentProjectHelpPath: helpPagePath( '/ci/pipelines/merge_request_pipelines.html', { @@ -241,7 +245,7 @@ export default { >