Skip to main content
Sign in
Snippets Groups Projects
Select Git revision
  • 75ef492a30f9463d5f0aeebde487b72f1fe70943
  • main default protected
2 results

rules.go

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