Skip to content

Commit

Permalink
Cleanup uploader, deploy 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrusev committed Jul 23, 2015
1 parent 3854901 commit 5251e49
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packaging/s3uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,9 @@

import os.path
import sys
from ConfigParser import SafeConfigParser


base_path = "/home/martin/amon-packages"
key_file = os.path.join(base_path, 'amazon_keys.conf')

parser = SafeConfigParser()
parser.read(key_file)

AWS_ACCESS_KEY_ID = parser.get('amazon', 'key')
AWS_ACCESS_KEY_SECRET = parser.get('amazon', 'secret')


bucket_name = 'packages.amon.cx'
Expand All @@ -29,7 +21,7 @@
}
}

conn = boto.connect_s3(AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY_SECRET)
conn = boto.connect_s3()


bucket = conn.get_bucket(bucket_name,validate=True)
Expand Down

0 comments on commit 5251e49

Please sign in to comment.