Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gems
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-28 12:11:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-28 12:11:43 +0300
commitc00c766f13d6e0291831a25434eb54057708cc47 (patch)
treeb1db8dd9d5b109486f107be231dc0edb82457d61 /gems
parent99f384810fcb98be5dc45c22552eb80a76021387 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'gems')
-rw-r--r--gems/gem.gitlab-ci.yml8
-rw-r--r--gems/gitlab-rspec/.rubocop.yml4
2 files changed, 9 insertions, 3 deletions
diff --git a/gems/gem.gitlab-ci.yml b/gems/gem.gitlab-ci.yml
index 069bd85d0fb..107164d0b78 100644
--- a/gems/gem.gitlab-ci.yml
+++ b/gems/gem.gitlab-ci.yml
@@ -13,12 +13,14 @@ spec:
workflow:
name: '$PIPELINE_NAME'
rules:
- - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == "maintenance"'
- variables:
- PIPELINE_NAME: '[$[[inputs.gem_name]] gem] Ruby $RUBY_VERSION $SCHEDULE_TYPE $CI_PIPELINE_SOURCE pipeline'
- if: '$CI_MERGE_REQUEST_EVENT_TYPE == "merged_result" || $CI_MERGE_REQUEST_EVENT_TYPE == "detached"'
variables:
PIPELINE_NAME: '[$[[inputs.gem_name]] gem] Ruby $RUBY_VERSION $CI_MERGE_REQUEST_EVENT_TYPE MR pipeline'
+ # CI_PIPELINE_SOURCE will always be "parent_pipeline" since this is a child pipeline
+ # document this here to avoid confusion and to define the default value for PIPELINE_NAME
+ - if: '$CI_PIPELINE_SOURCE == "parent_pipeline"'
+ variables:
+ PIPELINE_NAME: '[$[[inputs.gem_name]] gem] Ruby $RUBY_VERSION default pipeline'
variables:
BUNDLE_PATH: "vendor"
diff --git a/gems/gitlab-rspec/.rubocop.yml b/gems/gitlab-rspec/.rubocop.yml
index 38c0c592dad..542b2b8e122 100644
--- a/gems/gitlab-rspec/.rubocop.yml
+++ b/gems/gitlab-rspec/.rubocop.yml
@@ -8,3 +8,7 @@ RSpec/InstanceVariable:
Gitlab/ChangeTimezone:
Exclude:
- spec/gitlab/rspec/time_travel_spec.rb
+
+RSpec/BeforeAll:
+ Exclude:
+ - spec/gitlab/rspec/time_travel_spec.rb