1. 21 Mar, 2022 1 commit
  2. 10 Mar, 2022 1 commit
    • Kevin Daudt's avatar
      build: apply upstream patch to fix building gitlab · 9961d760
      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.
  3. 08 Mar, 2022 1 commit
    • Kevin Daudt's avatar
      CI: build without cache · 131c58a2
      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.
  4. 06 Mar, 2022 4 commits
  5. 27 Feb, 2022 7 commits
  6. 07 Feb, 2022 1 commit
  7. 04 Feb, 2022 1 commit
  8. 30 Jan, 2022 1 commit
  9. 26 Jan, 2022 2 commits
    • Kevin Daudt's avatar
      docker: bump Alpine Linux to 3.15 · a356af23
      Kevin Daudt authored
    • Kevin Daudt's avatar
      docker: define alpine version in a single location · b35e77c8
      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
      Add a ALPINE-VERSION file where the version is determined and provide it
      as build args for each Dockerfile.
  10. 21 Jan, 2022 1 commit
  11. 12 Jan, 2022 1 commit
  12. 22 Dec, 2021 3 commits
  13. 21 Dec, 2021 3 commits
    • Kevin Daudt's avatar
      gitlab: migrate existing nginx config to new location · 0930ce26
      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's avatar
      gitlab: add X-Forwarded-Ssl header to nginx patch · 1e44ad22
      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's avatar
      gitlab: rebase default nginx config patch · 8fac2f49
      Kevin Daudt authored
  14. 07 Dec, 2021 1 commit
  15. 04 Dec, 2021 3 commits
    • Kevin Daudt's avatar
      taskfile: rebuild when image does not exist · 249e9bc3
      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's avatar
      gitlab: copy shell before setup · ab39d1ac
      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's avatar
      gitlab: upgrade to 14.4.2 · 1cf0dd71
      Kevin Daudt authored
  16. 27 Nov, 2021 2 commits
  17. 21 Nov, 2021 4 commits
  18. 14 Nov, 2021 1 commit
  19. 13 Nov, 2021 2 commits
    • Kevin Daudt's avatar
      gitlab-shell: use golang from alpine 3.13 · 18da1b38
      Kevin Daudt authored
    • Kevin Daudt's avatar
      gitaly: use v3.13 alpine golang image · d175711c
      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.