Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
telegraf-nftables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Due to inactivity, this project is scheduled to be deleted on 2035-04-24.
Why is this scheduled?
Show more breadcrumbs
vqgroup
telegraf-nftables
Commits
366bda45
Unverified
Commit
366bda45
authored
7 years ago
by
Daniel Nelson
Browse files
Options
Downloads
Patches
Plain Diff
Remove out of date Vagrantfile
parent
c010fb1c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/Vagrantfile
+0
-37
0 additions, 37 deletions
scripts/Vagrantfile
with
0 additions
and
37 deletions
scripts/Vagrantfile
deleted
100644 → 0
+
0
−
37
View file @
c010fb1c
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION
=
"2"
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
config
.
vm
.
box
=
"ubuntu/trusty64"
config
.
vm
.
synced_folder
".."
,
"/home/vagrant/go/src/github.com/influxdata/telegraf"
,
type:
"rsync"
,
rsync__args:
[
"--verbose"
,
"--archive"
,
"--delete"
,
"-z"
,
"--safe-links"
],
rsync__exclude:
[
"./telegraf"
,
".vagrant/"
]
config
.
vm
.
provision
"shell"
,
name:
"sudo"
,
inline:
<<-
SHELL
chown -R vagrant:vagrant /home/vagrant/go
apt-get install bison git tig --yes
echo -n > /etc/profile.d/gopath.sh
echo 'export GOPATH=/home/vagrant/go' >> /etc/profile.d/gopath.sh
SHELL
config
.
vm
.
provision
"shell"
,
privileged:
false
,
name:
"user"
,
inline:
<<-
SHELL
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source "$HOME/.gvm/scripts/gvm"
gvm install go1.4.2 --prefer-binary
gvm use go1.4.2 --default
echo "export PATH=$PATH:$GOPATH/bin" >> "$HOME/.bashrc"
echo 'export GOPATH=/home/vagrant/go' >> "$HOME/.bashrc"
cd "$HOME/go/src/github.com/influxdata/telegraf" &&\
rm -rf Godeps/_workspace/pkg &&\
GOPATH="$HOME/go" make
SHELL
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
"1024"
]
end
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