Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[windows] going back to SENSU_VERSION

  • Loading branch information...
commit c0c171780a470630407c4a0997bda71fef516536 1 parent c4f64af
@portertech portertech authored
Showing with 6 additions and 6 deletions.
  1. +3 −3 README.md
  2. +3 −3 Vagrantfile
View
6 README.md
@@ -33,7 +33,7 @@ There are multiple ways to run the builders:
### Build packages on all supported platforms.
```
-$ export SENSU_GIT_REF=v0.9.5 # any valid tag in the sensu.git repo. Will also
+$ export SENSU_VERSION=v0.9.5 # any valid tag in the sensu.git repo. Will also
# be used as the 'version' in the .rpm/.deb's.
$ export BUILD_NUMBER=20 # could also use the jenkins build number
$ ./para-vagrant.sh
@@ -52,7 +52,7 @@ directory.
### Build packages on a single platform, from outside the VM.
-Make sure `SENSU_GIT_REF` and `BUILD_NUMBER` are exported in the environment.
+Make sure `SENSU_VERSION` and `BUILD_NUMBER` are exported in the environment.
```
$ vagrant up <BOX_NAME>
@@ -71,7 +71,7 @@ $ vagrant up <BOX_NAME> --no-provision
The builds can also be run without Vagrant, directly on a system (vm or
physical).
-Make sure `SENSU_GIT_REF` and `BUILD_NUMBER` are exported in the environment.
+Make sure `SENSU_VERSION` and `BUILD_NUMBER` are exported in the environment.
```
$ ./build.sh
View
6 Vagrantfile
@@ -3,8 +3,8 @@
require File.join(File.dirname(__FILE__), 'vagrant_patches')
-if ENV['SENSU_GIT_REF'].nil?
- raise "Must set env var 'SENSU_GIT_REF'"
+if ENV['SENSU_VERSION'].nil?
+ raise "Must set env var 'SENSU_VERSION'"
end
if ENV['BUILD_NUMBER'].nil?
@@ -43,7 +43,7 @@ Vagrant::Config.run do |vagrant|
config.vm.customize ['modifyvm', :id, '--memory', '640']
config.vm.customize ['modifyvm', :id, '--cpus', '1']
config.vm.provision :shell do |shell|
- shell.inline = "export SENSU_GIT_REF=#{ENV['SENSU_GIT_REF']} ; \
+ shell.inline = "export SENSU_VERSION=#{ENV['SENSU_VERSION']} ; \
export BUILD_NUMBER=#{ENV['BUILD_NUMBER']} ; \
cd /vagrant && ./build.sh && shutdown -h now"
end
Please sign in to comment.
Something went wrong with that request. Please try again.