Skip to content

Commit

Permalink
Make set_ci_cd_workflows public
Browse files Browse the repository at this point in the history
  • Loading branch information
kitallis committed Oct 7, 2024
1 parent 4ffbfb6 commit d6ec929
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/train.rb
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,10 @@ def stop_failed_ongoing_release!
ongoing_release.stop!
end

def set_ci_cd_workflows
config.set_ci_cd_workflows(workflows)
end

private

def train_link
Expand All @@ -481,10 +485,6 @@ def last_finished_release
releases.where(status: "finished").reorder(completed_at: :desc).first
end

def set_ci_cd_workflows
config.set_ci_cd_workflows(workflows)
end

def set_constituent_seed_versions
semverish = version_seeded_with.to_semverish
self.major_version_seed, self.minor_version_seed, self.patch_version_seed = semverish.major, semverish.minor, semverish.patch
Expand Down

0 comments on commit d6ec929

Please sign in to comment.