Steven Achilles
230284ebcf
Do not copy ruby by installing gitaly
2023-05-25 18:14:23 +02:00
Steven Achilles
5fc732eb3c
Add new configuration options for database.yml
2023-05-25 06:44:20 +02:00
Kazunori Kimura
029186dc63
Avoid permission error on creating config file
...
`assets/build/config/database.yml.postgresql` is owned by root:root,
and permission is rwxrw----
so the user `git` (`${GILTAB_USER}`) doesn't have a permission to copy the file.
This raises an error while building.
2023-04-17 16:06:35 +09:00
Steven Achilles
5450187484
Merge pull request #2735 from zimmski/enable-git-protocol-2
...
Allow SSH clients to explicitly set the Git transfer protocol
2023-04-12 16:17:53 +02:00
Kazunori Kimura
95bc778ee0
Silence "CRIT unixServer" warning from supervisord
...
Silence the message like below:
CRIT Server 'unix_http_server' running without any HTTP authentication checking
Reference:
https://github.com/Supervisor/supervisor/issues/717#issuecomment-176860145
https://github.com/sameersbn/docker-redmine/commit/0fb84b9
2023-03-31 03:01:19 +09:00
Markus Zimmermann
4bfc8974ba
Allow SSH clients to explicitly set the Git transfer protocol
...
This allows to the client to explicitly select protocol version 2, which is much more efficient. Without allowing that environment variable it seems that SSH connections are always stuck in version1. See https://docs.gitlab.com/ee/administration/git_protocol.html on how to check if protocol 2 is used.
2023-03-24 11:55:42 +01:00
Kazunori Kimura
a1dcfe6eaf
Update sidekiq supervisord config; sidekiq v6.0
...
Sidekiq is updated to v6.0 here (first contained tag: v14.4.0-ee)
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/69655
In Sidekiq 6.0, these options have been marked as "deprecated":
-P (set pid file)
-L (set log file)
See https://github.com/sidekiq/sidekiq/commit/3f5b1c5
Now, we can see error message in {GITLAB_LOGS_DIR}/supervisor/sidekiq.log
like below:
----
ERROR: PID file creation was removed in Sidekiq 6.0, please use a proper process supervisor to start and manage your services
ERROR: Logfile redirection was removed in Sidekiq 6.0, Sidekiq will only log to STDOUT
----
Just stop using this option.
2023-02-22 20:42:51 +09:00
Kazunori Kimura
10a48c1541
Clarify user=root in supervisord.conf
...
to prevent "Supervisor running as root" warning
2023-02-22 20:42:51 +09:00
Antt1995
8db9ed8908
Upgrade Go & safe dir
2022-11-23 15:14:40 +00:00
Steven Achilles
5c9c5cad1b
Temporary remove geo from config/database.yml
2022-07-02 15:49:54 +02:00
Kazunori Kimura
fbcdd290be
fix condition to apply patch during build gitlab
...
rewrite patch applying with find | while read chain
`if [[ -f ]]` with globbing may not works
2022-06-21 08:46:32 +09:00
Steven Achilles
0badf7cdd7
Use git instead of git-core
2022-05-05 19:53:52 +02:00
Steven Achilles
64e6256012
transfer build packages from Dockerfile to install.sh
2022-05-03 19:36:22 +02:00
Steven Achilles
889d9c36bf
collective deletion of packages
2022-05-03 19:14:50 +02:00
Steven Achilles
a02abdce2d
Address inconsistencies when using git (packaged with gitaly).
2022-05-03 17:58:58 +02:00
Paolo Mainardi
21b459216b
refs #2549 : Install git from gitaly
2022-04-29 17:19:40 +02:00
Kazunori Kimura
464cd644d6
set bundler version based on gitlab's Gemfile.lock
...
bundler used in gitlab is upgraded from 2.1.4 to 2.3.6
See more detail on : https://gitlab.com/gitlab-org/gitlab/-/merge_requests/79251
first contained tag : v14.8.0
2022-04-14 00:30:26 +09:00
Olivier Mueller
3ab737d218
Fix suggested by Kazunori Kimura
2022-03-23 13:02:14 +01:00
Kazunori Kimura
af9bfee78f
add patch to change SSH_ALGORITHMS_PATH
...
To enable ssh host key info in help page
2022-01-26 00:23:40 +09:00
Steven Achilles
e83bb7e17a
Rename/remove build patch for gitlab-foss
...
- Expand if condition so that non-existent gitlab patches are not a problem
2021-12-23 13:04:38 +01:00
Steven Achilles
6c0888b669
Add make target for gitlab-shell
2021-10-19 22:18:11 +02:00
Steven Achilles
3232a10fe4
Update base image, fix problems compiling gitlab-shell and complete changelog
2021-10-19 21:41:12 +02:00
Steven Achilles
1d6fa315f2
Merge pull request #2429 from kkimurak/install-ruby-from-source
...
Install ruby from source
2021-10-19 21:01:53 +02:00
Steven Achilles
c36fc17354
Add variable for the source url of ruby
...
I think that defining a variable for the source of the Ruby tarball makes sense.
2021-10-19 20:00:55 +02:00
Kazunori Kimura
47d17b6ffb
remove duplicated installation of bundler
...
`bundler 2.1.4` is default gem of ruby >= 2.7.1 and installed during ruby installation
so we don't need to install it explicitly.
2021-10-10 23:51:57 +09:00
Kazunori Kimura
f8f2190826
supress build time warnings
...
- [git] set advice.detachHead=false
- [bundle] use `bundle config set --local` instead of
- `--deployment`
- `--with` / `--without`
arguments for `bundle install`
2021-10-09 15:56:07 +09:00
Kazunori Kimura
173e5e25a3
Install ruby from source (v2.4.2)
2021-10-09 15:45:11 +09:00
Steven Achilles
93a47b7d75
Update patch '0001-fix-feature-checking-for-gitaly-on-a-fresh-install.patch'
2021-08-24 21:19:06 +02:00
Kazunori Kimura
4ccb8eefb5
Support healthcheck with relative URL
...
traditional one with relative url always returns 404 (unhealthy).
Now we can use ${GITLAB_RELATIVE_URL_ROOT} variable to set healcheck URL
after moving script generation to runtime,
2021-04-08 21:12:19 +09:00
intec_bf
82630d2d93
use Ubuntu 20.04 as base image
2021-04-06 12:06:41 +02:00
intec_bf
af6bfcb789
workhorse is now bundled with gitlab
2021-03-22 21:55:05 +01:00
intec_bf
2d0159b61d
reduce image size
2020-12-02 22:57:31 +01:00
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