Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Scap Scap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • repos
  • relengreleng
  • ScapScap
  • Merge requests
  • !26

Suppress SAL logging when running helmfile

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Clément Goubert requested to merge cgoubert/scap:sal_helmfile_suppress into master Nov 18, 2022
  • Overview 6
  • Commits 2
  • Pipelines 4
  • Changes 2

Suppress SAL output from helmfile apply when run via scap since it is redundant with scap's own logging. This is performed by setting SUPPRESS_SAL=true in the environment before running helmfile apply. This requires adding an env parameter to subprocess_check_run_quietly_if_ok. This env parameter needs to be initialized to with a copy of os.environ in the helmfile call so we don't erase the existing environment variables.

Bug: T323296

Edited Nov 18, 2022 by Ahmon Dancy
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: sal_helmfile_suppress