Skip to content

[WIP] First try to support both CE and EE in gdk

Achilleas Pipinellis requested to merge ee_support into master

I tested it on a fresh installation.

  • CE and EE are stored in the ce and ee subdirs respectively, each having its own repositories, gitlab-shell and authorized_keys
  • One postgres and redis instance
  • I removed some references to gitlab-runner as it was using the deprecated one.

Caveats

  • currently it is duplicated code :/ but works
  • gitlab-workhorse in the Procfile uses ce/gitlab/public as the document root dir, which seems to work with EE as well

Tree structure

.
├── Gemfile
├── Gemfile.lock
├── LICENSE
├── Makefile
├── Procfile
├── Procfile.example
├── README.md
├── Vagrantfile
├── ce
│   ├── gitlab
│   ├── gitlab-shell
│   └── repositories
├── database.yml.example
├── docker
│   ├── Dockerfile
│   ├── README.md
│   └── assets
├── ee
│   ├── gitlab
│   ├── gitlab-shell
│   └── repositories
├── gitlab-openldap
│   ├── Makefile
│   ├── README.md
│   ├── bin
│   ├── bootstrap.ldif
│   ├── etc
│   ├── frontend.alt.example.com.ldif
│   ├── frontend.example.com.ldif
│   ├── include
│   ├── lib
│   ├── libexec
│   ├── openldap-2.4.40
│   ├── openldap-2.4.40.tgz
│   ├── run-slapd
│   ├── run-slapd-alt
│   ├── sbin
│   ├── share
│   ├── slapd.d
│   └── var
├── gitlab-workhorse
│   ├── CHANGELOG
│   ├── LICENSE
│   ├── Makefile
│   ├── README.md
│   ├── VERSION
│   ├── archive.go
│   ├── artifacts.go
│   ├── authorization.go
│   ├── authorization_test.go
│   ├── deploy_page.go
│   ├── deploy_page_test.go
│   ├── development.go
│   ├── development_test.go
│   ├── error_pages.go
│   ├── error_pages_test.go
│   ├── git-http.go
│   ├── gitlab-workhorse
│   ├── handlers.go
│   ├── handlers_test.go
│   ├── helpers.go
│   ├── helpers_test.go
│   ├── lfs.go
│   ├── logging.go
│   ├── main.go
│   ├── main_test.go
│   ├── proxy.go
│   ├── proxy_test.go
│   ├── sendfile.go
│   ├── sendfile_test.go
│   ├── servefile.go
│   ├── servefile_test.go
│   ├── support
│   ├── test
│   ├── uploads.go
│   ├── uploads_test.go
│   └── upstream.go
├── gitlab.socket
├── postgresql
│   └── data
├── redis
│   ├── redis.conf
│   ├── redis.conf.example
│   ├── redis.socket
│   └── resque.yml.example
└── support
    └── edit-gitlab.yml

28 directories, 59 files

cc @jacobvosmaer @sytses @dzaporozhets

Merge request reports