Skip to content

Commit

Permalink
Test buildevents with HONEYCOMB_TRACE integration
Browse files Browse the repository at this point in the history
Hand-build binary from honeycombio/buildevents#74
  • Loading branch information
DavidS committed Dec 10, 2020
1 parent ef1d1bf commit 71484e0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
uses: actions/checkout@v2
if: ${{ github.repository_owner == 'puppetlabs' }}

- run: mv ./buildevents74 $(which buildevents)

- name: Activate Ruby 2.7
uses: actions/setup-ruby@v1
if: ${{ github.repository_owner == 'puppetlabs' }}
Expand All @@ -50,6 +52,7 @@ jobs:
- name: Install gems
if: ${{ github.repository_owner == 'puppetlabs' }}
run: |
buildevents cmd $TRACE_ID $STEP_ID 'env' -- env | sort
buildevents cmd $TRACE_ID $STEP_ID 'bundle config path vendor/gems' -- bundle config path vendor/gems
buildevents cmd $TRACE_ID $STEP_ID 'bundle config jobs 8' -- bundle config jobs 8
buildevents cmd $TRACE_ID $STEP_ID 'bundle config retry 3' -- bundle config retry 3
Expand Down Expand Up @@ -104,6 +107,8 @@ jobs:
- name: Checkout Source
uses: actions/checkout@v2

- run: mv ./buildevents74 $(which buildevents)

- name: Activate Ruby 2.7
uses: actions/setup-ruby@v1
with:
Expand All @@ -127,6 +132,7 @@ jobs:
- name: Bundler Setup
run: |
buildevents cmd $TRACE_ID $STEP_ID 'env' -- env | sort
buildevents cmd $TRACE_ID $STEP_ID 'bundle config path vendor/gems' -- bundle config path vendor/gems
buildevents cmd $TRACE_ID $STEP_ID 'bundle config jobs 8' -- bundle config jobs 8
buildevents cmd $TRACE_ID $STEP_ID 'bundle config retry 3' -- bundle config retry 3
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ group :development do
gem "puppet-module-win-dev-r#{minor_version}", '~> 0.4', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "puppet-lint-i18n", require: false
gem "github_changelog_generator", require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
gem "puppet_litmus", require: false, git: 'https://github.com/puppetlabs/puppet_litmus', ref: 'main' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.7.0')
gem "puppet_litmus", require: false, git: 'https://github.com/puppetlabs/puppet_litmus', branch: 'main' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.7.0')
gem 'rspec_honeycomb_formatter', git: 'https://github.com/puppetlabs/rspec_honeycomb_formatter', branch: 'main'
gem "bolt", require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.7.0')
end

Expand Down
Binary file added buildevents74
Binary file not shown.

0 comments on commit 71484e0

Please sign in to comment.