Skip to content
Snippets Groups Projects
Commit 49353f9e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'master' of github.com:gitlabhq/gitlab-ci

parents acc70a7f 86188d6a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,10 +21,21 @@
#
#
 
$(document).on 'click', '.edit-runner-link', ->
$(document).on 'click', '.edit-runner-link', (event) ->
event.preventDefault()
descr = $(this).closest('.runner-description').first()
descr.hide()
descr.next('.runner-description-form').show()
form = descr.next('.runner-description-form')
descrInput = form.find('input.description')
originalValue = descrInput.val()
form.show()
form.find('.cancel').on 'click', (event) ->
event.preventDefault()
form.hide()
descrInput.val(originalValue)
descr.show()
 
$(document).on 'click', '.assign-all-runner', ->
$(this).replaceWith('<i class="icon-refresh icon-spin"></i> Assign in progress..')
Loading
Loading
Loading
Loading
@@ -19,6 +19,7 @@
.form-group
= f.text_field :description, class: 'form-control'
= f.submit 'Save', class: 'btn'
%span (#{link_to 'cancel', '#', class: 'cancel'})
%td
- if runner.shared?
\-
Loading
Loading
Loading
Loading
@@ -42,7 +42,12 @@ bundle install --without mysql development test --deployment
bundle exec rake db:migrate RAILS_ENV=production
```
 
### 5. Install the new init script
### 5. Setup unicorn
```
cd config/unicorn.rb.example config/unicorn.rb
```
### 6. Install the new init script
As a user with sudo rights:
 
```
Loading
Loading
@@ -51,6 +56,6 @@ sudo cp lib/support/init.d/gitlab_ci /etc/init.d/gitlab_ci
sudo chmod +x /etc/init.d/gitlab_ci
```
 
### 6. Start web application
### 7. Start web application
 
sudo service gitlab_ci start
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment