Skip to content

Commit

Permalink
fix(objectstore):set properly builder bucket file environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Keerthan Mala authored and krancour committed Jun 30, 2016
1 parent 4f4ebb5 commit e7a22e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/deploy.py
Expand Up @@ -31,6 +31,7 @@ def log(msg):


def download_file(tar_path):
os.putenv('BUCKET_FILE', "/var/run/secrets/deis/objectstore/creds/builder-bucket")
if os.getenv('BUILDER_STORAGE') == "minio":
os.makedirs("/tmp/objectstore/minio")
bucketFile = open('/tmp/objectstore/minio/builder-bucket', 'w')
Expand Down

0 comments on commit e7a22e0

Please sign in to comment.