Skip to content
Snippets Groups Projects
Select Git revision
  • v1.2-3-bpo70+1
  • master default protected
  • commit-alias
  • editor-modeline
  • commit-abbreviation
  • make-hooks-work-as-advertised
  • lyda-home-version
  • feature-aliases
  • git-version-bsd-fix
  • hook-changes
  • v1.20151229-1
  • v1.20151229
  • v1.20150502-1
  • v1.20150502
  • v1.20141026-manpage-static
  • v1.20141026-1
  • v1.20141026
  • v1.20141025-1
  • v1.20141025
  • v1.20141009-manpage-static
  • v1.20141009-1
  • v1.20141009
  • v1.20140508-1-bpo70+1
  • v1.20140508-1
  • v1.20140508-manpage-static
  • v1.20140508
  • v1.20140507
  • v1.20140313
  • v1.20131229-homebrew
  • v1.20131229-1-bpo60+1
30 results

changelog

Blame
  • To find the state of this project's repository at the time of any of these versions, check out the tags.
    Vagrantfile 732 B
    # -*- mode: ruby -*-
    # vi: set ft=ruby :
    
    ver = ENV['VERSION']
    lic = ENV['EDITION'].downcase
    get_package = "curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-#{lic}/script.deb.sh | sudo bash"
    host_port = ver.gsub(/[\.]/,"") + "0"
    
    Vagrant.configure("2") do |config|
      config.vm.box = "ubuntu/xenial64"
      config.vm.network "forwarded_port", guest: 80, host: host_port[0..4],
        auto_correct: true
    
      config.vm.provider "virtualbox" do |vb|
         vb.memory = "4096"
      end
    
      config.vm.provision "shell", inline: <<-SHELL
         sudo apt-get install curl openssh-server ca-certificates postfix
         #{get_package}
         sudo apt-get install gitlab-#{lic}=#{ver}-#{lic}.0
         sudo gitlab-ctl reconfigure
      SHELL
    
    end