367 Commits

Author SHA1 Message Date
Chad Whitacre
8e34f6e9bc
Fix paths (#909) 2021-03-30 17:45:05 +03:00
Chad Whitacre
a0a86e400f
Finish the refactor (#908) 2021-03-30 10:23:49 -04:00
Chad Whitacre
7e7401a668
Refactor most of the rest (#903) 2021-03-30 10:21:05 -04:00
Chad Whitacre
f086157548
Clean up the refactor (#907)
- Use source appropriately (needed for config to propagate properly)
- Standardize group/endgroup line-spacing
- Clean up envvar defaults
2021-03-30 12:21:30 +03:00
Chad Whitacre
568f9052b5
Factor out a few more things (#906) 2021-03-29 17:28:39 -04:00
Chad Whitacre
cf4f21c039
Fix a regression with unset envvars (#905) 2021-03-29 17:41:20 +03:00
Chad Whitacre
88f90e046e
Add a partial test for geoip (#902) 2021-03-26 16:57:21 -04:00
Chad Whitacre
a868b09044
Factor out volume creation (#901) 2021-03-26 15:04:54 -04:00
Chad Whitacre
0ce7856117
Refactor relay config (#900) 2021-03-26 10:06:04 -04:00
Hugo Barrera
bdd2686021
fix: Typo in README (#897) 2021-03-23 12:23:16 +03:00
Burak Yigit Kaya
8e498b42f4
meta(gha): Deploy action validate-new-issue.yml (#893)
I are a bot, here to deploy [validate-new-issue.yml](6b97fda4e0/.github/workflows/validate-new-issue.yml). 🤖
2021-03-19 14:36:17 +03:00
Burak Yigit Kaya
83ef869195
ci(stalebot): Update stale message with the new labels (#892)
* ci(stalebot): Update stale message with the new labels

* fix everywhere

* fix yaml
2021-03-18 23:09:57 +03:00
Burak Yigit Kaya
2ac7e7358f
ci(stalebot): Remove old triage labels (#891)
This PR removes the 2 old triage labels replaced with new ones:

1. `Status: Accepted` -> `Status: In Progress`
2. `Status: On Hold` -> `Status: Backlog`
2021-03-18 22:26:39 +03:00
Burak Yigit Kaya
8a742bc709
ci(stalebot): Add new triage labels (#890)
This PR adds the 2 new triage labels to replace old ones:

1. `Status: Accepted` -> `Status: In Progress`
2. `Status: On Hold` -> `Status: Backlog`
2021-03-18 14:26:34 -04:00
Burak Yigit Kaya
4a8ca83956
fix(release): Fix post-release script so it operates on master (#887)
We've been leaving onpremise master with the latest release, instead of nightly builds for 2 releases now. Even if the post-release script runs, it bumped the versions to nightly on the release branch, making it effectively a no-op. This should be addressed in Craft via getsentry/craft#115 but until then, we need this extra line.
2021-03-16 18:33:30 +03:00
Burak Yigit Kaya
f77e35d193 build: Set master version to nightly 2021-03-16 00:49:02 +03:00
Sentry Bot
084ba1221e
Merge releases/21.3.0 into master 2021-03-15 19:34:13 +01:00
getsentry-bot
48c855aa3d release: 21.3.0 21.3.0 2021-03-15 18:25:12 +00:00
Burak Yigit Kaya
7138703a92
fix(config): Remove deprecated slack.legacy-app config from defaults (#886) 2021-03-15 14:12:51 -04:00
ktmitton
ae0251d1a8
Fixed CPU soft limit check (#885) 2021-03-12 13:09:20 +00:00
Chad Whitacre
ff01285059
meta(gha): Deploy action validate-new-issue.yml (#883) 2021-03-09 15:03:25 -05:00
Markus Unterwaditzer
7365a03457
fix(relay): Remove http._client usage (#870)
As per https://github.com/getsentry/relay/pull/938 this option no longer
exists. Existing values will be ignored, however.
2021-02-24 16:44:50 +01:00
Chad Whitacre
798e028c28
meta(gha): Deploy action validate-new-issue.yml (#869) 2021-02-24 09:35:59 -05:00
Chad Whitacre
81db8a666c
meta(gha): Deploy action validate-new-issue.yml (#864) 2021-02-17 16:19:11 +00:00
Burak Yigit Kaya
4d7021729b
fix(deps): Add missing snuba consumer dependencies to Sentry (#862)
These were looked over when they were added. This is not a big deal as running `docker-compose up -d` spins up all services but this fix is for correctness sake, especially for folks using this repo as a basis for more complex setups.
2021-02-15 22:42:52 +03:00
Burak Yigit Kaya
f9ab3e084f build: Set master version to nightly 2021-02-15 22:34:03 +03:00
Sentry Bot
41c07bc72b
Merge releases/21.2.0 into master 2021-02-15 10:28:35 -08:00
getsentry-bot
21c7ece188 release: 21.2.0 21.2.0 2021-02-15 18:20:50 +00:00
Burak Yigit Kaya
fc7fc5d0ce
fix(cron): Fix sentry-cleanup entrypoint issue (#861)
Fixes #860 and adds a test case to ensure all cleanup jobs are working.
2021-02-15 10:33:58 -05:00
Dmitry Dygalo
26f11c425c
fix: Typo in the "recommended minimum CPU cores" message (#855) 2021-02-11 14:20:19 +00:00
Burak Yigit Kaya
a1c0c1fd0c
ref: Stop building local images for Sentry services (#834)
We used to build local images for Sentry services to be able to
include required plugins in the image. With this change we instead
do this in a custom entrypoint script and use the volume `/data`
to store the plugins permanently.

This should resolve many issues people have around building local
images and pushing them to places like private repositories or swarm
clusters.

This is not 100% compatible with the old way but it should still be
a mostly transparent change to many folks.
2021-02-04 12:15:59 +00:00
Chad Whitacre
5bad6ed2b4
meta(gha): Deploy action validate-new-issue.yml (#849)
I are a bot, here to deploy [validate-new-issue.yml](f663e1dd63/.github/workflows/validate-new-issue.yml). 🤖
2021-02-02 19:33:56 +00:00
Chad Whitacre
9e94e37f63
meta(gha): Deploy action validate-new-issue.yml (#848)
I are a bot. 🤖

f51bb175b1/.github/workflows/validate-new-issue.yml
2021-02-02 17:37:12 +03:00
Chad Whitacre
020ded270e
Deploy action: validate-new-issue.yml (#845) 2021-02-01 13:40:48 -05:00
Burak Yigit Kaya
ab5b867474
ref(requirements): Add min CPU requirement, relax soft RAM (#844)
* ref(requirements): Add min CPU requirement, relax soft RAM

Adds minimum of 4 CPU cores requirement as anything below will perform quite poorly even on lower loads. Relaxes the soft RAM requirement from 8000 MB to 7800 MB as even when there is 8 GB RAM installed, the system reserves some of it to itself and under reports the amount.

* pass on CI with soft limit
2021-02-01 16:41:12 +03:00
Chad Whitacre
dde0b1d80f
Deploy action: validate-new-issue.yml (#842) 2021-01-29 16:36:20 -05:00
Burak Yigit Kaya
c66a710182
fix(config): extended-permissions is on github-login, not app (#841)
Fixes the issue where we set an invalid option, `github-app.extended-permissions`, instead of the correct one, `github-login.extended-permissions`. Some people mentioned this warning earlier but never clearly enough to point that it was coming from our default settings suggestions.
2021-01-29 22:16:41 +03:00
arusa
2da7e84024
Change MIN_RAM_HARD from 4000 to 3800 (#840)
On machines with 4gb the available memory is often a little bit lower than 4000
2021-01-29 08:14:56 -05:00
Chad Whitacre
54a20969a6
Deploy latest validate-new-issue.yml (#838) 2021-01-25 15:06:36 -05:00
Burak Yigit Kaya
41f7a7e98c
docs: Add 20 GB minimum disk space requirement (#836)
When trying to install self-hosted Sentry on Google Cloud Compute container-optimized OS, I hit an issue where the disk space was not sufficient to even build local images. Given Kafka and Clickhouse are also quite disk-intensive, it makes sense to add this to the docs.

Opted not to add an automated check for this as it is not easy to determine the path Sentry installation will consume, hence the free space there.
2021-01-25 16:15:45 +03:00
Mikhail Paulyshka
e7a3187cd0
fix(nginx): Remove X-Real-IP header entry (#835)
Removes the obsolete and confusing `X-Real-IP` header setting from the Nginx config.
2021-01-25 13:47:18 +03:00
Burak Yigit Kaya
ee53f18ad0
breaking: Remove Python 2 support (#833) 2021-01-20 15:28:14 +00:00
Chad Whitacre
612a14c63c
Add some structure to logging with ::group:: (#827) 2021-01-19 17:30:07 -05:00
Burak Yigit Kaya
640e7fe290
ci(test): Fix 'pool is closed' errors (#826)
Fixes #823. In `install.sh` we build a local sentry image that is used by many services from using the build context under the `./sentry` directory. To avoid building this image multiple times, we also give it a specific name which is referred from multiple services. The issue is, we also run `docker-compose build --parallel` which creates a race condition when building this image as `docker-compose` doesn't check whether the image is already there or not. This is the root cause of all these random failures: an unsurprising race condition.
2021-01-19 20:43:27 +00:00
Chad Whitacre
65fdb3bd3d
Remove injection vector (#822) 2021-01-19 14:03:54 -05:00
Burak Yigit Kaya
af7f50c883
ci(release): Make sure to pull before pushing in post-release (#820)
Fixes the issue we had over at getsentry/publish#60. This aligns the script with [the one at getsentry/sentry](https://github.com/getsentry/sentry/blob/master/scripts/post-release.sh#L6)
2021-01-19 17:56:13 +00:00
Burak Yigit Kaya
49f8684808
ci(test): Even larger pools (#825)
Attepmt to fix #823
2021-01-19 17:43:33 +00:00
Chad Whitacre
2e3ad5df88
Improve on issue validation (#817) 2021-01-15 15:29:17 -05:00
Burak Yigit Kaya
2e4307b553
ci: Increase pool size to prevent pool closed errors (#819)
Based on my reading, this error comes from urllib3.

https://urllib3.readthedocs.io/en/latest/advanced-usage.html
>The behavior of the pooling for ConnectionPool is different from PoolManager. By default, if a new request is made and there is no free connection in the pool then a new connection will be created. However, this connection will not be saved if more than maxsize connections exist. This means that maxsize does not determine the maximum number of connections that can be open to a particular host, just the maximum number of connections to keep in the pool.

I think the ideal solution would be to add `retry` and `block` options to [docker-py](ce2669e3ed/docker/transport/unixconn.py (L58-L70)) but that's a long shot.
2021-01-15 23:20:39 +03:00
Burak Yigit Kaya
cc31349cc4 build: Set master version to nightly 2021-01-15 23:16:49 +03:00