Skip to content

Conversation

@ndbroadbent
Copy link
Contributor

@ndbroadbent ndbroadbent commented Mar 16, 2021

I've added a TB_DISABLE_INSIGHTS env variable that users can set to disable the "analytics" step. (I use this gem on GitLab CI instead of Semaphore.) This is related to #66 and #74


def upload(booster_type, file)
return unless File.exist?(file)
return if ENV['TB_DISABLE_INSIGHTS'] || !File.exist?(file)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to add a spec for that one !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants