Commit aa0d6b07 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'feature/gb/migrate-pipeline-stages' into feature/gb/persist-pipeline-stages

* feature/gb/migrate-pipeline-stages:
  Use stage_id column in code that needs to know about it
parents 05328836 1a438e9f
...@@ -212,6 +212,7 @@ CommitStatus: ...@@ -212,6 +212,7 @@ CommitStatus:
- stage - stage
- trigger_request_id - trigger_request_id
- stage_idx - stage_idx
- stage_id
- tag - tag
- ref - ref
- user_id - user_id
......
...@@ -18,11 +18,12 @@ describe Ci::RetryBuildService, :services do ...@@ -18,11 +18,12 @@ describe Ci::RetryBuildService, :services do
updated_at started_at finished_at queued_at erased_by updated_at started_at finished_at queued_at erased_by
erased_at auto_canceled_by].freeze erased_at auto_canceled_by].freeze
# TODO, move stage_id accessor to CLONE_ACCESSOR in a follow-up MR.
IGNORE_ACCESSORS = IGNORE_ACCESSORS =
%i[type lock_version target_url base_tags %i[type lock_version target_url base_tags
commit_id deployments erased_by_id last_deployment project_id commit_id deployments erased_by_id last_deployment project_id
runner_id tag_taggings taggings tags trigger_request_id runner_id tag_taggings taggings tags trigger_request_id
user_id auto_canceled_by_id retried].freeze user_id auto_canceled_by_id retried stage_id].freeze
shared_examples 'build duplication' do shared_examples 'build duplication' do
let(:build) do let(:build) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment