1. 23 May, 2022 1 commit
  2. 19 May, 2022 1 commit
    • Anthony PERARD's avatar
      Adding git-cache-proxy housekeeping service · a457ffe2
      Anthony PERARD authored
      The housekeeping that git-cache-proxy is supposed to be doing while
      handling connections doesn't work when using systemd.socket.
      
      The housekeeping task fork from the main process which is handling one
      connection, but the main process doesn't wait. So once the repo is
      served, systemd simply kill all remaining task. The housekeeping task
      never managed to finished. Often, it will even leave a "tmp_pack_*"
      file that can be big, and fill the disk slowly.
      
      Add a service that is run daily to do the housekeeping task.
      
      Reduce "gc-interval-days" to half the default, to try having this new
      .timer do the jobs rather than the .socket one. We can't disable the
      housekeeping done automatically at the moment.
      a457ffe2
  3. 16 Mar, 2022 3 commits
    • Anthony PERARD's avatar
      Merge branch 'fixes' into 'master' · bf84ca82
      Anthony PERARD authored
      Some fixes. Fix "pre-build-script". Fix start of "git-cache-proxy.socket" at reboot.
      
      See merge request !17
      bf84ca82
    • Anthony PERARD's avatar
      Fix dependencies with "git-cache-proxy.socket" · 486ac5de
      Anthony PERARD authored
      This sockets can only be enabled after docker have started as we are
      binding to an address that is created with the bridge "docker0" which
      docker creates. Also, create this socket when gitlab-runner is
      started, instead of having "sockets.targets" depends on "docker.service".
      
      This is to avoid failures to start "git-cache-proxy.socket" on reboot.
      486ac5de
    • Anthony PERARD's avatar
      Fix gitlab-runner pre-build script when "git" is missing · 6c02b6e2
      Anthony PERARD authored
      Some container don't have "git" installed, so the `git config` fails.
      This failure in turn result in a failure for the job.
      
      Check that "git" is installed.
      6c02b6e2
  4. 15 Mar, 2022 1 commit
  5. 14 Mar, 2022 4 commits
  6. 11 Mar, 2022 1 commit
  7. 25 Feb, 2022 2 commits
    • Anthony PERARD's avatar
      Merge branch 'static-runners' into 'master' · 9aec82f0
      Anthony PERARD authored
      replace docker-machine runner by plain docker (remove autoscaling)
      
      See merge request !14
      9aec82f0
    • Anthony PERARD's avatar
      replace docker-machine runner by plain docker (remove autoscaling) · 10a435a6
      Anthony PERARD authored
      This should replace the autoscale of runners that spawn between 1 and
      10 machines to have 10 machine always running. (But will start with 1
      as the autoscaling didn't work for other reason.)
      
      We remove docker+machine stuff as we will use "docker" on the machine
      setup by teraform. (docker+machine is mainly use for autoscaling.)
      
      This is to workaround "jobs" which fails with `git clone` error for
      example:
          Cloning into 'qemu-xen-dir-remote.tmp'...
          error: inflate: data stream error (incorrect data check)
          fatal: serious inflate inconsistency
          fatal: index-pack failed
      
      For the renamed "gitlab-docker-machine" to "gitlab-docker", we can't
      really use "count" to increase the number of instance or they would
      all have the same name. Instead, we add cound to "random_pet.name" and
      create an instance for each one of the pet name.
      
      We now provide a name to `gitlab-runner register` via --name so we can
      reference to it to unregister it.
      10a435a6
  8. 11 Mar, 2021 1 commit
  9. 04 Mar, 2021 7 commits
  10. 03 Mar, 2021 2 commits
  11. 02 Mar, 2021 1 commit
  12. 17 Feb, 2020 2 commits
  13. 14 Feb, 2020 2 commits
  14. 05 Feb, 2019 3 commits
  15. 19 Nov, 2018 1 commit
  16. 17 Nov, 2018 1 commit
  17. 16 Nov, 2018 1 commit
    • Wei Liu's avatar
      Fix bastion vm setup script · 3ebd4445
      Wei Liu authored
      
      
      Use noninteractive frontend, so that when there is a conflict in
      service configuration files, the default action is taken.
      
      Move changing sshd_config after dist-upgrade, to avoid the "default
      action" overrides our own setting. That's not likely to happen, but
      better safe than sorry.
      Signed-off-by: default avatarWei Liu <wei.liu2@citrix.com>
      3ebd4445
  18. 11 Oct, 2018 1 commit
  19. 07 Oct, 2018 3 commits
  20. 19 Sep, 2018 2 commits