BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
86076012
Commit
86076012
authored
May 09, 2016
by
Grzegorz Bizon
Committed by
Lin Jen-Shin
Jun 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add config field to runner to lock it on project
parent
13fd88fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
20160509091049_add_locked_to_ci_runner.rb
db/migrate/20160509091049_add_locked_to_ci_runner.rb
+8
-0
schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20160509091049_add_locked_to_ci_runner.rb
0 → 100644
View file @
86076012
class
AddLockedToCiRunner
<
ActiveRecord
::
Migration
##
# Downtime expected due to exclusive lock when setting default value.
#
def
change
add_column
:ci_runners
,
:locked
,
:boolean
,
default:
false
,
null:
false
end
end
db/schema.rb
View file @
86076012
...
...
@@ -285,6 +285,7 @@ ActiveRecord::Schema.define(version: 20160608155312) do
t
.
string
"platform"
t
.
string
"architecture"
t
.
boolean
"run_untagged"
,
default:
true
,
null:
false
t
.
boolean
"locked"
,
default:
false
,
null:
false
end
add_index
"ci_runners"
,
[
"description"
],
name:
"index_ci_runners_on_description_trigram"
,
using: :gin
,
opclasses:
{
"description"
=>
"gin_trgm_ops"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment