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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-15 18:07:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-15 18:07:42 +0300
commitfa7c331b76ed59230cc56fc51bfc9e467c8bb9b4 (patch)
treeeb03d2b6e8dd45f67864635c8b0b0de8d671edf7 /spec/frontend/fixtures/pipelines.rb
parentf26f31d2fd8e3c91677e2629293b9e0562c1437a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/fixtures/pipelines.rb')
-rw-r--r--spec/frontend/fixtures/pipelines.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/frontend/fixtures/pipelines.rb b/spec/frontend/fixtures/pipelines.rb
index 44b471a70d8..768934d6278 100644
--- a/spec/frontend/fixtures/pipelines.rb
+++ b/spec/frontend/fixtures/pipelines.rb
@@ -23,8 +23,19 @@ RSpec.describe Projects::PipelinesController, '(JavaScript fixtures)', type: :co
let!(:build_test) { create(:ci_build, pipeline: pipeline, stage: 'test') }
let!(:build_deploy_failed) { create(:ci_build, status: :failed, pipeline: pipeline, stage: 'deploy') }
+ let(:bridge) { create(:ci_bridge, pipeline: pipeline) }
+ let(:retried_bridge) { create(:ci_bridge, :retried, pipeline: pipeline) }
+
+ let(:downstream_pipeline) { create(:ci_pipeline, :with_job) }
+ let(:retried_downstream_pipeline) { create(:ci_pipeline, :with_job) }
+ let!(:ci_sources_pipeline) { create(:ci_sources_pipeline, pipeline: downstream_pipeline, source_job: bridge) }
+ let!(:retried_ci_sources_pipeline) do
+ create(:ci_sources_pipeline, pipeline: retried_downstream_pipeline, source_job: retried_bridge)
+ end
+
before do
sign_in(user)
+ project.add_developer(user)
end
it 'pipelines/pipelines.json' do