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

feat: Support downloading trace output, uploading to GCS #162

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

dalehamel
Copy link
Member

This adds support for specifying the --output flag, which can either be:

  • stdout (the existing behavior)
  • A local path, resulting in the output being downloaded to a local location
  • A URI for a GCS path, to upload to google blob storage

If the target is GCS, a corresponding application secret must be specified,
indicating a kubernetes secret that contains a service account key with
access to upload to GCS.

In all cases, the output will be tee'd to stdout as well as any desired
additional location.

The primary author of the upload functionality was Zeeshan Qureshi, this commit
is made on his behalf.

Co-authored-by: Zeeshan Qureshi [email protected]
Co-authored-by: Aaron Olson [email protected]

This adds support for specifying the `--output` flag, which can either be:

- stdout (the existing behavior)
- A local path, resulting in the output being downloaded to a local location
- A URI for a GCS path, to upload to google blob storage

If the target is GCS, a corresponding application secret must be specified,
indicating a kubernetes secret that contains a service account key with
access to upload to GCS.

In all cases, the output will be tee'd to stdout as well as any desired
additional location.

The primary author of the upload functionality was Zeeshan Qureshi, this commit
is made on his behalf.

Co-authored-by: Zeeshan Qureshi <[email protected]>
Co-authored-by: Aaron Olson <[email protected]>
@dalehamel dalehamel marked this pull request as ready for review July 21, 2021 19:08
@dalehamel dalehamel merged commit 3c218fe into master Jul 21, 2021
@dalehamel dalehamel deleted the gcs-output branch July 21, 2021 19:08
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.

1 participant