Skip to content
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

turn of progress for deployments #89

Closed
rolandjitsu opened this issue Oct 30, 2015 · 5 comments
Closed

turn of progress for deployments #89

rolandjitsu opened this issue Oct 30, 2015 · 5 comments

Comments

@rolandjitsu
Copy link

When running a deployment from Travis CI the progress output is really messy, is there any way to turn that off?

@mbleigh
Copy link
Contributor

mbleigh commented Oct 30, 2015

Run the command with --non-interactive and you'll get a more Travis-friendly progress bar 😄

@mbleigh mbleigh closed this as completed Oct 30, 2015
@rolandjitsu
Copy link
Author

@mbleigh I already do that. The command is firebase deploy:hosting --non-interactive --token <my firebase token>.

@mbleigh
Copy link
Contributor

mbleigh commented Oct 30, 2015

Ah I missed the link before. That's strange. The line that writes the progress is right here:

process.stdout.write(_.repeat(chalk.green('.'), percent - lastPercent));

There's no newlines, I'm not sure what would be causing Travis to log each write out to different lines.

I'll reach out to Travis to see if they have any ideas.

@rolandjitsu
Copy link
Author

Exactly, it looks very weird. Perhaps the issue is _.repeat(chalk.green('.'), percent - lastPercent)?

@rolandjitsu
Copy link
Author

There also seem to be quite a lot of new lines between logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants