bcgov / cas-pipeline

A collection of make functions used to compose pipelines
Apache License 2.0
0 stars 0 forks source link

streaming logs is unreliable #20

Closed wenzowski closed 4 years ago

wenzowski commented 4 years ago

avoid use of the --follow flag when fetching logs for a pod to avoid hung deployments

example hung deployment: https://cas-shipit.pathfinder.gov.bc.ca/bcgov/cas-ggircs/wksv3k-dev/deploys/375

This fixes job log fetching introduced in #16 by only fetching logs after the job is complete instead of trying to stream them line by line.

wenzowski commented 4 years ago

So it turns out that the issue was with Shipit, and not oc. This should be reverted.