674 Commits

Author SHA1 Message Date
Hubert Deng
25f10ea897
Add settings for enabling CSP to config file (#2134)
* add enabling csp to config file

* comment out report URI to avoid breaking self-hosted
2023-05-09 22:43:13 -07:00
Reinaldy Rafli
d8b1432863
feat: add suggested fix feature (#2115) 2023-05-03 21:53:51 +00:00
Jamin Collins
6695b45770
adding ulimits for zookeeper, kafka, and web (#2123)
Without these zookeeper and kafka fail to start on some systems. While
web will consume ~8G of RAM.

Fixes: #40617

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2023-05-03 10:11:01 -07:00
Hubert Deng
723abc0163
Uninstall Docker Compose v1 from CI so it's not used for tests (#2114)
* remove docker compose v1

* use scripts for integration tests

* use $dc for tests

* move removing dc v1 up
2023-05-02 15:12:45 -07:00
montaniasystemab
9f191ab311
Fixed docker compose issue in backup/restore (#2110)
The docker-compose command was hard coded in backup and restore routines. Replaced with `$dc` variable instead
2023-04-28 09:13:19 -07:00
otbutz
0daead62b6
Enable upstream keepalive (#2099)
Co-authored-by: Hubert Deng <hubert.deng@sentry.io>
2023-04-25 15:24:51 -07:00
Hubert Deng
48e20d66f9
Bump commit sha for e2e test action (#2104)
bump commit sha for e2e action
2023-04-24 12:20:23 -07:00
Hubert Deng
ea26ee5e21
Use docker compose exec to account for differences in container names for Postgres upgrade (#2096)
* use docker compose exec instead of docker exec

* use our $dc shortcut instead of docker compose
2023-04-18 20:55:19 -04:00
Hubert Deng
e8dfa5f42e
Change symbolicator to use CalVer for release (#2091)
change symbolicator to use calver
2023-04-18 16:40:55 -04:00
getsentry-bot
e43a163ce5 build: Set master version to nightly
#skip-changelog
2023-04-17 15:04:22 +00:00
getsentry-bot
46f8fafec6 Merge branch 'release/23.4.0' 2023-04-17 15:04:18 +00:00
getsentry-bot
bda29f69ab release: 23.4.0 23.4.0 2023-04-16 00:08:37 +00:00
Hubert Deng
03a2cdd8e1
Remove clean function testing line (#2082)
remove testing clean script line
2023-04-13 12:03:40 -07:00
Hubert Deng
c4ee5b8c62
Fix command to get docker compose version in problem report template (#2080)
fixing command to get docker compose version in template
2023-04-12 16:46:33 +00:00
Hubert Deng
a6d46a900b
Upgrade Postgres to 14 (#2074)
* add postgres upgrade script, this is included in the install script and automatically upgrades users from PG 9.6 to 14
2023-04-11 17:15:13 -07:00
Hubert Deng
688c65f239
Tweak permissioning of backup file in backup script to read/write for all users (#2043)
change permission of backup file to read/write for all users
2023-04-11 09:00:01 -07:00
Hubert Deng
82227f35ec
Remove commit-batch-size parameter (#2058)
remove commit-batch-size parameter
2023-03-30 17:52:48 +00:00
Oleksii Vasyliev
1ddb182fd1
Support external sourcemaps bigger, than 1Mb (#2050)
* Support external sourcemaps bigger, than 1Mb (25Mb limit)

* Update docker-compose.yml

Co-authored-by: Burak Yigit Kaya <ben@byk.im>

* improve settings for soursemaps

* Update sentry/sentry.conf.example.py

Co-authored-by: Burak Yigit Kaya <ben@byk.im>

* improve settings for soursemaps

* fix ident

---------

Co-authored-by: Burak Yigit Kaya <ben@byk.im>
2023-03-29 09:22:53 -07:00
Andrew Nagy
ae4522a2c3
Add github setup instructions to config.example.yml (#2051) 2023-03-28 15:00:53 -07:00
Enoch Tang
4d318761a8
ref(snuba): Use snuba self-hosted settings (#2039)
Use snuba self-hosted settings
2023-03-23 10:57:06 -07:00
getsentry-bot
92025e81d7 build: Set master version to nightly
#skip-changelog
2023-03-22 19:26:11 +00:00
getsentry-bot
9517cdaae0 Merge branch 'release/23.3.1' 2023-03-22 19:26:08 +00:00
getsentry-bot
2badb5f42a release: 23.3.1 23.3.1 2023-03-22 18:27:42 +00:00
Chad Whitacre
0531f2a6a6
Bump Kafka version to keep up with SaaS (#2037) 2023-03-21 15:25:48 -07:00
Hubert Deng
8fc2933c20
Add Backup/restore scripts (#2029)
* add backup/restore scripts
* refactor utils to scripts
2023-03-17 13:52:49 -07:00
Hubert Deng
c0ff2f49c9
Add opt in error monitoring to reset and clean scripts (#2021)
* add opt in error monitoring to clean script

* reorganize utility scripts to go into utility folder
2023-03-16 16:04:53 -07:00
getsentry-bot
fab16353f9 build: Set master version to nightly
#skip-changelog
2023-03-15 19:04:29 +00:00
getsentry-bot
d7faedf415 Merge branch 'release/23.3.0' 2023-03-15 19:04:25 +00:00
getsentry-bot
8b54b3aab9 release: 23.3.0 23.3.0 2023-03-15 18:04:49 +00:00
Sébastien Santoro
5119cfb8d0
Remove ZooKeeper snapshot (#2020)
Remove Zookeeper snapshot

Commit fe1f23f introduced a Zookeeper snapshot as a workaround
for an upgrade issue.

It's not used anymore, as later the workaround script has been removed too.

This is a follow-up for 54ca9b0817cc (#1710).
2023-03-14 12:00:16 -07:00
kl
06662c6cdc
feat(snuba): Add snuba sessions subscription service (#2006) 2023-03-07 13:15:28 -08:00
Hubert Deng
d8176e94d5
Add backup/restore integration tests (#2012)
* add backup/restore integration tests
2023-03-07 09:47:24 -08:00
kl
e68bd5b460
ref(snuba): Remove snuba-cleanup, snuba-transactions-cleanup jobs (#2003) 2023-03-07 08:50:57 -08:00
Ryan Albrecht
22d0cfe00a
ref(replays): Remove the session-replay-ui flag (#2010)
Co-authored-by: Ryan Albrecht <ryan@KD7XLHP4LY.local>
2023-03-06 14:20:07 -08:00
Hubert Deng
33a0d3d8e1
Remove broken replay integration test (#2011)
remove broken replay integration test
2023-03-03 15:45:24 -08:00
Hubert Deng
fed0dccf97
Bump self-hosted-e2e-tests action commit sha (#2008)
bump self-hosted-e2e-tests action commit sha
2023-03-03 11:12:51 -08:00
Hubert Deng
da640d1519
Revert symbolicator tests (#2004)
revert symbolicator tests
2023-03-02 14:29:47 -08:00
Lyn Nagara
c32aa8a684
post-process-forwarder: Update CLI command (#1999)
This argument is deprecated in https://github.com/getsentry/sentry/pull/45182
and will be removed shortly.
2023-03-01 10:11:11 -08:00
Josh Ferge
19a95c3021
feat(replays): add replays to self hosted (#1990) 2023-02-28 13:24:33 -08:00
Hubert Deng
0e7c7c7d82
Remove issue status helper automation (#1989)
remove issue status helper automation
2023-02-27 12:20:50 -08:00
Jona Wagner
edbed4dd40
Add proxy buffer size config to fix Bad Gateway (#1984)
To prevent `upstream sent too big header while reading response header from upstream` error
2023-02-24 11:48:32 -08:00
Benedikt Franke
ec4f416c26
Reference paths relative to project root (#1800)
* Reference paths relative to the current script or project root

Before this PR:
- some scripts change the current working directory and use relative paths
- different approaches are taken to know which directory a script is running in
- paths are sometimes relative, sometimes absolute, sometimes traversing directories

After this PR:
- scripts do neither change nor care much about the current working directory
- a unified approach determines the directory of the current script
- paths are always relative to the project root

This should resolve an issue I already tried to fix with https://github.com/getsentry/self-hosted/pull/1798,
where the contents of `./sentry` were not copied
into the built container image,
thus `enhance-image.sh` did not apply.

Co-authored-by: Amin Vakil <info@aminvakil.com>
2023-02-17 09:59:48 -08:00
Amin Vakil
4e6ddaec8f
Run close stale issues/PRs only on getsentry (#1969) 2023-02-16 13:46:49 -08:00
getsentry-bot
5a8956882e build: Set master version to nightly
#skip-changelog
2023-02-15 19:15:14 +00:00
getsentry-bot
60642c5572 Merge branch 'release/23.2.0' 2023-02-15 19:15:11 +00:00
getsentry-bot
6dc895adc0 release: 23.2.0 23.2.0 2023-02-15 18:04:49 +00:00
Amin Vakil
edcdfd4d9f
Run lock issues/PRs only on getsentry (#1966) 2023-02-15 09:51:23 -08:00
Daniel Hartnell
b1fda9a552
Updates Redis to 6.2.10 (#1937) 2023-02-14 09:53:32 -05:00
Chad Whitacre
0890133e5a
Handle missing example files gracefully (#1950) 2023-02-01 19:12:29 +00:00
Burak Yigit Kaya
be48754fa9
Fix post-release.sh for git pull (#1938)
Adds a workaround for the error in https://github.com/getsentry/publish/actions/runs/4018136005

(not sure if this is fool-proof but it follows the suggestion in the output)
2023-01-26 13:49:31 -08:00