Skip to content

Commit

Permalink
Add honeycomb reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 17, 2021
1 parent 3f48257 commit b313da1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: CI

on: pull_request

env:
HONEYCOMB_DATASET: litmus tests

jobs:
setup_matrix:
name: 'Setup Test Matrix'
Expand All @@ -17,6 +20,16 @@ jobs:
env:
BUNDLE_WITHOUT: development:system_tests:release
steps:
- name: "Honeycomb: Start recording"
uses: puppetlabs/kvrhdn-gha-buildevents@pdk-templates-v1
with:
apikey: ${{ secrets.BUILDEVENTS_APIKEY }}
dataset: ${{ env.HONEYCOMB_DATASET }}
job-status: ${{ job.status }}
- name: "Honeycomb: Start first step"
run: |
echo STEP_ID=setup-environment >> $GITHUB_ENV
echo STEP_START=$(date +%s) >> $GITHUB_ENV
- uses: actions/checkout@v2
- name: Setup ruby
uses: ruby/setup-ruby@v1
Expand Down
1 change: 1 addition & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Gemfile:
optional:
':test':
- gem: puppet-lint-param-docs
- gem: rspec_honeycomb_formatter
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ group :test do
gem 'simplecov-console', :require => false
gem 'puppet_metadata', '~> 1.0', :require => false
gem 'puppet-lint-param-docs', :require => false
gem 'rspec_honeycomb_formatter', :require => false
end

group :development do
Expand Down

0 comments on commit b313da1

Please sign in to comment.