- 21 Mar, 2022 1 commit
-
-
Kevin Daudt authored
-
- 10 Mar, 2022 1 commit
-
-
Kevin Daudt authored
Building of the gitlab front-end showed the following error: > Error: Cannot find module 'postcss' Even though it did not fail the actual build. THis has been reported, and a merge request was provided to fix this, but that has not been merged yet. Apply that patch to fix the build.
-
- 08 Mar, 2022 1 commit
-
-
Kevin Daudt authored
In CI, the images should always be built from scratch, and not use cached layers. So pass --no-cache to `docker-compose build` to make sure this happens.
-
- 06 Mar, 2022 4 commits
-
-
Kevin Daudt authored
This makes sure it only tries to strip elf binaries. Gets rid of some warnings during build that shell scripts are not recognized file formats.
-
Kevin Daudt authored
`xargs` has the `-P` parameter to execute commands in parallel, so let's use that.
-
Kevin Daudt authored
We patched the Makefile to prevent the ruby component from being built in the golang stage. But upstream already has a provision for this. By creating the .ruby-bundle file, the target is already satisfied, so it will be built. So let's use that.
-
Kevin Daudt authored
-
- 27 Feb, 2022 7 commits
-
-
Kevin Daudt authored
These settings determine the group of gems to install. We disable the testing group when building gitaly-ruby, but in the final image, these settings are missing. That results in bundle trying to load the testing gems, but since they have not been installed, it fails.
-
Kevin Daudt authored
cmd -> cmds
-
Kevin Daudt authored
To make sure they are restarted when the host or docker daemon is restarted.
-
Kevin Daudt authored
This allows us to persist gitaly logs
-
Kevin Daudt authored
This makes it easier to updat to a new version on hosts
-
Kevin Daudt authored
-
Kevin Daudt authored
-
- 07 Feb, 2022 1 commit
-
-
Kevin Daudt authored
-
- 04 Feb, 2022 1 commit
-
-
Kevin Daudt authored
-
- 30 Jan, 2022 1 commit
-
-
Kevin Daudt authored
This ensures that zombie processes are cleaned up. Currently there are a lot of git zombie processes in the gitaly container.
-
- 26 Jan, 2022 2 commits
-
-
Kevin Daudt authored
-
Kevin Daudt authored
Each Dockerfile hardcoded what Alpine Linux version to use, and to upgrade to a newer Alpine version, each occurrence has to be adjusted. There should not be a reason to combine different Alpine Linux versions, so it makes sense to define the Alpine Linux version in a single location. Add a ALPINE-VERSION file where the version is determined and provide it as build args for each Dockerfile.
-
- 21 Jan, 2022 1 commit
-
-
Kevin Daudt authored
-
- 12 Jan, 2022 1 commit
-
-
Kevin Daudt authored
-
- 22 Dec, 2021 3 commits
-
-
Kevin Daudt authored
This does not work, as nginx only receives http connections, so it would always be off. This reverts commit 687a5894.
-
Kevin Daudt authored
This allows gitlab to be tested locally where no https is used.
-
Kevin Daudt authored
The files in /etc/gitlab/nginx need to be migrated, not in /etc/nginx.
-
- 21 Dec, 2021 3 commits
-
-
Kevin Daudt authored
155e8cab (gitlab/nginx: link config in new location, 2021-11-21) adjusted the nginx configuration to a new location, but for existing setups, the configuration still lives at the old location. If the nginx config is missing, but still exists at the old location, move it to the expected location.
-
Kevin Daudt authored
This header is required for rails to recognize the connection is encrypted and send the _gitlab_session cookie. 155e8cab (gitlab/nginx: link config in new location, 2021-11-21) moved the default location for the nginx config to match upstream. Because in already deployed setups, the config is missing, the entrypoint will copy the default gitlab nginx config to the new location. This file was missing the required header, resulting in a 422 unprocessible entity error when trying to login, because the session cookie is missing. Add the X-Forwarded-Ssl header to the default nginx config to address that.
-
Kevin Daudt authored
-
- 07 Dec, 2021 1 commit
-
-
Kevin Daudt authored
-
- 04 Dec, 2021 3 commits
-
-
Kevin Daudt authored
Use `docker image inspect` to verify the image exists. If not, it should obviously be built, even though none of the source files changed.
-
Kevin Daudt authored
Gitlab checks the gitlab-shell version by looking at the VERSION file that's present in the gitlab-shell directory. But because we copied gitlab-shell only after installing gitlab in the image, gitlab could not determine the version and would always show a warning that the version is unknown. Because the gitlab-shell directory contains a dangling .gitlab-shell-secret symlink, gitlab fails during setup because it sees that the size of the file is 0 and tries to write a new secret into it, but fails because the file (symlink) exists. Write a bogus secret in the location that the secrets file points to so that gitlab skips generating the secret, as gitlab-shell already takes care of that in the entrypoint.
-
Kevin Daudt authored
-
- 27 Nov, 2021 2 commits
-
-
Kevin Daudt authored
Gitlab now supports specifying multiple databases for different components, where the main (and first) entry specifies the main database to use. The old format will be unsupported in gitlab 15. See: https://docs.gitlab.com/ee/development/database/multiple_databases.html#configdatabaseyml
-
Kevin Daudt authored
-
- 21 Nov, 2021 4 commits
-
-
Kevin Daudt authored
- Describe the toplevel tasks so that they get returned by `task -l` - Add more files to 'sources' to make sure tasks get executed when necessary
-
Kevin Daudt authored
-
Kevin Daudt authored
In alpine 3.14, the vhost configuration is expected to be located in `/etc/nginx/http.d/` Fixes #6
-
Kevin Daudt authored
-
- 14 Nov, 2021 1 commit
-
-
Kevin Daudt authored
Since v14.1[0], gitaly requires timezone information. Make sure tzdata is installed. Fixes error > "grpc_message":"unknown time zone Etc/UTC" [0]:https://gitlab.com/gitlab-org/gitaly/-/merge_requests/3586
-
- 13 Nov, 2021 2 commits
-
-
Kevin Daudt authored
-
Kevin Daudt authored
Although go is generally statically built, it still links against musl. musl on Alpine Edge added support for qsort_r, and apparently golang uses it if present. When running these binaries on Alpine 3.13, which we still do for gitlab, we get linking errors: > Error relocating /usr/local/bin/gitaly-git2go-v14: qsort_r: symbol not > found Use golang from Alpine 3.13 to avoid this.
-