2
0
Commit Graph

123 Commits

Author SHA1 Message Date
73bf3f5ab4 fix(config): parse env variable as int (#359)
- parse SENTRY_EVENT_RETENTION_DAYS as integer in case it is defined as a string like in kubernetes
2020-01-24 21:04:39 +03:00
1748073324 license: Update BSL change date 2020-01-23 19:36:19 +00:00
dbcf4cc528 license: Update BSL change date
* license: Update BSL change date

* try being too protective in the future

* set the date properly
2020-01-23 19:13:28 +00:00
1292a125b8 fix(install): Remove unnecessary infinite loop from snuba bootst… (#354)
With getsentry/snuba#709 merged, we no longer need to randomly try forever creating Kafka topics, which were a prerequisite for creating Clickhouse tables. This patch also removes the preceding (and obsolete) `docker-compose up` statement which was used to "speed up" the `snuba bootstrap` command in the hopes to fix it.
2020-01-21 22:56:45 +03:00
b8405fca76 build(compose): Bump required compose version (#353)
With #343, we added the `--parallel` flag which only got introduced in `docker-compose` `1.23.0` (source https://medium.com/schkn/parallelize-your-docker-compose-build-8ac653e3e596 as Docker docs themselves don't really mention these) so bumping the minimum required version.

Fixes #351.
2020-01-21 22:56:04 +03:00
dffd59723c meta(readme): Update docs and chat links in readme (#346)
Fixes #345.
2020-01-13 22:28:19 +03:00
70674e252a fix(data-migration): Make sure to chown the /data folder on sentry (#336)
Fixes #334.
2020-01-13 22:25:27 +03:00
a655b4799c feat(build): Enable parallel builds for docker-compose (#343) 2020-01-12 18:53:54 +03:00
d6951a2c32 fix(install): Fix secret key gen on BSD (#338)
Fixes #330.
2020-01-10 12:34:36 +03:00
bc23448141 fix(install): support for Windows and Git Bash (#335)
Fixes #329.
2020-01-09 22:55:20 +03:00
d54c1a8d6c fix(Makefile): Remove the obsolete Makefile (#333)
rip
2020-01-09 16:13:18 +03:00
b2080c1446 meta(readme): Remove stable 9.1.2 notice (#321) 2020-01-07 20:44:20 +03:00
6d80e5a68d license(date): Update license change date to 2023-01-07 (#320) 2020-01-07 20:21:45 +03:00
6587df3269 Changing search class name reference (#319)
Currently in sentry, both SnubaSearchBackend and EventsDatasetSnubaSearchBackend exist, and they are the same. 

This just points to the new (renamed) class so we can delete SnubaSearchBackend from sentry, as we only left it in to transition getsentry & onpremise.
2020-01-07 11:51:30 -05:00
753683d3d6 ref(install): Remove manual eventstream backfill (#318)
This became obsolete thanks to getsentry/sentry#16226
2020-01-03 23:28:43 +03:00
1d33ae6b04 fix(migration): Move Snuba bootstrapping before DB upgrade (#317)
Since we are [moving the eventstream into a proper db migration](https://github.com/getsentry/sentry/pull/16226), we need Snuba and its friends ready at the time of `sentry upgrade` command. This patch does exactly that.

Co-authored-by: Lyn Nagara <lyn.nagara@gmail.com>
2020-01-03 22:52:22 +03:00
4a82e9fa1d feat(logs): Cleaner logs w/o ANSI sequences (#316) 2020-01-03 22:06:33 +03:00
629ee07c79 feat(install): Add automatic logs to install script (#312)
This change makes the install script create a new install log file, `sentry_install_log-<ISO_TIMESTAMP>.txt`, for each run and records all the output there for future reference.
2020-01-03 13:17:35 +03:00
aa79f8baf9 fix(post-process): Add missing post-process-forwarder (#309)
We were not running the post-process forwarder, causing post-process to not run which covers all plugin and rule/alert work.

Fixes #287.
2019-12-30 23:27:02 +03:00
3dfc01ec2d fix(upgrade): Fix upgrade instructions and script (#304) 2019-12-30 23:07:42 +03:00
3af61c8f55 fix(retention): Sync system.event-retention-days w/ cleanup (#308) 2019-12-30 23:07:17 +03:00
547bea23e6 ref(env): Set docker-compose project name (#305) 2019-12-26 08:26:28 +03:00
a465b170be license: Update BSL change date 2019-12-23 21:20:05 +00:00
9ec53c3350 meta(readme): Update upgrade notice (#299) 2019-12-09 23:40:18 +03:00
ba67058070 feat(upgrade): Add automatic Snuba migration for upgrades (#292)
Upgrades existing events from last `$SENTRY_EVENT_RETENTION_DAYS`
to Snuba automatically. Relies on getsentry/sentry#15934.
2019-12-09 21:33:02 +03:00
3c9e8c28ff fix(sentry-data): Don't migrate when not needed (#297)
With this patch, `./install.sh` becomes safer as it won't recursively move things under `/data/file`. It also won't try to migrate an empty volume.
2019-12-09 21:18:43 +03:00
4af4ecfd0e fix(install): Don't run migrations in interactive mode (#296)
This should fix the GCB failures.
2019-12-06 23:21:54 +03:00
89e8053c40 fix(data): Use /data for persisting files and file caches (#295)
Moves sentry-data volume to /data mount point and sets all file-based storage settings to /data/files, /data/dsym-cache etc. accordingly. See 50ac550666/src/sentry/options/defaults.py (L45-L54)
2019-12-06 03:32:31 +03:00
7b10fea284 fix(volumes): Fix creation of random volumes at every run (#291)
Plugs all the holes (VOLUME defs) in the images we use so they at least persist across runs/restarts for things like random logs or SMTP spool. This also fixes symbolicator_cleanup service not having access to symbolicator data.
2019-12-04 02:29:01 +03:00
6c0d7e48f0 fix(kafka): Disable support metrics in Kafka & ZK (#290)
Disables the annoying automatic support metrics for Kafka and ZK while defaulting all logs to WARN level, instead of some being WARN and some ERROR.
2019-12-04 01:30:24 +03:00
62c0cb16bf ref(kafka): Simpler kafka listener setup (#288) 2019-12-04 00:53:38 +03:00
83f52d1fe5 fix(tracing): Force-disable self-tracing on on-premise (#285) 2019-11-28 01:19:08 +03:00
ddabbe96c6 feat(postgres): Add auto upgrade from pg 9.5 to 9.6 (#283) 2019-11-27 03:14:09 +03:00
b461a7591d feat(symbolicator): Use the image from Docker Hub for symbolicat… (#282) 2019-11-26 02:33:04 +03:00
9d21847218 fix(snuba): Add migrate call on setup (#281)
We need to run `snuba migrate` to be able to safely upgrade between Snuba versions
2019-11-25 23:01:14 +03:00
5d064c2224 feat(sentry10): Make on-premise work for Sentry 10 (#220) 2019-11-12 02:18:59 +03:00
e2b7c743af meta(LICENSE): Switch to Business Source License 1.1 (#267)
See the public announcement about this on: https://blog.sentry.io/2019/11/06/relicensing-sentry/
2019-11-06 23:39:55 +03:00
2018fb50d0 Declare ARG in Dockerfile. (#265)
Resolves [Warning] One or more build-args [SENTRY_IMAGE] were not consumed.
2019-10-28 22:33:06 +03:00
fc24bd4b82 fix(build): make version checker more robust in install (#260)
Resolves #246.
2019-10-24 01:14:53 +03:00
ac33e08b47 Fix typo (#263)
There's a word missing here, although, I'm not sure if it should be "want" or "need"; either one seems to work.
2019-10-24 01:10:14 +03:00
ea78661e36 build(travis): Use :latest tag for getsentry/sentry (#252) 2019-10-14 21:31:38 +03:00
4fade2fb1f fix(uwsgi): Fix broken uWSGI config (#237)
This patch introduces the following fixes to uWSGI config which
was not set up correctly to be used publicly (not behind a router,
load balancer, proxy like nginx etc.):

 - Use `http` option for a front-proxy
 - Set protocol back to `uwsgi` due to above
 - Prevent forced socket binding to `uwsgi` due to protocol change
 above (https://git.io/fj7Lw)
 - Turn on "keep-alive" support

Should fix getsentry/sentry-cli#40.
2019-08-13 02:38:12 +03:00
263acda90b Dockerfile & Makefile argument name mismatch (#232)
Dockerfile expects the argument to be `SENTRY_IMAGE`. So, modifying Makefile to enable `make build`
2019-07-29 17:55:35 +03:00
13b510fc14 fix(install): Fix invalid reference format again (#231)
Fix #230.
2019-07-26 09:50:46 +03:00
af07ad9c55 fix(Dockerfile): Fix default IMAGE missing (#223) 2019-07-24 11:28:48 +03:00
424cc20e84 fix(Makefile): Bring back the new lines from messages (#219)
Follow up to #218.
2019-07-18 11:42:33 +03:00
0fd0379859 fix(Makefile): Fix invalid reference format error (#218)
Required after #211. Fixes #216. Also fixes printing of `-e` after #215.
2019-07-17 22:44:42 +03:00
ce1d259834 fix: Update minimum Docker version (#217)
Required after #211. Fixes #213.
2019-07-17 22:13:23 +03:00
af2d805f32 fix(Makefile): -e needed for color codes (#215)
closes #214

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2019-07-16 03:08:17 +03:00
9177155c79 feat(nightlies): Add ability to build from nightlies (#211)
This patch adds the optional IMAGE env variable to set the base
image and adds nightly builds to Travis CI.
2019-07-08 18:56:51 +03:00