This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a default concourse pipeline name for any concourse projects with…
…out one already
- Loading branch information
Greg Chattin-McNichols and Gregg Van Hove
committed
Aug 11, 2015
1 parent
29c1406
commit d2d86a6
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class AddDefaultConcoursePipeline < ActiveRecord::Migration | ||
def change | ||
execute <<-SQL | ||
update projects set concourse_pipeline_name = 'main' where concourse_pipeline_name IS NULL and type = 'ConcourseProject' | ||
SQL | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters