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

No way to view deployment progress #227

Closed
durranitech opened this issue Mar 31, 2023 · 6 comments
Closed

No way to view deployment progress #227

durranitech opened this issue Mar 31, 2023 · 6 comments

Comments

@durranitech
Copy link

Does the CLI have an equivalent of the --progress command in the old cli which showed the output of the task log while deployment was occuring?

@benPearce1
Copy link
Contributor

@durranitech the release deploy command doesn't do the task waiting. You need to set the output format to basic (-f basic) and then pipe that to octopus task wait.
This will print progress on each of the tasks and allows you to set a timeout for how long to wait.

The output will look something like this:

❯ octopus release deploy -p "tenanted web app" --version 0.0.2 -e production --no-prompt -f basic | octopus task wait
Deploy tenanted web app release 0.0.2 to Production: Queued
Deploy tenanted web app release 0.0.2 to Production: Success

This command won't print the task logs, just the task progress.

Docs
Example

@durranitech
Copy link
Author

Any way to view the task logs?

@piyush94
Copy link

piyush94 commented Mar 6, 2024

Support for viewing task logs should be added. It's really useful for CI tools.

@benPearce1
Copy link
Contributor

@piyush94 would you expect it to display the task log as it is running, or just view the it when the task has completed?

@danibeca
Copy link

danibeca commented May 8, 2024

@benPearce1 any update on this? It will be good to have task logs as the task is running.

@piyush94
Copy link

piyush94 commented May 8, 2024

@benPearce1 either of these is fine.

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

4 participants