-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(normalize_storage): use MINIO_BUCKET
env-var
#141
Conversation
Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it. |
9dc46d7
to
0da686e
Compare
related deis/slugrunner#66 |
Jenkins, add to whitelist. |
Looks like
|
0da686e
to
7c44b0f
Compare
Oh sure, make sense, sorry my bad! |
rootfs/bin/normalize_storage
Outdated
@@ -1,8 +1,9 @@ | |||
#!/usr/bin/env bash | |||
export BUCKET_FILE=/var/run/secrets/deis/objectstore/creds/builder-bucket | |||
if [ "$BUILDER_STORAGE" == "minio" ]; then | |||
MINION_BUCKET_NAME=${MINIO_BUCKET:-git} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make this MINIO_BUCKET_NAME
(not MINION
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Use MINIO_BUCKET environment variable to define the bucket name for minio storage type instead of hardcoded `git` If there isnt a value on MINIO_BUCKET var, normalize_storage will use `git` by default
7c44b0f
to
4e0c17c
Compare
Hi @mboersma , Is there something then I need to fix? |
@drgarcia1986 not your problem as far as I can tell, it looks like we have some issues with the e2e tests. I'll be looking at that today and get it sorted out. |
@mboersma tks 👍 |
Jenkins, test this please. |
c'mon jenkins, be nice to me :/ |
Use MINIO_BUCKET environment variable to define the bucket name for minio storage type
instead of hardcoded
git
If there isnt a value on MINIO_BUCKET var, normalize_storage will use
git
by default