Skip to content

Commit feebcf1

Browse files
author
GitLab Bot
committed
Add latest changes from gitlab-org/gitlab@master
1 parent b9b0853 commit feebcf1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+257
-351
lines changed

.rubocop_todo/lint/redundant_cop_disable_directive.yml

-15
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,6 @@ Lint/RedundantCopDisableDirective:
150150
- 'qa/qa/resource/user_runners.rb'
151151
- 'qa/qa/service/docker_run/gitlab_runner.rb'
152152
- 'qa/qa/vendor/one_password/cli.rb'
153-
- 'scripts/failed_tests.rb'
154-
- 'scripts/feature_flags/used-feature-flags'
155-
- 'scripts/generate_rspec_pipeline.rb'
156-
- 'scripts/merge-auto-explain-logs'
157-
- 'scripts/security-harness'
158-
- 'scripts/setup/generate-as-if-foss-env.rb'
159-
- 'scripts/verify-tff-mapping'
160153
- 'spec/components/previews/pajamas/banner_component_preview.rb'
161154
- 'spec/features/groups/participants_autocomplete_spec.rb'
162155
- 'spec/features/merge_request/user_edits_mr_spec.rb'
@@ -195,11 +188,3 @@ Lint/RedundantCopDisableDirective:
195188
- 'spec/support/helpers/wait_for_requests.rb'
196189
- 'spec/support/shared_examples/features/milestone_editing_shared_examples.rb'
197190
- 'spec/support/shared_examples/models/concerns/protected_ref_access_shared_examples.rb'
198-
- 'tooling/danger/ignored_model_columns.rb'
199-
- 'tooling/danger/sidekiq_queues.rb'
200-
- 'tooling/danger/stable_branch.rb'
201-
- 'tooling/danger/suggestor.rb'
202-
- 'tooling/lib/tooling/check_ruby_syntax.rb'
203-
- 'tooling/lib/tooling/helm3_client.rb'
204-
- 'tooling/lib/tooling/test_map_generator.rb'
205-
- 'tooling/quality/test_level.rb'

app/assets/javascripts/ci/job_details/components/environments_block.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ export default {
177177
};
178178
</script>
179179
<template>
180-
<div class="gl-mb-3 gl-mt-3" data-testid="jobs-environment-container">
180+
<div class="gl-my-4" data-testid="jobs-environment-container">
181181
<div
182-
class="gl-border gl-rounded-base gl-px-5 gl-pb-4 gl-pt-3"
182+
class="gl-border gl-flex gl-gap-3 gl-rounded-base gl-bg-subtle gl-p-4"
183183
data-testid="jobs-environment-info"
184184
>
185185
<ci-icon :status="iconStatus" />
186-
<p class="gl-mb-0 gl-inline-block">
186+
<p class="gl-mb-0 gl-inline-block gl-self-center">
187187
<gl-sprintf :message="environment">
188188
<template #environmentLink>
189189
<gl-link

app/assets/javascripts/ci/runner/group_new_runner/group_new_runner_app.vue

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { visitUrl } from '~/lib/utils/url_utility';
44
import { s__ } from '~/locale';
55
import { InternalEvents } from '~/tracking';
66
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
7+
import PageHeading from '~/vue_shared/components/page_heading.vue';
78
import RunnerCreateForm from '~/ci/runner/components/runner_create_form.vue';
89
import { DEFAULT_PLATFORM, GROUP_TYPE } from '../constants';
910
import { saveAlertToLocalStorage } from '../local_storage_alert/save_alert_to_local_storage';
@@ -12,6 +13,7 @@ export default {
1213
name: 'GroupNewRunnerApp',
1314
components: {
1415
RunnerCreateForm,
16+
PageHeading,
1517
},
1618
mixins: [glFeatureFlagsMixin(), InternalEvents.mixin()],
1719
props: {
@@ -44,18 +46,16 @@ export default {
4446
</script>
4547

4648
<template>
47-
<div class="gl-mt-5">
48-
<h1 class="gl-heading-1">{{ s__('Runners|New group runner') }}</h1>
49-
50-
<p>
51-
{{
52-
s__(
53-
'Runners|Create a group runner to generate a command that registers the runner with all its configurations.',
54-
)
55-
}}
56-
</p>
57-
58-
<hr aria-hidden="true" />
49+
<div>
50+
<page-heading :heading="s__('Runners|New group runner')">
51+
<template #description>
52+
{{
53+
s__(
54+
'Runners|Create a group runner to generate a command that registers the runner with all its configurations.',
55+
)
56+
}}
57+
</template>
58+
</page-heading>
5959

6060
<runner-create-form
6161
:runner-type="$options.GROUP_TYPE"

app/assets/javascripts/ci/runner/project_new_runner/project_new_runner_app.vue

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { visitUrl } from '~/lib/utils/url_utility';
44
import { s__ } from '~/locale';
55
import { InternalEvents } from '~/tracking';
66
import glFeatureFlagsMixin from '~/vue_shared/mixins/gl_feature_flags_mixin';
7+
import PageHeading from '~/vue_shared/components/page_heading.vue';
78
import RunnerCreateForm from '~/ci/runner/components/runner_create_form.vue';
89
import { DEFAULT_PLATFORM, GOOGLE_CLOUD_PLATFORM, PROJECT_TYPE } from '../constants';
910
import { saveAlertToLocalStorage } from '../local_storage_alert/save_alert_to_local_storage';
@@ -12,6 +13,7 @@ export default {
1213
name: 'ProjectNewRunnerApp',
1314
components: {
1415
RunnerCreateForm,
16+
PageHeading,
1517
},
1618
mixins: [glFeatureFlagsMixin(), InternalEvents.mixin()],
1719
props: {
@@ -45,18 +47,16 @@ export default {
4547
</script>
4648

4749
<template>
48-
<div class="gl-mt-5">
49-
<h1 class="gl-heading-1">{{ s__('Runners|New project runner') }}</h1>
50-
51-
<p>
52-
{{
53-
s__(
54-
'Runners|Create a project runner to generate a command that registers the runner with all its configurations.',
55-
)
56-
}}
57-
</p>
58-
59-
<hr aria-hidden="true" />
50+
<div>
51+
<page-heading :heading="s__('Runners|New project runner')">
52+
<template #description>
53+
{{
54+
s__(
55+
'Runners|Create a project runner to generate a command that registers the runner with all its configurations.',
56+
)
57+
}}
58+
</template>
59+
</page-heading>
6060

6161
<runner-create-form
6262
:runner-type="$options.PROJECT_TYPE"

app/controllers/repositories/lfs_api_controller.rb

-19
Original file line numberDiff line numberDiff line change
@@ -78,25 +78,6 @@ def download_objects!
7878
objects
7979
end
8080

81-
def legacy_download_objects!
82-
existing_oids = project.lfs_objects_oids(oids: objects_oids)
83-
84-
objects.each do |object|
85-
if existing_oids.include?(object[:oid])
86-
object[:actions] = proxy_download_actions(object)
87-
88-
object[:authenticated] = true if ::Users::Anonymous.can?(:download_code, project)
89-
else
90-
object[:error] = {
91-
code: 404,
92-
message: _("Object does not exist on the server or you don't have permissions to access it")
93-
}
94-
end
95-
end
96-
97-
objects
98-
end
99-
10081
def upload_objects!
10182
existing_oids = project.lfs_objects_oids(oids: objects_oids)
10283

danger/tailwindcss/Dangerfile

-77
This file was deleted.

doc/administration/backup_restore/restore_gitlab.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can only restore a backup to **exactly the same version and type (CE or EE)*
3434
of GitLab on which it was created. For example, CE 15.1.4.
3535

3636
If your backup is a different version than the current installation, you must
37-
[downgrade](../../update/package/downgrade.md) or [upgrade](../../update/package/index.md#upgrade-to-a-specific-version-using-the-official-repositories) your GitLab installation
37+
[downgrade](../../update/package/downgrade.md) or [upgrade](../../update/package/index.md#upgrade-to-a-specific-version) your GitLab installation
3838
before restoring the backup.
3939

4040
### GitLab secrets must be restored

0 commit comments

Comments
 (0)