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

Feature: Reduce build log verbosity #88

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Conversation

tobybellwood
Copy link
Member

migrated from uselagoon/lagoon#3243

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

The main goal is to reduce the entirety of the set +x/-x usage and only display useful information. Previously there was too much debugging information which with all the set +x/-x usage would obscure a lot of the warnings. A lot of YAML is also dumped straight into stdout for no real reason beyond being able to see what is created, for most users this is unused or just causes bulk on build logs for no reason.

This PR introduces a new flag though which can be set in the controller or as an environment variable to expose the created YAML files if required:

  • LAGOON_FEATURE_FLAG_FORCE_BUILD_VERBOSITY=enabled (controller)
  • LAGOON_FEATURE_FLAG_BUILD_VERBOSITY=enabled (environment variable)
  • LAGOON_FEATURE_FLAG_DEFAULT_BUILD_VERBOSITY=enabled (controller)

An example build log is available here: https://gist.github.com/shreddedbacon/2ebb0f5cbc0ab524813959de1436ea2c

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

Successfully merging this pull request may close these issues.

2 participants