Fix Telegraf s3 upload and readme links

fixes #505
This commit is contained in:
Cameron Sparr 2016-01-11 13:33:19 -07:00
parent 56509a61b9
commit 2ec1ffdc11
2 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@ TODO: link to blog post about 0.10.x changes.
### Linux deb and rpm packages:
Latest:
* http://get.influxdb.org/telegraf/telegraf_0.10.0_amd64.deb
* http://get.influxdb.org/telegraf/telegraf_0.10.0-1_amd64.deb
* http://get.influxdb.org/telegraf/telegraf-0.10.0-1.x86_64.rpm
0.2.x:
@ -45,9 +45,9 @@ controlled via `systemctl [action] telegraf`
### Linux binaries:
Latest:
* http://get.influxdb.org/telegraf/telegraf_linux_amd64_0.10.0.tar.gz
* http://get.influxdb.org/telegraf/telegraf_linux_386_0.10.0.tar.gz
* http://get.influxdb.org/telegraf/telegraf_linux_arm_0.10.0.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.0_linux_amd64.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.0_linux_386.tar.gz
* http://get.influxdb.org/telegraf/telegraf-0.10.0_linux_arm.tar.gz
0.2.x:
* http://get.influxdb.org/telegraf/telegraf_linux_amd64_0.2.4.tar.gz

View File

@ -204,9 +204,9 @@ def upload_packages(packages, nightly=False):
print ""
c = boto.connect_s3()
# TODO(rossmcdonald) - Set to different S3 bucket for release vs nightly
bucket = c.get_bucket('telegraf-nightly')
bucket = c.get_bucket('get.influxdb.org')
for p in packages:
name = os.path.basename(p)
name = os.path.join('telegraf', os.path.basename(p))
if bucket.get_key(name) is None or nightly:
print "\t - Uploading {}...".format(name),
k = Key(bucket)