-
Notifications
You must be signed in to change notification settings - Fork 16
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
fix(): when using s3, parse stream output to buffer for html files #117
Conversation
increase token timeout to 13hrs map yidf/state to txt extension
@@ -47,7 +47,7 @@ async function init() { | |||
|
|||
return logger.info('Server running at %s', server.info.uri); | |||
} catch (err) { | |||
logger.error(err); | |||
logger.error(err.toString()); |
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.
How about JSON.stringify
, does JSON.stringify capture many info nosies?
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.
this is a bug with logger we use winston
This is what we should do long term winstonjs/winston#1338 (comment)
@@ -31,6 +32,10 @@ class AwsClient { | |||
} | |||
}; | |||
|
|||
if (config.sessionToken) { |
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.
is this added for local debugging only?
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.
Yes, any setup with a federated login, not sure if there is a scope to use this to move away from access key based login.
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.
Added this, to remove IAM user dependency screwdriver-cd/screwdriver#2454
Context
Objective
References
License
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.