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

Set the Sentry environment to COMPOSE_PROJECT_NAME #7796

Merged
merged 1 commit into from
Jun 25, 2020

Conversation

icarito
Copy link
Member

@icarito icarito commented Apr 8, 2020

... and use RAILS_ENV as fallback.

Chose this option instead of replicating environment "production"
because the point of staging was to test everything in production.

The idea is to more easily tell apart events not from actual production.

Fixes #0000 (<=== Add issue number here)

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

…oject instead of RAILS_ENV.

Chose this option instead of replicating environment "production"
because the point of staging was to test everything in production.

The idea is to more easily tell apart events not from actual production.
@icarito
Copy link
Member Author

icarito commented Apr 8, 2020

This addresses sysadmin issue https://github.com/steviepubliclab/web/issues/268

@codecov
Copy link

codecov bot commented Apr 8, 2020

Codecov Report

Merging #7796 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7796   +/-   ##
=======================================
  Coverage   81.96%   81.96%           
=======================================
  Files          97       97           
  Lines        5629     5629           
=======================================
  Hits         4614     4614           
  Misses       1015     1015           

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