Skip to main content
Sign in
Snippets Groups Projects
Select Git revision
  • 35f506a483f927efe1e9197449450879a33b8a23
  • master default protected
  • spahan-merge
  • spahan
  • v1.8-rc1
  • v1.7
  • v1.6.3
  • v1.6.2
  • v1.6.1
  • v1.6
  • v1.5.1
  • v1.5
  • v1.4a
  • v1.3
  • v1.2
  • v1.1
  • v1.0
17 results

chkcrontab_lib.py

Blame
  • init 403 B
    #!/bin/bash
    
    base_url=https://packages.gitlab.com/install/repositories/gitlab/gitlab-
    
    if [[ -z "$EDITION" || -z "$VERSION" ]]; then
      cat << EOF
    ERROR: must set EDITION and VERSION.
           EDITION can be "ce" or "ee"
           VERSION might be 9.1.2
    EOF
      exit 1
    fi
    
    curl -s $base_url$EDITION/script.deb.sh | bash
    apt-get install gitlab-${EDITION}=${VERSION}-${EDITION}.0
    gitlab-ctl reconfigure
    exec bash