Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gitlabhq/gitlab-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dzaporozhets committed Apr 1, 2014
2 parents acc70a7 + 86188d6 commit 49353f9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
15 changes: 13 additions & 2 deletions app/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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..')
Expand Down
1 change: 1 addition & 0 deletions app/views/admin/runners/_runner.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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?
\-
Expand Down
9 changes: 7 additions & 2 deletions doc/update/4.2-to-4.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand All @@ -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 comments on commit 49353f9

Please sign in to comment.