Comments (7)
Thanks for checking in. The captures artifacts are better than noting, but a way to configure live output of service logs would be really welcome. If there was something that wasn’t a crazy amount of effort but provided live service output that would be really useful.
Maybe just an option to background tail all logs before execution?
from docker-compose-buildkite-plugin.
Perhaps there would be some way to do this in userland if we had #47, though multiple logs per job would be even more amazing.
from docker-compose-buildkite-plugin.
Sorry for the delay responding @KevinGrandon. I like the suggestion of the top-level logs block!
from docker-compose-buildkite-plugin.
Currently we capture logs of dependant services as artifacts on failure, is this not adequate @KevinGrandon? The more I look at this, the gnarlier it is to implement.
from docker-compose-buildkite-plugin.
Maybe just an option to background tail all logs before execution?
I'll look into this, but the issues is that docker-compose run
creates ephemeral services that can't easily be docker-compose log -f
'd. I'll look for a workaround.
from docker-compose-buildkite-plugin.
Also docker-compose logs
and docker logs
will exit if the containers or services aren't running yet.
from docker-compose-buildkite-plugin.
While I do believe that there are situations when something like this can be helpful, as mentioned back in 2018, logs as artifacts uploaded after the fact appear to have been enough.
I've been investigating a way to implement this but I can't think of a way to do this while still allowing the plugin to continue to run according to the main application container and shut down services afterwards with the current plugin structure. Add to that the fact that output for the main application as well as all other containers will probably be interleaved and would make it a nightmare to differentiate between them live.
Closing for now
from docker-compose-buildkite-plugin.
Related Issues (20)
- @test "Run with --quiet-pull" should not pass HOT 2
- Issue using image cache for new agents HOT 1
- Is it possible to set `cache-to` to use registry cache? HOT 3
- Collapsed log output for builds HOT 3
- Pulling a docker image from a different pipeline HOT 1
- Environment Variables are not sent to dependency containers HOT 3
- Bad tag separator strikes again HOT 3
- Make `graceful-shutdown: true` the default behavior HOT 3
- pre-run-dependencies is broken with Docker Compose >=2.23.1,<2.24.0 HOT 1
- Docker Compose Plugin Error: No Build or Run Options Specified in Buildkite Pipeline HOT 5
- Docker containers not stopped when canceling through `cancel_on_build_failing` HOT 2
- Caching doesn't seem to work with v5 HOT 2
- `secrets` option fails with `unknown flag: --secret` HOT 1
- pre-checkout hook failed to run because it was already open HOT 3
- Missing support for profiles HOT 1
- Docker compose: 5.2.0 - unknown shorthand flag: 'f' in -f HOT 4
- Ability prepare step before run docker-comopse HOT 3
- `mount-buildkite-agent` should mount `BUILDKITE_AGENT_JOB_API_SOCKET` HOT 1
- Failures stopping containers are too quiet HOT 1
- "Pre-building the image" example does not work
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 docker-compose-buildkite-plugin.