honeycombio/gha-buildevents

Make gha-buildevents-step to simplify working with steps

Closed this issue · 1 comments

Proposal:

  # install buildevents, captures the start of the build
  # sets env variables: BUILD_ID, STEP_ID, STEP_START
- uses: kvrhdn/gha-buildevents@master
  with:
    apikey: ${{ secrets.BUILDEVENTS_APIKEY }}
    dataset: my-dataset
    job-status: ${{ job.status }}
  
... do some work here...

  # this will simply call 'buildevents step' for you
- uses: kvrhdn/gha-buildevents-step@master
  with:
    name: initialize

... do some more work here, i.e. build the app...

- uses: kvrhdn/gha-buildevents-step@master
  with:
    name: build-app

... and do some more work here, i.e. deploy the app...

- uses: kvrhdn/gha-buildevents-step@master
  with:
    name: deploy-app

  # end of workflow, gha-buildevents automatically wraps up and builds the trace

Thank you for submitting this issue! In an effort to better respond to new issues, we're closing old, inactive issues like this one. If you feel this is still important to consider, please leave a comment.