Skip to content

Releases: honeycombio/buildevents

v0.4.12

17 Dec 14:18
440dbe0
Compare
Choose a tag to compare

Improvements:

  • Encode spaces in dataset names for the URL (#73)
  • Add beeline-style propagation of the cmd context to called commands (#74)

Project maintenance:

  • we're on circle for this, no need to build on travis any longer (#69)

More efficient CircleCI "watch" job

05 Oct 17:43
3813fb8
Compare
Choose a tag to compare

If we ever end up in a state where there are no blocked jobs as well as no queued/running jobs, we don't need to loop to verify that we're done. We can just finish.

This should cause builds to end up to 2 minutes earlier in cases where it applies.

Improved subprocess management and help message suppression on error

25 Feb 15:54
f212d8a
Compare
Choose a tag to compare

This release fixes two bugs:

  • Explicitly use os.Stdout and os.Stderr instead of depending on calls to io.Copy in separate goroutines, preventing hangs on io.Copy failures.

  • Enable cmd.SilenceUsage to suppress usage message on non-zero exit

Fix bug that prevents dangling libhoney connections

12 Feb 20:42
8e34042
Compare
Choose a tag to compare

Explicitly call libhoney.Close on errors, since defers aren't called on os.Exit

Fixes for breaking changes in circleci v2 api

21 Nov 00:57
11e3052
Compare
Choose a tag to compare

Fixes support for circleci v2 api. Two breaking changes addressed:

Nov 11, 2019

  • The /workflow/:workflow-id/jobs endpoint has been moved to /workflow/:workflow-id/job for consistency. The old route is still working at this point in time, but deprecated and will be removed on November 18th, 2019.

Oct 17, 2019

  • start_time and stop_time parameters have been renamed to started_at and stopped_at to be consistent with other time-based information fields like created_at and queued_at. This change affects the Get a Workflow's Job endpoint

Add GCP, collect extra fields after command

21 Oct 18:57
943bf98
Compare
Choose a tag to compare

This release adds support for Google Cloud Build Provider and moves the extra fields collection to after the command is run. The letter means that a command can drop additional data in to the extra fields file so that it can augment the span that represents its execution.

Fix use of CircleCI API

02 Oct 23:33
0f99f3c
Compare
Choose a tag to compare

An incorrect JSON key caused buildevents to fail to parse the response from the CircleCI API so the watch command would not get back any jobs. This bug is fixed in this version.

Increase watch timeout

20 Sep 21:30
ce95e30
Compare
Choose a tag to compare

The amount of time CircleCI may spend in between one job finishing and the next starting is more variable than it used to be. The 15s timeout is insufficient; this change bumps it to 2 minutes. Thankfully, this 2 minute timeout only happens when there are jobs that will not be run in the workflow - under normal operation (all jobs finish) the watch job does not wait around.

Disable CGO for Alpine Linux compatibility

07 Aug 19:14
b19aaf4
Compare
Choose a tag to compare

Previously released executables were dynamically linked against libc, which doesn't exist on Alpine Linux. Disabling CGO to generate statically linked executables which should run there.

JenkinsX environment variables updated

18 Jul 20:45
696059c
Compare
Choose a tag to compare

This release updates the names of the build-related environment variables for JenkinsX builds to match what's present in the environment.

Note that it is necessary to include your own environment variable named JENKINS-X in order for the Jenkins-X environment to be detected. The variable may have any content but must not be empty.