Skip to content

Commit 3a9ea19

Browse files
author
GitLab Bot
committed
Add latest changes from gitlab-org/gitlab@master
1 parent 72877c5 commit 3a9ea19

File tree

40 files changed

+376
-1035
lines changed

40 files changed

+376
-1035
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ variables:
249249
FLAKY_RSPEC_SUITE_REPORT_PATH: rspec/flaky/report-suite.json
250250
JEST_MATCHING_TEST_FILES_PATH: jest/matching_test_files.txt
251251
GITLAB_WORKHORSE_FOLDER: "gitlab-workhorse"
252-
JOB_METRICS_FILE_PATH: "${CI_PROJECT_DIR}/tmp/job-metrics.json"
253252
KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/report-master.json
254253
RSPEC_FAIL_FAST_THRESHOLD: 20
255254
RSPEC_FAST_QUARANTINE_PATH: rspec/fast_quarantine-gitlab.txt

.gitlab/ci/rails/shared.gitlab-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ include:
2727
- section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn" # Do not use 'bundle exec' here
2828
- export RSPEC_SKIPPED_TESTS_REPORT_PATH="rspec/skipped_tests-${CI_JOB_ID}.txt"
2929
- export RSPEC_RETRIED_TESTS_REPORT_PATH="rspec/retried_tests-${CI_JOB_ID}.txt"
30-
- tooling/bin/create_job_metrics_file || true
3130

3231
.no-redis-cluster:
3332
variables:
@@ -211,7 +210,6 @@ include:
211210
echoinfo "Not reporting test files close to timing out because \$ALLOW_KNAPSACK_REPORT_CREATE_ISSUES != 'true' or KNAPSACK_REPORT_ISSUES_PROJECT_TOKEN is not set"
212211
fi
213212
section_end "knapsack-report-issues"
214-
- tooling/bin/push_job_metrics || true
215213
- scripts/minify-simplecov-resultsets.rb
216214

217215
.base-artifacts:

.gitlab/merge_request_templates/Security Fix.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,18 @@ See [the general developer security guidelines](https://gitlab.com/gitlab-org/re
3636

3737
## AppSec checklist
3838

39+
This checklist is to be completed by the [Application Security & Response Team](https://handbook.gitlab.com/handbook/security/product-security/application-security/)
40+
3941
- [ ] Assign the right [AppSecWeight](https://handbook.gitlab.com/handbook/security/product-security/application-security/milestone-planning/#weight-labels) label
40-
- [ ] Update the `~AppSecWorkflow::in-progress` to `~AppSecWorkflow::complete`
42+
- [ ] Update the `~AppSecWorkflow::new` to `~AppSecWorkflow::in-progress` when you have started to review the MR
43+
- [ ] Update the `~AppSecWorkflow::in-progress` to `~AppSecWorkflow::complete` when the MR has been reviewed
4144

4245
/label ~security
4346

4447
<!-- AppSec specific labels -->
4548

4649
/label ~"Division::Security" ~"Department::Product Security" ~"Application Security Team"
47-
/label ~"AppSecWorkflow::in-progress" ~"AppSecWorkType::VulnFixVerification"
50+
/label ~"AppSecWorkType::VulnFixVerification"
4851
/label ~"AppSecPriority::1" <!-- This is always a priority to review for us to ensure the fix is good and the release is done on time -->
4952

5053
[CHANGELOG entry]: https://docs.gitlab.com/development/changelog/#overview

.rubocop_todo/rspec/named_subject.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,6 @@ RSpec/NamedSubject:
31243124
- 'spec/tooling/lib/tooling/helm3_client_spec.rb'
31253125
- 'spec/tooling/lib/tooling/helpers/file_handler_spec.rb'
31263126
- 'spec/tooling/lib/tooling/helpers/predictive_tests_helper_spec.rb'
3127-
- 'spec/tooling/lib/tooling/job_metrics_spec.rb'
31283127
- 'spec/tooling/lib/tooling/kubernetes_client_spec.rb'
31293128
- 'spec/tooling/lib/tooling/mappings/graphql_base_type_mappings_spec.rb'
31303129
- 'spec/tooling/lib/tooling/mappings/js_to_system_specs_mappings_spec.rb'

.rubocop_todo/rspec/receive_messages.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ RSpec/ReceiveMessages:
506506
- 'spec/tooling/danger/sidekiq_queues_spec.rb'
507507
- 'spec/tooling/danger/stable_branch_spec.rb'
508508
- 'spec/tooling/lib/tooling/helpers/predictive_tests_helper_spec.rb'
509-
- 'spec/tooling/lib/tooling/job_metrics_spec.rb'
510509
- 'spec/views/admin/dashboard/index.html.haml_spec.rb'
511510
- 'spec/views/admin/groups/_form.html.haml_spec.rb'
512511
- 'spec/views/admin/sessions/new.html.haml_spec.rb'

.rubocop_todo/style/inline_disable_annotation.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,7 +2315,6 @@ Style/InlineDisableAnnotation:
23152315
- 'spec/tooling/lib/tooling/find_changes_spec.rb'
23162316
- 'spec/tooling/lib/tooling/helpers/file_handler_spec.rb'
23172317
- 'spec/tooling/lib/tooling/helpers/predictive_tests_helper_spec.rb'
2318-
- 'spec/tooling/lib/tooling/job_metrics_spec.rb'
23192318
- 'spec/uploaders/file_uploader_spec.rb'
23202319
- 'spec/uploaders/object_storage_spec.rb'
23212320
- 'spec/views/groups/group_members/index.html.haml_spec.rb'
@@ -2334,5 +2333,4 @@ Style/InlineDisableAnnotation:
23342333
- 'tooling/lib/tooling/find_changes.rb'
23352334
- 'tooling/lib/tooling/gettext_extractor.rb'
23362335
- 'tooling/lib/tooling/helm3_client.rb'
2337-
- 'tooling/lib/tooling/job_metrics.rb'
23382336
- 'tooling/lib/tooling/kubernetes_client.rb'

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ gem 'apollo_upload_server', '~> 2.1.6', feature_category: :api
171171
# Cells
172172
gem 'gitlab-topology-service-client', '~> 0.1',
173173
path: 'vendor/gems/gitlab-topology-service-client',
174+
require: 'gitlab/cells/topology_service',
174175
feature_category: :cell
175176

176177
# Duo Workflow
@@ -528,9 +529,6 @@ group :development, :test do
528529
gem 'benchmark-ips', '~> 2.14.0', require: false, feature_category: :shared
529530
gem 'benchmark-memory', '~> 0.1', require: false, feature_category: :shared
530531

531-
# Profiling data from CI/CD pipelines
532-
gem 'influxdb-client', '~> 3.1', require: false, feature_category: :tooling
533-
534532
gem 'knapsack', '~> 4.0.0', feature_category: :tooling
535533
gem 'gitlab-crystalball', '~> 1.1.0', require: false, feature_category: :tooling
536534
gem 'test_file_finder', '~> 0.3.1', feature_category: :tooling

Gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,6 @@ DEPENDENCIES
22292229
httparty (~> 0.23.0)
22302230
i18n_data (~> 0.13.1)
22312231
icalendar (~> 2.10.1)
2232-
influxdb-client (~> 3.1)
22332232
invisible_captcha (~> 2.3.0)
22342233
io-event (~> 1.12)
22352234
ipaddress (~> 0.8.3)

Gemfile.next.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2224,7 +2224,6 @@ DEPENDENCIES
22242224
httparty (~> 0.23.0)
22252225
i18n_data (~> 0.13.1)
22262226
icalendar (~> 2.10.1)
2227-
influxdb-client (~> 3.1)
22282227
invisible_captcha (~> 2.3.0)
22292228
io-event (~> 1.12)
22302229
ipaddress (~> 0.8.3)

app/assets/javascripts/environments/components/environment_stop.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
import { GlTooltipDirective, GlButton, GlModalDirective } from '@gitlab/ui';
88
import { BV_HIDE_TOOLTIP } from '~/lib/utils/constants';
9-
import { s__ } from '~/locale';
9+
import { s__, sprintf } from '~/locale';
1010
import setEnvironmentToStopMutation from '../graphql/mutations/set_environment_to_stop.mutation.graphql';
1111
import isEnvironmentStoppingQuery from '../graphql/queries/is_environment_stopping.query.graphql';
1212
@@ -34,6 +34,7 @@ export default {
3434
},
3535
i18n: {
3636
stopTitle: s__('Environments|Stop environment'),
37+
stopLabel: s__('Environments|Stop environment %{environmentName}'),
3738
stoppingTitle: s__('Environments|Stopping environment'),
3839
},
3940
data() {
@@ -49,6 +50,9 @@ export default {
4950
title() {
5051
return this.isLoadingState ? this.$options.i18n.stoppingTitle : this.$options.i18n.stopTitle;
5152
},
53+
stopLabel() {
54+
return sprintf(this.$options.i18n.stopLabel, { environmentName: this.environment?.name });
55+
},
5256
},
5357
methods: {
5458
onClick() {
@@ -69,8 +73,9 @@ export default {
6973
:title="title"
7074
:tabindex="isLoadingState ? 0 : null"
7175
:loading="isLoadingState"
72-
:aria-label="title"
76+
:aria-label="stopLabel"
7377
:class="{ 'gl-pointer-events-none': isLoadingState }"
78+
data-testid="stop-environment-button"
7479
size="small"
7580
icon="stop"
7681
variant="danger"

0 commit comments

Comments
 (0)