diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-15 18:07:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-15 18:07:42 +0300 |
commit | fa7c331b76ed59230cc56fc51bfc9e467c8bb9b4 (patch) | |
tree | eb03d2b6e8dd45f67864635c8b0b0de8d671edf7 /spec/frontend/fixtures/pipelines.rb | |
parent | f26f31d2fd8e3c91677e2629293b9e0562c1437a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/fixtures/pipelines.rb')
-rw-r--r-- | spec/frontend/fixtures/pipelines.rb | 11 |
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 |