1. 01 Jul, 2022 1 commit
  2. 02 Jun, 2022 1 commit
  3. 05 May, 2022 1 commit
  4. 03 May, 2022 1 commit
  5. 23 Apr, 2022 1 commit
  6. 13 Apr, 2022 1 commit
  7. 02 Apr, 2022 1 commit
  8. 24 Mar, 2022 1 commit
  9. 23 Mar, 2022 2 commits
  10. 21 Mar, 2022 1 commit
  11. 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.
      9961d760
  12. 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.
      131c58a2
  13. 06 Mar, 2022 4 commits
  14. 27 Feb, 2022 7 commits
  15. 07 Feb, 2022 1 commit
  16. 04 Feb, 2022 1 commit
  17. 30 Jan, 2022 1 commit
  18. 26 Jan, 2022 2 commits
    • Kevin Daudt's avatar
      docker: bump Alpine Linux to 3.15 · a356af23
      Kevin Daudt authored
      a356af23
    • 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
      location.
      
      Add a ALPINE-VERSION file where the version is determined and provide it
      as build args for each Dockerfile.
      b35e77c8
  19. 21 Jan, 2022 1 commit
  20. 12 Jan, 2022 1 commit
  21. 22 Dec, 2021 3 commits
  22. 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.
      0930ce26
    • 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.
      1e44ad22
    • Kevin Daudt's avatar
      gitlab: rebase default nginx config patch · 8fac2f49
      Kevin Daudt authored
      8fac2f49
  23. 07 Dec, 2021 1 commit
  24. 04 Dec, 2021 2 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.
      249e9bc3
    • 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.
      ab39d1ac