1. 30 Dec, 2016 1 commit
    • iv's avatar
      gitlab: fix PATH for gitlab-exporter script · db125b0c
      iv authored
      In prevision for gitlab-backup restore to be done in a script. In fact, it requires `sed` command to be available.
      We have to add /bin to the PATH as `which sed` returns `/bin/sed`.
      db125b0c
  2. 29 Dec, 2016 2 commits
    • iv's avatar
      gitlab: start automation of gitlab-backup · 541c84f8
      iv authored
        - git-clone and build git-backup sources
        - add a cron job doing `gitlab-backup-pull` every 4 hours by default
        - add instance parameter to change backup frequency
        - add xnice for using less resources while backuping
        - add lock to avoid concurrent calls of backup script
        - add a specific software type `gitlab-export` doing all this instead of in
          `default`; this can be changed in Services > parameters (kirr's changes)
      
      `coreutils`, `grep` and `tar` components are used by `gitlab-backup-pull`
      script, as it is called from a cron and the PATH has to include these
      binaries paths
      541c84f8
    • iv's avatar
      gitlab: use slapos-cookbook-develop + pin slapos cookbook version · 74a722b0
      iv authored
      This is needed until the patch regarding `pidfile` in wrapper.py
      is added to SlapOS cookbook.
      74a722b0
  3. 15 Dec, 2016 1 commit
  4. 20 Oct, 2016 5 commits
    • iv's avatar
      gitlab: Update software to gitlab 8.8 · 0abde9c5
      iv authored
      Update GitLab software to
      
          - gitlab-ce 8.8.9 + NXD patches
      
          - gitlab-shell stays at 2.7.2 + 1 patch to remove unneeded hooks.old in *.git
            because gitlab-ce 8.7.x sticks to this version (i.e. no shell upgrade for
            gitlab 8.7 -> 8.8)
      
          - gitlab-workhorse stays at 0.7.1 + NXD patches because gitlab-ce 8.8.x
            sticks to this version (i.e. no workhorse upgrade for gitlab 8.7 -> 8.8)
      
      This only updates software and begins SR update to 8.8 - for now gitlab
      instance starts using gitlab-ce appropriate version.
      0abde9c5
    • iv's avatar
      gitlab: fix promise failure due to use of curl version 7.50 · eb2b7608
      iv authored
      it is no longer possible to use http:/ as curl now expect a hostname to be
      given, see curl issue https://github.com/curl/curl/issues/936
      eb2b7608
    • iv's avatar
      gitlab: Sync sidekiq service to upstream · ab578df5
      iv authored
      Like for af0c5b11
      
          $ git diff 8-7-stable 8-8-stable --
                  files/gitlab-cookbooks/gitlab/templates/default/sv-sidekiq-run.erb
      
      is empty.
      ab578df5
    • iv's avatar
      gitlab: Sync gitlab-parameters.cfg to upstream · de35c7da
      iv authored
      Like for 61177775.
      
      I've manually reviewed
      
          git diff 8-7-stable 8-8-stable -- files/gitlab-config-template/gitlab.rb.template \
                                            files/gitlab-cookbooks/gitlab/attributes/default.rb
      
      on omnibus-gitlab repository.
      
      There are only changes on postgresql and registry options, which are not relevant for us.
      de35c7da
    • iv's avatar
      gitlab: Slapos'ify gitlab config updates · c7e69fac
      iv authored
      Do not use container_registry and registry_* options
      c7e69fac
  5. 13 Oct, 2016 2 commits
  6. 12 Oct, 2016 1 commit
  7. 11 Oct, 2016 3 commits
  8. 10 Oct, 2016 3 commits
  9. 07 Oct, 2016 1 commit
  10. 05 Oct, 2016 2 commits
  11. 03 Oct, 2016 2 commits
  12. 01 Oct, 2016 3 commits
  13. 30 Sep, 2016 6 commits
  14. 29 Sep, 2016 8 commits