482 Commits

Author SHA1 Message Date
getsentry-bot
7b0ada0c31 Merge branch 'release/21.7.0' 2021-07-15 18:15:39 +00:00
getsentry-bot
fae2293eca release: 21.7.0 21.7.0 2021-07-15 18:04:09 +00:00
getsentry-bot
4282249638 build: Set master version to nightly 2021-07-08 08:45:06 +00:00
getsentry-bot
085aec286a Merge branch 'release/21.6.3' 2021-07-08 08:44:59 +00:00
getsentry-bot
4da10694c2 release: 21.6.3 21.6.3 2021-07-08 08:37:42 +00:00
Florian Kaiser
bd8fbf960d
fix(wal2json): Respect http_proxy/https_proxy/no_proxy when installing (#1026)
`http_proxy`, `https_proxy` and `no_proxy` environment variables should be forwarded to the curl container.
2021-07-07 14:10:54 +00:00
Filippo Pacifici
d24a7b3ac6
fix(install) Make wal2json copy more robust (#1024)
There is a potential conrner case where we may end up with the wal2json library in the `postgres/wal2json/VERSION/file` but not in `postgres/wal2json/wal2json.so`.

Not sure exactly how likely this could be, but thechnically it is possible that the download succeeds and `cp "../postgres/wal2json/$VERSION/$FILE_NAME" "$FILE_TO_USE"` does not. The next attempt the copy would not be attempted.

This fix ensures the copy always happens
2021-07-06 12:31:12 +03:00
getsentry-bot
66e1820087 build: Set master version to nightly 2021-07-02 21:12:11 +00:00
getsentry-bot
1751c665c4 Merge branch 'release/21.6.2' 2021-07-02 21:12:05 +00:00
getsentry-bot
a2a99b910d release: 21.6.2 21.6.2 2021-07-02 21:04:36 +00:00
Burak Yigit Kaya
3a412d7d94
fix(kafka): Get Confluent images back to 5.5.0 (#1021)
Fixes #1009 by partially reverting #1002. We need to make a 21.6.2 release soon and I didn't have time to dig into why Kafka upgrades were failing so reverting for safety for now.
2021-07-02 15:11:32 +03:00
Chad Whitacre
a583fdc37b
Require version on bug form (#1017) 2021-07-01 16:22:03 +03:00
Burak Yigit Kaya
b30e7ef94b
fix(templates): Bug issue template should use placeholder
The bug issue template used `value` instead of `placeholder` for certain fields, leading to issue reports like #1012. This commit fixes that.
2021-06-30 09:53:28 +03:00
Chad Whitacre
2888bf5959
Use the new GH issue forms (#1011) 2021-06-29 16:52:55 -04:00
Billy Vong
ef95b159fb
docs(): Add notice about breaking change for custom plugins (#985)
This adds a breaking change notice to our changelog regarding custom plugins:

The frontend bundle will be loaded asynchronously. This is a breaking change that can affect custom plugins that access certain globals in the django template. Please see https://forum.sentry.io/t/breaking-frontend-changes-for-custom-plugins/14184 for more information
2021-06-29 13:44:20 +03:00
Martin Janeček
e25e36b55c
fix: raise healthcheck interval for redis, memcached and postgres (#1007)
The 2s interval caused constantly high CPU usage. 30s interval with 3 retries is the Docker default and doesn't hurt the system that much.
Fixes #1000
2021-06-28 09:54:35 +00:00
fmartinou
f5411170ac
Update middlewares to latest stable versions (#1002)
This PR is a try to update most middlewares used by Sentry to latest stable versions.
[As mentioned in the forum](https://forum.sentry.io/t/middleware-version-compatibility/14353/2) I didn't update Postgresql & Clickhouse due to known issues.

I also :
- changed versions to immutable tags (MAJOR.MINOR.PATCH semver versions when possible).
- changed nginx to the Alpine variant
2021-06-25 11:55:34 +00:00
Marek Matys
1d49629229
Fixed typo (#996) 2021-06-17 11:34:32 +00:00
Burak Yigit Kaya
198b2751f5
docs: Fold README into self-hosted docs (#993)
Closes #983 and closes #790.

Refs getsentry/develop#355.
2021-06-15 16:38:22 -04:00
getsentry-bot
1fae7759c0 build: Set master version to nightly 2021-06-15 19:56:17 +00:00
getsentry-bot
9bbfec3cea Merge branch 'release/21.6.1' 2021-06-15 19:56:11 +00:00
getsentry-bot
aea6adc5b8 release: 21.6.1 21.6.1 2021-06-15 19:48:13 +00:00
getsentry-bot
b74416d3f0 build: Set master version to nightly 2021-06-15 19:28:39 +00:00
getsentry-bot
6dd70e9027 Merge branch 'release/21.6.0' 2021-06-15 19:28:34 +00:00
Burak Yigit Kaya
e0e9881d7c
Merge branch 'master' into release/21.6.0 21.6.0 2021-06-15 22:21:40 +03:00
Burak Yigit Kaya
91f40486ca
fix(ci): Run bulids on release branches
Follow up to #980
2021-06-15 22:21:26 +03:00
getsentry-bot
d05d9a6229 release: 21.6.0 2021-06-15 18:05:28 +00:00
Chad Whitacre
0cfaa73b05
Make a reset button (#988) 2021-06-09 16:59:50 +00:00
Burak Yigit Kaya
8d92667f4e
meta: Add some changelog (#984)
@billyvg has a breaking change coming up soon so let's use this as an opportunity to add a changelog. This changelog will only capture important announcements (such as this breaking change over at Sentry) and changes in this repo for now.
2021-06-07 20:13:37 +03:00
Burak Yigit Kaya
659e03e9cf
ref(craft): Modernize and rearrange Craft config (#980) 2021-06-03 16:22:01 +03:00
William Desportes
f4c3096245
feat: Add healthchecks for redis, memcached and postgres (#975)
Ref: #950
2021-06-02 18:53:07 +00:00
Jan Michael Auer
97e4e375cd
fix(test): Export test script (#978) 2021-05-31 14:44:51 +03:00
William Desportes
e20e6a3e54
ci: Add .gitattributes file to exclude unnecessary files from repo zips (#973)
Ref: #950
2021-05-30 11:33:53 +00:00
Filippo Pacifici
8dc84600c5
feat(cdc): Prepare the self hosted environment for the Change Data Capture pipeline (#938)
We will use Change Data Capture to stream WAL updates from postgres into clickhouse so that features like issue search will be able to join event data and metadata (from postgres) through Snuba.

This requires the followings:

A logical replicaiton plugin to be installed in postgres (https://github.com/getsentry/wal2json)
A service to run that streams from the replication log to Kafka (https://github.com/getsentry/cdc)
Datasets in Snuba.
This PR is preparing postgres to stream updates via the replication log.
The idea is to

download the the replication log plugin binary during install.sh
mount a volume with the binary when starting postgres
providing a new entrypoint to postgres that ensures everything is correctly configured.
There is a difference between how this is set up and how we do the same in the development environment.
In the development environment we download the library from the entrypoint itself and store it in a persistent volume, so we do not have to download it every time.
Unfortunately this does not work here as the postgres image is postgres:9.6 while it is postgres:9.6-alpine. This one does not come with either wget or curl. I don't think installing that in the entrypoint would be a good idea, so the download happens in install.sh. I actually think this way is safer so we never depend on connectivity for postgres to start properly.
2021-05-24 17:51:36 -07:00
Burak Yigit Kaya
d5e4e52d81
meta(gha): Deploy action issue-routing-helper.yml (#958) 2021-05-21 20:13:23 +00:00
getsentry-bot
93bf1b6db5 build: Set master version to nightly 2021-05-19 11:22:39 +00:00
Sentry Bot
e034097286
Merge releases/21.5.1 into master 2021-05-19 04:22:38 -07:00
getsentry-bot
ee240f041c release: 21.5.1 21.5.1 2021-05-19 11:14:39 +00:00
getsentry-bot
a2c315cf51 build: Set master version to nightly 2021-05-17 21:18:55 +00:00
Sentry Bot
243c20da9f
Merge releases/21.5.0 into master 2021-05-17 14:18:53 -07:00
getsentry-bot
864e184e3b release: 21.5.0 21.5.0 2021-05-17 21:10:58 +00:00
Burak Yigit Kaya
84312dc477
fix: Fix incorrect zookeeper mount path (#952)
Fixes #951, a regression introduced with #908.
2021-05-13 14:56:48 -04:00
Sébastien PIERRE
168f3b957f
feat: Add basic healthchecks for Zookeeper & Kafka (#948)
Add basic healthchecks on Zookeeper & Kafka containers to have a view on container status. These checks are quite basic because I have no knowledge at all on these components.

Co-authored-by: Sébastien Pierre <spi@dfakto.com>
2021-05-13 10:27:26 +00:00
Burak Yigit Kaya
67c2310e7f
meta(gha): Deploy action issue-status-helper.yml (#949) 2021-05-12 22:03:34 +03:00
Burak Yigit Kaya
1068326998
meta(gha): Deploy action issue-routing-helper.yml (#945) 2021-05-07 16:09:39 -04:00
Burak Yigit Kaya
f27eaef557
meta(gha): Deploy action issue-status-helper.yml (#943) 2021-05-06 16:18:46 -04:00
Burak Yigit Kaya
a95b9fa011
fix: Make relay depend on web for DNS resolution (#934)
This is a stop-gap solution to #918 until we figure out the negative DNS caching issue inside `relay`. This may also be due to Docker Compose making some assumptions/optimizations/limiting regarding cross-container access unless they are explicitly linked via the `depends_on` key.
2021-04-26 13:16:29 +03:00
Burak Yigit Kaya
60e947d4f7
fix: Fix .env path for test scripts (#928) 2021-04-22 13:02:11 -04:00
getsentry-bot
f3d0e3d193 build: Set master version to nightly 2021-04-21 22:39:58 +00:00
Sentry Bot
7189ab16b4
Merge releases/21.4.1 into master 2021-04-21 15:39:57 -07:00