-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filters/git_last_checkout: add support for AIRBRAKE_DEPLOY_USERNAME
In certain environments, when a deploy starts, end deploy user might not be the one who started the deploy. For example, if you deploy via Ansible, the script could create a fake user who would pull the web app repo and deploy it for you. Even though you started the script, the filter will pick up the fake user name, since `.git` was created by that user. To work around that, we introduce the `AIRBRAKE_DEPLOY_USERNAME` env variable. With help of it we can forward the username from Ansible to Ruby.
- Loading branch information
Showing
3 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters