summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* remove remaining vestiges of teaspoon test runnerMike Greiling2017-01-101-8/+0
|
* Remove trailing whitespace when generating changelog entrynuke-ugly-spaces-in-changelog-generatorAdam Niedzielski2016-12-091-3/+8
|
* Simplify `branch_name` in bin/changelogrs-simplify-changelog-branch_nameRobert Speicher2016-12-021-1/+1
| | | | | The `--short` option has existed since at least 1.8.1: https://git-scm.com/docs/git-symbolic-ref/1.8.1
* Add StackProf to the Gemfile, along with a utility to get a profile for a specNick Thomas2016-11-291-0/+16
|
* Update help banner for bin/changelogRobert Speicher2016-11-031-1/+1
| | | | [ci skip]
* Add a `--force` option to bin/changelogrs-changelog-forceRobert Speicher2016-11-021-1/+7
|
* Add specs for ChangelogOptionParser in bin/changelogrs-bin-changelogRobert Speicher2016-10-311-1/+2
|
* Add a bin/changelog scriptRobert Speicher2016-10-311-0/+163
|
* Re-organize queues to use for Sidekiqseparate-sidekiq-queuesYorick Peterse2016-10-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Dumping too many jobs in the same queue (e.g. the "default" queue) is a dangerous setup. Jobs that take a long time to process can effectively block any other work from being performed given there are enough of these jobs. Furthermore it becomes harder to monitor the jobs as a single queue could contain jobs for different workers. In such a setup the only reliable way of getting counts per job is to iterate over all jobs in a queue, which is a rather time consuming process. By using separate queues for various workers we have better control over throughput, we can add weight to queues, and we can monitor queues better. Some workers still use the same queue whenever their work is related. For example, the various CI pipeline workers use the same "pipeline" queue. This commit includes a Rails migration that moves Sidekiq jobs from the old queues to the new ones. This migration also takes care of doing the inverse if ever needed. This does require downtime as otherwise new jobs could be scheduled in the old queues after this migration completes. This commit also includes an RSpec test that blacklists the use of the "default" queue and ensures cron workers use the "cronjob" queue. Fixes gitlab-org/gitlab-ce#23370
* Use ENABLE_SPRING to use it by defaultmake-spring-optionalKamil Trzcinski2016-06-171-1/+1
|
* Use 'exec' in Unicorn and Sidekiq launch scriptsJacob Vosmaer2016-04-282-3/+3
| | | | | | | | | | | | | | | | When running Unicorn or Sidekiq in the foreground this change removes an intermediate /bin/sh process. This makes process supervision in the GitLab Development Kit more reliable. This change does not affect Omnibus-GitLab (because there we do not use these launch scripts). Installations from source do use the launch scripts but for the standard GitLab init script this change will not make a difference. Custom installations using Upstart or Systemd may be affected however, because under certain configurations these systems count exactly how many forks happen during process startup, and we are reducing that number by one here.
* Re-generate Spring binstubs for updated version of SpringRobert Speicher2016-04-226-10/+30
| | | | | | | Prevents output like this: Array values in the parameter are deprecated. Please use a String or nil. An Array was passed in from bin/rspec:3:in `load'
* Use rake db:reset instead of db:setupYorick Peterse2016-04-141-1/+1
| | | | | | | | | | | | Using db:reset ensures existing tables are first dropped. This in turn ensures that we can drop tables regardless of any foreign key constraints. While CE currently doesn't have any foreign keys EE defines the following relation: remote_mirrors.project_id -> projects.id MySQL will complain whenever you try to drop the "projects" table first even when using "DROP TABLE ... CASCADE".
* Direct sidekiq boot output to log filesimplify-procfileJacob Vosmaer2016-01-151-1/+1
| | | | This behavior got lost in the previous commit.
* Improve bin/ launchersJacob Vosmaer2016-01-142-3/+15
|
* Add 'resume' capability to parallel-rsync-repossync-all-reposJacob Vosmaer2015-12-081-14/+29
|
* Merge branch 'master' into sync-all-reposJacob Vosmaer2015-12-086-12/+34
|\
| * Fix mailer queuefix_mailer_queueValery Sizov2015-12-031-1/+1
| |
| * Rails update to 4.2.4Valery Sizov2015-11-255-11/+33
| |
* | Add RSYNC variable to parallel-rsync-reposJacob Vosmaer2015-10-051-1/+14
| |
* | Add parallel-rsync-repos script and start docsJacob Vosmaer2015-09-251-0/+26
|/
* Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDmitriy Zaporozhets2015-09-092-3/+34
|\
| * Properly daemonize the mail_room processimprove-mail_room-wrapperJacob Vosmaer2015-08-272-3/+34
| | | | | | | | | | | | | | | | | | The old invocation only worked by accident because we have a '&' somewhere in the init script for expediency. When ran from a terminal, the mail_room daemon process ended up in the session of the terminal. This commit adds a small wrapper that tries to do the textbook daemonization steps (double fork, setsid etc.) while also taking care that the pidfile is written before the 'start' process exits.
* | Groundwork for merging CI into CEDouwe Maan2015-08-252-1/+4
|/
* Fix bin/mail_room.Douwe Maan2015-08-191-8/+9
|
* Update init scripts.Douwe Maan2015-08-192-1/+52
|
* Remove GuardRobert Speicher2015-06-031-16/+0
| | | | None of the GitLab B.V. developers were using it.
* Fix bin/rails binstubrs-gemsRobert Speicher2015-05-201-2/+3
|
* Update spring, re-run binstubsRobert Speicher2015-05-203-13/+8
|
* Make sure Sidekiq picks up archive_repo queue in production.repository-archive-workerDouwe Maan2015-04-011-1/+1
|
* Added binstub for guardJeroen van Baarsen2015-03-181-0/+16
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-1/+1
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Use new way of defining services on packager.ioCyril Rohr2015-01-181-3/+0
|
* Revert "Delete mailer queue"Marin Jankovski2014-09-101-1/+1
|
* Wrap arguments for `[ -z` in double quotesJacob Vosmaer2014-09-082-2/+2
|
* Merge pull request #7258 from presto53/fix_init_scripts_interpreterJacob Vosmaer2014-09-082-14/+14
|\ | | | | change bash to sh in web, background_jobs scripts
| * fix bash-ismPavel Novitskiy2014-07-041-1/+1
| |
| * change bash to shPavel Novitskiy2014-07-042-13/+13
| |
* | Delete mailer queue because we don't use sidekiq_mailer gem and now the ↵ling.su2014-07-041-1/+1
|/ | | | mailer queue doesn't exist any more.
* Be more selective when killing stray SidekiqsJacob Vosmaer2014-06-121-1/+1
| | | | | | Avoid the background_jobs script killing every process with 'sidekiq' in its argument string (e.g. 'rake gitlab:sidekiq start') by also catching the number (2) in 'sidekiq 2.14'.
* Move from script to bin directory.Marin Jankovski2014-05-274-0/+134
|
* Setup default gitlab.yml with possibility to override default url via ↵Cyril Rohr2014-05-061-1/+8
| | | | | | environment variable. This only applies to packaging with https://pkgr.io.
* Add .pkgr.yml file for automated packaging on https://pkgr.ioCyril Rohr2014-05-061-0/+16
|
* Added executable file permission to binstubsJeroen van Baarsen2014-02-206-0/+0
|
* Inserted spring in the binstubsJeroen van Baarsen2014-02-165-0/+40
| | | | | | | | Now possible to run: `bin/rails` `bin/rspec` `bin/spinach` `bin/rake`
* Rails uses bin folder we forgot to create it when upgradingJeroen van Baarsen2014-02-153-0/+11