Skip to content

Commit

Permalink
fix example command
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry committed Sep 2, 2021
1 parent c3e1133 commit 85fd78a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,16 @@ TEST_BOXES = [
]


#####
# Centos
#####
Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |vbox|
vbox.memory = 8192
vbox.cpus = 6
end
# docker run -v $(pwd):"/go/src/github.com/elastic/beats" --entrypoint="/bin/bash" -it docker.elastic.co/beats-dev/golang-crossbuild:1.16.6-darwin-debian10

# Docker config. Run with --provision-with docker,shell
# For now this script is only going to work on the ubuntu images.
# How to run tests from within docker, from within the container:
# docker run -v $(pwd):"/root/go/src/github.com/elastic/beats" -w /root/go/src/github.com/elastic/beats/metricbeat/module/system/process --entrypoint="/usr/local/go/bin/go" -it docker.elastic.co/beats-dev/golang-crossbuild:1.16.6-darwin-debian10 test -v -tags=integrations -run TestFetch
config.vm.provision "docker", type: "shell", run: "never" do |s|
s.path = "dev-tools/vagrant_scripts/dockerProvision.sh"
end
Expand Down

0 comments on commit 85fd78a

Please sign in to comment.