четверг, 19 февраля 2015 г.

How to set Omnibus #Gitlab #Sidekiq workers count

Stop your gitlab instance

sudo gitlab-ctl stop

Edit file
/opt/gitlab/sv/sidekiq/run


Set your workers count

#!/bin/sh

cd /var/opt/gitlab/gitlab-rails/working

exec 2>&1

exec chpst -e /opt/gitlab/etc/gitlab-rails/env -P \
  -U git -u git \
  /opt/gitlab/embedded/bin/bundle exec sidekiq \
    # ADD THE LINE BELOW AND SET NUMBER OF WORKERS
    -c 3 \  # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< SET NUMBER OF WORKERS HERE
    -q post_receive \
    -q mailer \
    -q system_hook \
    -q project_web_hook \
    -q gitlab_shell \
    -q common \
    -q default \
    -e production \
    -r /opt/gitlab/embedded/service/gitlab-rails \
    -t 4

Configuring Jenkins for C# projects

Steps in my build configuration Restore nuget packages chcp 1251 .nuget\nuget.exe restore Swag.sln Build solution chcp 1251 cmd.e...