GitLab Development Kit merge requestshttps://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests2017-09-15T10:50:49Zhttps://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/311Support Rails “production” environment within the GDK context. Enables more…2017-09-15T10:50:49Zusername-removed-178117techguru@byiq.comSupport Rails “production” environment within the GDK context. Enables more…Support Rails “production” environment within the GDK context. Enables more accurate performance profiling.
# Performance Profiling for GitLab GDK
GitLab GDK defaults to the Rails 'development' environment.
For real-time profil...Support Rails “production” environment within the GDK context. Enables more accurate performance profiling.
# Performance Profiling for GitLab GDK
GitLab GDK defaults to the Rails 'development' environment.
For real-time profiling, it is desirable to have Rails use the 'production'
environment to allow classes to be cached, queries to be cached, and to allow Rack
to avoid re-validating its entire stack for each incoming request.
The GDK allows simulation of a production Rails environment by setting the
contents of the `.gdk_environment` file to `production`
```bash
echo production > .gdk_environment
gdk reconfigure
```
see also:
* https://gitlab.com/gitlab-org/gitlab-development-kit/issues/115https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/337Troubleshooting guide for "Inspecting 0 files" rubocop issue2017-09-05T10:59:16Zusername-removed-864731maks.rydkin@gmail.comTroubleshooting guide for "Inspecting 0 files" rubocop issue## What this MR do?
- adds troubleshooting guide for temporary fix of rubocop 0 inspecting files issue #271
/cc @rspeicher @grzesiek## What this MR do?
- adds troubleshooting guide for temporary fix of rubocop 0 inspecting files issue #271
/cc @rspeicher @grzesiekJacob Vosmaer (GitLab)Jacob Vosmaer (GitLab)https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/263Makefile: Disable parallel make.2017-06-18T21:12:58Zusername-removed-288841lukeshu@lukeshu.comMakefile: Disable parallel make.Because many dependencies are missing, it is not safe to run parallel
make. Alternately, this could be fixed by adding the missing
dependencies, but that would be a larger change; and it seems to be
planned that the Makefile be phased o...Because many dependencies are missing, it is not safe to run parallel
make. Alternately, this could be fixed by adding the missing
dependencies, but that would be a larger change; and it seems to be
planned that the Makefile be phased out anyway.
Fixes issue #201 .https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/272made ascii tanuki smaller2017-04-25T15:18:10ZLuke "Jared" Bennettmade ascii tanuki smallerFinally got around to manually creating a cleaner and smaller ascii tanuki, could be more accurate but ¯\_(ツ)_/¯. /cc @jacobvosmaer-gitlab
![Screen_Shot_2017-03-19_at_18.35.36](/uploads/619b53c9ed84f2d233a7a21bbb157c6c/Screen_Shot_20...Finally got around to manually creating a cleaner and smaller ascii tanuki, could be more accurate but ¯\_(ツ)_/¯. /cc @jacobvosmaer-gitlab
![Screen_Shot_2017-03-19_at_18.35.36](/uploads/619b53c9ed84f2d233a7a21bbb157c6c/Screen_Shot_2017-03-19_at_18.35.36.png)Luke "Jared" BennettLuke "Jared" Bennetthttps://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/246Enable nginx by default, and override the favicon to find the right tab easier2017-04-21T08:02:17Zusername-removed-487110Enable nginx by default, and override the favicon to find the right tab easierEnable nginx by default since we use it in production and it has broken things before ( https://gitlab.com/gitlab-org/gitlab-ce/issues/27054#note_21914305 )
Was also necessary (easier) to have a GDK-specific `favicon` for #186
Clos...Enable nginx by default since we use it in production and it has broken things before ( https://gitlab.com/gitlab-org/gitlab-ce/issues/27054#note_21914305 )
Was also necessary (easier) to have a GDK-specific `favicon` for #186
Closes #186
Question: if we _should_ use nginx infront of rails, should rails talk purely over unix-socket? Nginx currently binds on ~~`:3443`~~ `:3080` (TLS was removed)https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/252Start webpack-dev-server directly2017-04-13T16:42:01ZJacob Vosmaer (GitLab)Start webpack-dev-server directlyStarting with `npm run` creates an intermediary `npm` process under
Foreman, which prevents Foreman from shutting down webpack-dev-server.Starting with `npm run` creates an intermediary `npm` process under
Foreman, which prevents Foreman from shutting down webpack-dev-server.Jacob Vosmaer (GitLab)Jacob Vosmaer (GitLab)https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/286nginx.conf depends on nginx.conf.example2017-04-13T13:39:29ZNick Thomasnginx.conf depends on nginx.conf.exampleUpdating `nginx.conf.example` (in source control) should cause `nginx.conf` to be regenerated.Updating `nginx.conf.example` (in source control) should cause `nginx.conf` to be regenerated.Jacob Vosmaer (GitLab)Jacob Vosmaer (GitLab)https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/283Resolve "have a different colored favicon for local running gdk"2017-04-11T17:04:08Zusername-removed-1254357Resolve "have a different colored favicon for local running gdk"Closes #186Closes #186https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/284Change bind interface2017-04-11T17:03:49Zusername-removed-1254357Change bind interfacehttps://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/280Addition of libxml2 dependency in the preparation steps2017-04-06T12:28:03Zusername-removed-957318Addition of libxml2 dependency in the preparation stepsI came across the following error while installing the develoment kit locally on macOS Sierra (using `brew`).
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/pkoro/.rvm/gems/...I came across the following error while installing the develoment kit locally on macOS Sierra (using `brew`).
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/pkoro/.rvm/gems/ruby-2.4.0/gems/nokogiri-1.6.8.1/ext/nokogiri
/Users/pkoro/.rvm/rubies/ruby-2.4.0/bin/ruby -r ./siteconf20170404-60387-f3y1e7.rb extconf.rb --use-system-libraries
checking if the C compiler accepts ... yes
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
Building nokogiri using system libraries.
ERROR: cannot discover where libxml2 is located on your system. please make sure `pkg-config` is installed.
*** extconf.rb failed ***
The weird thing is I had done all the preparation steps in the documentation (including the installation of the `pkg-config` package). I could work around the issue by installing explicitly `libxml2` with `brew install ...` (hence the proposed change).Jacob Vosmaer (GitLab)Jacob Vosmaer (GitLab)https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/254Add option to disable webpack dev server livereload2017-02-20T09:18:08Zusername-removed-892863contact@ericeastwood.comAdd option to disable webpack dev server livereloadAdd option to disable webpack dev server livereload
- Livereload defaults to true
- Disable livereload: `echo false > webpack_livereload`
After setting the `webpack_livereload` file -> `gdk reconfigure` to regenerate the `Procfi...Add option to disable webpack dev server livereload
- Livereload defaults to true
- Disable livereload: `echo false > webpack_livereload`
After setting the `webpack_livereload` file -> `gdk reconfigure` to regenerate the `Procfile` ->Restart the app `gdk run`
See https://gitlab.com/gitlab-org/gitlab-ce/issues/28204
MR on CE to pickup the `DEV_SERVER_LIVERELOAD` environment variable: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9287
cc @mikegreiling Jacob Vosmaer (GitLab)Jacob Vosmaer (GitLab)https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/238Handle missing gitaly/workhorse in 'gdk update'2017-01-21T20:57:05ZJacob Vosmaer (GitLab)Handle missing gitaly/workhorse in 'gdk update'Closes https://gitlab.com/gitlab-org/gitlab-development-kit/issues/181
The 'git stash and pull' actions would fail if the repo had not been cloned already.Closes https://gitlab.com/gitlab-org/gitlab-development-kit/issues/181
The 'git stash and pull' actions would fail if the repo had not been cloned already.https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/239Mention 'thin' concurrency issue2017-01-17T18:49:10ZJacob Vosmaer (GitLab)Mention 'thin' concurrency issueDocument the problem in https://gitlab.com/gitlab-org/gitlab-development-kit/issues/183Document the problem in https://gitlab.com/gitlab-org/gitlab-development-kit/issues/183https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/235Add space in Download section title to fix formatting2016-12-30T20:42:05Zusername-removed-419825Add space in Download section title to fix formattingThere was a missing space on the "Download GitLab Runner" section title, preventing it from rendering the proper format.There was a missing space on the "Download GitLab Runner" section title, preventing it from rendering the proper format.https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/221make gem without param configurable2016-11-23T12:37:11Zusername-removed-163557make gem without param configurablefor example i need to disable kerberos in my op system
(it has heimdal which is not krb5 compatible)
https://github.com/timfel/krb5-auth/issues/8for example i need to disable kerberos in my op system
(it has heimdal which is not krb5 compatible)
https://github.com/timfel/krb5-auth/issues/8Jacob Vosmaer (GitLab)Jacob Vosmaer (GitLab)https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/218Add npm to prerequisites2016-11-14T14:31:47Zusername-removed-43728Add npm to prerequisitesAccording to https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/Makefile#L50According to https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/Makefile#L50https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/164Add `exec: bundle:` error to troubleshooting2016-07-27T13:32:32Zusername-removed-421383Add `exec: bundle:` error to troubleshootingTroubleshoot `exec: bundle: ` error when running `make` failed.
Troubleshoot `exec: bundle: ` error when running `make` failed.
https://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/159Sidekiq latency timings2016-06-23T11:28:49ZPaco GuzmanSidekiq latency timingsThis MR adds continuous queries to get the Sidekiq latency timings measurements
Related with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4871 and https://gitlab.com/gitlab-org/gitlab-ce/issues/18663This MR adds continuous queries to get the Sidekiq latency timings measurements
Related with https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4871 and https://gitlab.com/gitlab-org/gitlab-ce/issues/18663Paco GuzmanPaco Guzmanhttps://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/154Link to handbook for EE dev licenses2016-06-14T13:04:47ZJacob Vosmaer (GitLab)Link to handbook for EE dev licensesInspired by:
https://gitlab.com/gitlab-org/gitlab-development-kit/merge_requests/153#note_12434998Inspired by:
https://gitlab.com/gitlab-org/gitlab-development-kit/merge_requests/153#note_12434998Achilleas PipinellisAchilleas Pipinellishttps://staging.gitlab.com/gitlab-org/gitlab-development-kit/-/merge_requests/141Add steps to take when "Database 'gitlabhq_development' does not exist" is en...2016-05-26T03:15:38Zusername-removed-479648Add steps to take when "Database 'gitlabhq_development' does not exist" is encountered.This error was the source of quite some difficulty for me. I would like to save others the time.This error was the source of quite some difficulty for me. I would like to save others the time.