Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
omnibus-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
omnibus-docker
Commits
a57a7974
Commit
a57a7974
authored
8 years ago
by
Adam Mulvany
Browse files
Options
Downloads
Patches
Plain Diff
First commit
parents
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+28
-0
28 additions, 0 deletions
README.md
Vagrantfile
+23
-0
23 additions, 0 deletions
Vagrantfile
with
51 additions
and
0 deletions
README.md
0 → 100644
+
28
−
0
View file @
a57a7974
# Omnibus-Vagrant
#### Requirements:
[
Virtualbox 5.1+
](
https://www.virtualbox.org/wiki/Downloads
)
[
Vagrant 1.9+
](
https://www.vagrantup.com/downloads.html
)
#### Usage
`VERSION=x.x.x EDITION="ee|ce" vagrant up`
i.e.
`VERSION=9.1.1 EDITION="ee" vagrant up`
The application will be available on http://localhost:{version + 0}
i.e. Version 9.1.1 will accessible from https://localhost:9110 on the host.
#### Cleanup
Once you are finished testing etc you can remove the VM with:
`VERSION=9.1.1 EDITION="ee" vagrant destroy`
and recreate new VMs as you please using the above steps.
This diff is collapsed.
Click to expand it.
Vagrantfile
0 → 100644
+
23
−
0
View file @
a57a7974
# -*- 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"
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"ubuntu/xenial64"
config
.
vm
.
network
"forwarded_port"
,
guest:
80
,
host:
ver
.
gsub
(
/[\.]/
,
""
)
+
"0"
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
vb
.
memory
=
"2048"
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment