Comments (8)
@siamaksade how would you know if this is the actual output of the application it may be a stretch but usually when there is no logs I would expect the emptyness is valid, isnt it ?
from cli.
from cli.
@siamaksade yes, by default we don't show the infra logs (aka init logs), so my guess is there is a tiny tiny possibility of having no logs 👼. But in any case, we know the status of the pipelinerun (aka if it succeeded, failed, so we can act based on it)
from cli.
@chmouel @vdemeester I see. Does the following make sense?
- If the pipelinerun is running and no logs: "No logs found yet..."
- If the pipelinerun is NOT running and no logs: "No logs found."
from cli.
sounds good, but what about for the second case to say instead :
Pipeline hasn't started...
from cli.
If the pipelinerun is running and no logs: "No logs found yet..."
If -f
is present, it will not return until it's not running, so there is not need for this case 👼 — if -f
is not present, that's another story 😉
from cli.
can someone sum up the conclusion? i am confused 🥺
from cli.
Here is a summary with a slight change :)
When -f
present
- Logs command should wait for output (current implementation)
When -f
is NOT present
- If pipelinerun is running and no logs available, logs command should wait (not return)
- If the pipelinerun is NOT running and no logs are available, the command should return and print: “No logs available.”
from cli.
Related Issues (20)
- Update .goreleaser.yaml in order to conform with latest goreleaser changes HOT 3
- `tkn pr logs --follow` doesn't log anything when run non-interactively or in IntelliJ terminal HOT 1
- Reproducible/deterministic bundles
- Build deterministic/reproducible bundles by default
- Support `SOURCE_DATE_EPOCH` in `tkn bundle push`
- "tkn pipeline start --showlog" not exit even after PipelineRun completed HOT 1
- Logs not working on Git Bash on Windows HOT 1
- Support CustomRun resource HOT 3
- hey @stillfox-lee, thanks for taking this up. Feel free to break this issue in multiple issues and assign one to yourself
- Support `CustomRun` list command. HOT 3
- Tkn (in POD) cannot find pipeline resources although they exist HOT 1
- Allow using PipelineRun delete arguments "keep" and "keepSince" together HOT 1
- tkn logs is not displaying tasks defined in the pipeline with 'retries: X'
- checksum of tkn_0.34.0_Linux_x86_64.tar.gz is wrong HOT 8
- support v1 for sign and verify commands HOT 1
- When starting a pipeline with a workspace I get `Error: Name not found for workspace` HOT 2
- Different log output for `tkn p log` and `tkn pr log` HOT 1
- Different log output for `tkn t logs` and `tkn tr logs` HOT 1
- Add support for DisplayName
- Support for providing labels in `tkn bundle push`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.