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

Remote reporting of package build times and success #156

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Add remote report env var
  • Loading branch information
csweichel committed Jul 1, 2023
commit 70b38e1f8b927432a9b2d83826d2cabfb77471be
2 changes: 1 addition & 1 deletion cmd/build.go
Original file line number Diff line number Diff line change
@@ -174,7 +174,7 @@ func addBuildFlags(cmd *cobra.Command) {
cmd.Flags().String("coverage-output-path", "", "Output path where test coverage file will be copied after running tests")
cmd.Flags().StringToString("docker-build-options", nil, "Options passed to all 'docker build' commands")
cmd.Flags().String("report", "", "Generate a HTML report after the build has finished. (e.g. --report myreport.html)")
cmd.Flags().String("remote-report", "", "Report the build progress to a remote endoint")
cmd.Flags().String("remote-report", os.Getenv("LEEWAY_REMOTE_REPORT"), "Report the build progress to a remote endoint. The LEEWAY_REMOTE_REPORT env var is used as default.")
}

func getBuildOpts(cmd *cobra.Command) ([]leeway.BuildOption, *leeway.FilesystemCache) {