Skip to content

lib: configure pterm output during Deploy lifecycle #2372

@UncleGedd

Description

@UncleGedd

Is your feature request related to a problem? Please describe.

In this branch of UDS CLI, we are bringing in BubbleTea as our TUI. For most Zarf packages, we can configure Zarf with message.NoProgress = true and everything looks great

Screenshot 2024-03-11 at 9 30 24 AM

However, when deploying a package after an init pkg we get pterm artifacts showing up in our BubbleTea program

kind: UDSBundle
metadata:
  name: test
  version: 0.0.1

packages:
  - name: init
    repository: ghcr.io/defenseunicorns/packages/init
    ref: v0.32.4
    optionalComponents:
      - git-server
  - name: podinfo
    path: "../../packages/podinfo"
    ref: 0.0.1

Screenshot 2024-03-11 at 9 35 07 AM

Describe the solution you'd like

We'd like to:

  • continue to capture Zarf logs in the log file
  • not show any pterm output during the BubbleTea program

Additional Details

Haven't looked too much into it, but it looks like there are instances in the Zarf deploy lifecycle that modify pterm's output: example

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions