90 Commits

Author SHA1 Message Date
Constantin Wildförster
3f349977f5 update patch to work on gitlab 13.2.0+ 2020-08-02 17:15:51 +02:00
Carlos Álvaro
31325c1007 fix: healthcheck and GITLAB_HTTPS=true
Follow redirects
Allow connections to SSL sites without certs
2020-05-27 21:09:51 +02:00
Carlos Álvaro
74013d82ab feat: Add healthcheck for gitlab service 2020-05-26 18:10:55 +02:00
Aurélien Chrétien
f377eda47a
handle new gitaly logs correctly 2020-05-06 12:20:47 +02:00
Sameer Naik
4422e1c4a0
remove "Fix for rebase in forks" 2020-05-06 10:05:01 +05:30
Sameer Naik
452062d9fe
build: clean up build caches from bundle and go steps 2020-05-03 10:23:42 +05:30
Niclas Mietz
e87f29c2a3
Upgrade to 12.9.0 (#2117)
* Upgrade GitLab CE to 12.9.0

* Update gitlab-shell to 12.0.0

Signed-off-by: solidnerd <niclas@mietz.io>

* Update gitlab-workhorse to 8.25.0

Signed-off-by: solidnerd <niclas@mietz.io>

* Update gitlab-pages to 1.17.0

Signed-off-by: solidnerd <niclas@mietz.io>

* Update gitaly to 12.9.0-rc42

Signed-off-by: solidnerd <niclas@mietz.io>

* feat: replace unicorn with puma as webserver

Signed-off-by: solidnerd <niclas@mietz.io>
2020-04-04 10:08:52 +02:00
Niclas Mietz
67a5fc30b4
Upgrade to 12.8.0 (#2090)
* Upgrade GitLab CE to 12.8.0

* Update gitlab-workhorse to 8.21.0

Signed-off-by: solidnerd <niclas@mietz.io>

* Update gitlab-pages to 1.16.0

Signed-off-by: solidnerd <niclas@mietz.io>

* Update gitaly to 12.8.0

Signed-off-by: solidnerd <niclas@mietz.io>

* fix: gitaly-hooks missing symlink

Signed-off-by: solidnerd <niclas@mietz.io>

* chore(base-image): update base image to 20200219

* fix: unicorn worker limits

Signed-off-by: solidnerd <niclas@mietz.io>

* fix(ci): disable caching

Signed-off-by: solidnerd <niclas@mietz.io>

* feat: add patch support for gitlab during the installation

Signed-off-by: solidnerd <niclas@mietz.io>

* fix: ArgumentError: 'import/{{oauth2_generic_name}}' is not a supported controller name

Closes #2101

Signed-off-by: solidnerd <niclas@mietz.io>

* fix: add fix for upstream gitaly problems during a fresh install

Signed-off-by: solidnerd <niclas@mietz.io>

* chore: update changelog.md
2020-03-29 15:29:09 +02:00
Steven Achilles
844d721efa fix(gitlab-shell): let gitlab-shell compile again 2020-01-25 11:30:43 +01:00
Pierre Belloy
7ca29dfce0 Use updated gitlab-ce repository name gitlab-foss
Gitlab is moving to a single codebase for GitLab Community and Enterprise editions.
All code and development is moved into the gitlab-ee repository.
The code of the gitlab-ce repository remains as is, and won't include any proprietary code.
The `gitlab-ce` repository is renamed to `gitlab-foss`

See https://about.gitlab.com/2019/08/23/a-single-codebase-for-gitlab-community-and-enterprise-edition/

Signed-off-by: Pierre Belloy <p.belloy@axelor.com>
2019-09-26 06:24:52 +02:00
solidnerd
33d97605d6 Upgrade base-image to ubuntu:bionic 2019-08-26 21:09:53 +02:00
solidnerd
1a22748ea2 Remove MySQL Support for Versions > 12.1 2019-08-11 19:08:22 +02:00
solidnerd
fe04334b61 Fix behaviour of gitlab:backup:restore/backup
Since 10.8 GitLab requires Gitaly as core process. Gitaly needs to be
run to make backups successfuly.

For this case we will start all proccess to let handle the backup and
restore correctly like before.

Signed-off-by: solidnerd <niclas@mietz.io>
2019-07-13 13:30:04 +02:00
Don Bowman
d902ec2ff8 Add support for receive.advertisePushOptions
See [install](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md)
which suggests doing:

```
sudo -u git -H git config --global receive.advertisePushOptions true
```

Signed-off-by: Don Bowman <db@donbowman.ca>
2019-02-23 22:49:58 +01:00
Sameer Naik
2ca3c61261 fix image builds on docker hub 2019-01-05 22:51:27 +01:00
solidnerd
9d5f0dbb0b Fix various shellcheck warnings and errors
Signed-off-by: solidnerd <niclas@mietz.io>
2018-11-24 09:47:58 +01:00
Stéphane Klein
6d6976c08b Add %h/.ssh/authorized_keys_proxy to AuthorizedKeysFile parameter in /etc/ssh/sshd_config to support ssh host forwarding to GitLab container 2018-10-07 13:08:58 +02:00
solidnerd
5efa8619af
Fix gitaly-ssh missing symlink
* Opening a merge request from a branch within my fork towards the master of the upstream repo, this results in 503 errors.

* Updating existing cross-fork merge request with new commits, they do not show up in the merge requests, neither do the diffs.
However, the branch in the fork shows the newly added commit.

FIXES #1721, #1712
2018-09-22 09:38:40 +02:00
Sameer Naik
cdfa19d4f1
install: simplify and optimize gitaly installation directory contents 2018-08-01 16:34:16 +05:30
Sameer Naik
571334f97e
install: simplify gitlab-pages build steps 2018-08-01 16:34:16 +05:30
Sameer Naik
a95766d652
install: simplify gitlab-workhorse build steps 2018-08-01 16:34:16 +05:30
Sameer Naik
3b17df4d95
use GOROOT variable whenever possible 2018-08-01 16:34:15 +05:30
Sameer Naik
bf5c5d3a23
install: update gitlab-shell tarball url 2018-08-01 16:34:15 +05:30
Sameer Naik
278443069f
build: clean up unused artifacts leftover from the build stage 2018-08-01 16:34:14 +05:30
Niclas Mietz
4e9b6d5105
Merge pull request #1678 from sameersbn/clean-build-caches
clean up the $HOME/.cache directory after installation
2018-07-28 10:35:29 +02:00
Sameer Naik
96c3e9e983
clean up the $HOME/.cache directory after installation
Yarn stores every package in a global cache in your user directory on
the file system. This ends up to be around ~400M of extra utilized by
the image and has no benefits whatsoever.

Additionally `go` populates a build cache with will also be cleared
when the ~/.cache directory is purged

/cc @solidnerd
2018-07-27 16:47:09 +05:30
Sameer Naik
46e45c92da
baseimage: switch to official ubuntu:xenial-20180705 image 2018-07-27 11:07:56 +05:30
Klos, Jan
428e37a821
fix "unknown group 'syslog'" error preventing logrotate from functioning 2018-03-25 04:45:01 +02:00
solidnerd
dbe49107de
Add Kerberos dev libs for omnibus-auth-kerberos package
Signed-off-by: solidnerd <niclas@mietz.io>
2018-01-26 17:25:54 +01:00
solidnerd
81f54f7135
Replace re2 manual install with libre2-dev
Since we are using xenial now. It’s also possible to cleanup this build instruction.

Signed-off-by: solidnerd <niclas@mietz.io>
2018-01-26 17:25:54 +01:00
Wang Xuerui
29fc2f5a1f Allow running on PaX kernels
`ruby` needs the PaX MPROTECT flag disabled to run on PaX-enabled systems because of JIT. Mark it as such.
2017-12-30 17:57:05 +08:00
solidnerd
c570f1c196
Remove GITALY_ENABLED
Since the last version Gitaly is now the way to go. So I removed this variable from the image.

Signed-off-by: solidnerd <niclas@mietz.io>
2017-10-26 21:47:53 +02:00
solidnerd
3fc8424bba
Use git as installation for gitaly
This commit applys the patch from @fmauNeko .

Signed-off-by: solidnerd <niclas@mietz.io>
2017-10-26 21:47:53 +02:00
solidnerd
e025be725e
Fix gitlab-pages installation
This fixes the installation of gitlab-pages.
Git will be now used to download gitlab-pages and the new make script will be used.
Signed-off-by: solidnerd <niclas@mietz.io>
2017-10-22 19:22:47 +02:00
Even Holthe
985d57afb9 Add ajv as an explicit dependency
Thanks to @phenomax to pointing this out. Should probably be removed in
the future once it's fixed upstream.

See the following links for more info:
  - https://gitlab.com/gitlab-org/gitlab-ce/issues/38275
  - https://gitlab.com/gitlab-org/gitlab-ce/issues/38050
  - https://github.com/sameersbn/docker-gitlab/issues/1360
2017-10-01 21:33:25 +02:00
solidnerd
d1287f4895
Remove explicit gettext:compile
This is not needed anymore it got fixed by the upstream.

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13122/diffs
Signed-off-by: solidnerd <niclas@mietz.io>
2017-08-19 09:06:56 +02:00
solidnerd
de3a4a1349
Add gettext:compile for assets
This helps to let js and other stuff working correctly with i18n translations.

Fixes #1301
2017-07-25 09:29:41 +02:00
Niclas Mietz
04589d2d66 Merge pull request #1288 from MichaelEischer/regenerate-secrets
Regenerate secrets on container startup
2017-07-23 13:19:21 +02:00
Sergey Rusakov
31c7561641
Add RE2 library to install script 2017-07-21 23:29:17 +02:00
Michael Eischer
e383d84296 Generate secrets on container startup 2017-07-16 20:30:33 +02:00
Abel Tay
3b1b03c75d Fix typo in gitlab-workhorse 2017-07-07 14:42:41 +08:00
solidnerd
ceb4e1d1f0
Use gitlab:assets:compile for compiling assets
This commit will replace the following rake tasks through a single one.

- assets:clean
- assets:precompile
- webpack:compile

Signed-off-by: solidnerd <niclas@mietz.io>
2017-07-02 12:52:16 +02:00
solidnerd
d4de4f3b7b
Remove lock for omniauth-google-oauth2
This gonna be fixed through the upstream commit b60a14357f

Signed-off-by: solidnerd <niclas@mietz.io>
2017-07-02 12:52:16 +02:00
timfeirg
793b33c2e5 install gitaly 2017-07-01 17:26:40 +08:00
timfeirg
0c28126033 extra steps required when installing gitlab-shell 2017-06-29 12:25:01 +08:00
timfeirg
3a32735558 Upgrade to Gitlab CE 9.3.0 2017-06-27 16:46:32 +08:00
Andrew Stuart
42275623d6
Temporary workaround for omniauth Gemfile.lock incompatibility 2017-05-26 11:46:04 -07:00
Andrew Stuart
105c701235
Add flexibility to use versions committed into gitlab-ce 2017-05-26 11:45:42 -07:00
Andrew Stuart
169963397e
Update to 9.2.0 2017-05-26 11:45:28 -07:00
lsm
67e402674c Fix #1188
@solidnerd This is the change would allow me to build again.
2017-05-09 20:07:48 -07:00