Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
d0032935
Commit
d0032935
authored
May 04, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add runner db field for ability to run untagged jobs
parent
e4a1af83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
+11
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20160504112519_add_run_untagged_to_ci_runner.rb
0 → 100644
View file @
d0032935
class
AddRunUntaggedToCiRunner
<
ActiveRecord
::
Migration
##
# Downtime expected!
#
# This migration will cause downtime due to exclusive lock
# caused by the default value.
#
def
change
add_column
:ci_runners
,
:run_untagged
,
:boolean
,
default:
true
end
end
db/schema.rb
View file @
d0032935
...
@@ -269,6 +269,7 @@ ActiveRecord::Schema.define(version: 20160509201028) do
...
@@ -269,6 +269,7 @@ ActiveRecord::Schema.define(version: 20160509201028) do
t
.
string
"revision"
t
.
string
"revision"
t
.
string
"platform"
t
.
string
"platform"
t
.
string
"architecture"
t
.
string
"architecture"
t
.
boolean
"run_untagged"
,
default:
true
end
end
add_index
"ci_runners"
,
[
"description"
],
name:
"index_ci_runners_on_description_trigram"
,
using: :gin
,
opclasses:
{
"description"
=>
"gin_trgm_ops"
}
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