Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline deploy notifications in Capistrano deploys #323

Open
jeffkreeftmeijer opened this issue Jul 21, 2017 · 2 comments
Open

Streamline deploy notifications in Capistrano deploys #323

jeffkreeftmeijer opened this issue Jul 21, 2017 · 2 comments

Comments

@jeffkreeftmeijer
Copy link
Member

We prefer the APP_REVISION environment variable over the notify_of_deploy task, but since there's no proper way to set environment variables on the server in a Capistrano deploy, that's proving to be difficult to set up. We need a nicer way to do this, so we can actively recommend users to switch to using the APP_REVISION environment variable.

As reported in support (private Intercom link).

@tombruijn
Copy link
Member

tombruijn commented Aug 11, 2017

Add a config option: revision: abcdef1
Or add a revision file APP_REVISON/.appsignal_revision with one line that reads the last revision
We will keep the APP_REVISION env var

Also relevant for Elixir appsignal/appsignal-elixir#215

Discuss when @thijsc is back

@tombruijn
Copy link
Member

We now have a revision config option: https://docs.appsignal.com/ruby/configuration/options.html#option-revision
We still should look if there's a way to set it from the capistrano config, which sets it on the deployed servers.

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

No branches or pull requests

2 participants