2
0
Commit Graph

164 Commits

Author SHA1 Message Date
Simon Golms
bc23448141 fix(install): support for Windows and Git Bash (#335)
Fixes #329.
2020-01-09 22:55:20 +03:00
Burak Yigit Kaya
d54c1a8d6c
fix(Makefile): Remove the obsolete Makefile (#333)
rip
2020-01-09 16:13:18 +03:00
Burak Yigit Kaya
b2080c1446
meta(readme): Remove stable 9.1.2 notice (#321) 2020-01-07 20:44:20 +03:00
Burak Yigit Kaya
6d80e5a68d
license(date): Update license change date to 2023-01-07 (#320) 2020-01-07 20:21:45 +03:00
Chris Fuller
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
Burak Yigit Kaya
753683d3d6
ref(install): Remove manual eventstream backfill (#318)
This became obsolete thanks to getsentry/sentry#16226
2020-01-03 23:28:43 +03:00
Burak Yigit Kaya
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
Burak Yigit Kaya
4a82e9fa1d
feat(logs): Cleaner logs w/o ANSI sequences (#316) 2020-01-03 22:06:33 +03:00
Burak Yigit Kaya
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
Burak Yigit Kaya
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
Burak Yigit Kaya
3dfc01ec2d
fix(upgrade): Fix upgrade instructions and script (#304) 2019-12-30 23:07:42 +03:00
Burak Yigit Kaya
3af61c8f55
fix(retention): Sync system.event-retention-days w/ cleanup (#308) 2019-12-30 23:07:17 +03:00
Burak Yigit Kaya
547bea23e6
ref(env): Set docker-compose project name (#305) 2019-12-26 08:26:28 +03:00
sentry-update-license-date[bot]
a465b170be license: Update BSL change date 2019-12-23 21:20:05 +00:00
Burak Yigit Kaya
9ec53c3350
meta(readme): Update upgrade notice (#299) 2019-12-09 23:40:18 +03:00
Burak Yigit Kaya
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
Burak Yigit Kaya
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
Burak Yigit Kaya
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
Burak Yigit Kaya
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
Burak Yigit Kaya
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
Burak Yigit Kaya
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
Burak Yigit Kaya
62c0cb16bf
ref(kafka): Simpler kafka listener setup (#288) 2019-12-04 00:53:38 +03:00
Burak Yigit Kaya
83f52d1fe5
fix(tracing): Force-disable self-tracing on on-premise (#285) 2019-11-28 01:19:08 +03:00
Burak Yigit Kaya
ddabbe96c6
feat(postgres): Add auto upgrade from pg 9.5 to 9.6 (#283) 2019-11-27 03:14:09 +03:00
Burak Yigit Kaya
b461a7591d
feat(symbolicator): Use the image from Docker Hub for symbolicat… (#282) 2019-11-26 02:33:04 +03:00
Burak Yigit Kaya
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
Burak Yigit Kaya
5d064c2224
feat(sentry10): Make on-premise work for Sentry 10 (#220) 2019-11-12 02:18:59 +03:00
Burak Yigit Kaya
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
mark burdett
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
Thomas Lutz
fc24bd4b82 fix(build): make version checker more robust in install (#260)
Resolves #246.
2019-10-24 01:14:53 +03:00
Ben Johnson
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
Burak Yigit Kaya
ea78661e36
build(travis): Use :latest tag for getsentry/sentry (#252) 2019-10-14 21:31:38 +03:00
Burak Yigit Kaya
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
Ashok Bommisetti
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
Burak Yigit Kaya
13b510fc14
fix(install): Fix invalid reference format again (#231)
Fix #230.
2019-07-26 09:50:46 +03:00
Burak Yigit Kaya
af07ad9c55
fix(Dockerfile): Fix default IMAGE missing (#223) 2019-07-24 11:28:48 +03:00
Burak Yigit Kaya
424cc20e84
fix(Makefile): Bring back the new lines from messages (#219)
Follow up to #218.
2019-07-18 11:42:33 +03:00
Burak Yigit Kaya
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
Burak Yigit Kaya
ce1d259834
fix: Update minimum Docker version (#217)
Required after #211. Fixes #213.
2019-07-17 22:13:23 +03:00
Jamin Collins
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
Burak Yigit Kaya
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
Burak Yigit Kaya
792e2cc961
docs(readme): Update readme for the install script (#209)
Follow up to #207.
2019-07-02 23:58:49 +03:00
Burak Yigit Kaya
8b5b724d1e chore(dockerignore): Ignore new CI/install files in Docker 2019-07-02 00:23:31 +03:00
Burak Yigit Kaya
f015462a51 ci(travis): Add e2e smoke testing with Travis CI 2019-07-02 00:23:31 +03:00
Burak Yigit Kaya
c42fc264df feat(install): Add fully automated install script
This adds a fully automated `install.sh` that does the following:

- Checks minimum Docker and `docker-compose` versions
- Checks minimum RAM available to Docker containers
- Removes potential user errors in install steps
2019-07-02 00:23:31 +03:00
Burak Yigit Kaya
ae39a61d4d
fix(license): Fix license attribution terms (#197) 2019-06-20 01:10:22 +03:00
Burak Yigit Kaya
4e84599542
fix(config): Remove autocommit option from DB config (#195)
Django 1.7 already defaults to `True` for this and in Django 1.8, which
is what the latest Sentry uses, the option is removed and causes a DB
connection error so dropping it to fix git builds.
2019-06-18 22:26:47 +03:00
Burak Yigit Kaya
7e48342757
meta(readme): Update minimum docker-compose version (#194)
Fixes #191 .
2019-06-13 23:26:40 +03:00
Kashyap
ceed39c1d2 Fix possible typo in gitignore
Remove a match-all glob pattern. It looks like some non-git tools read the `*,cover` as `*` and `cover` separately and basically ignore all files. Even though this is not really a problem with the repo itself, I think the change is still valid, considering `*,cover` looks like an invalid rule anyway.


_____

Background:

(__This part is vim-specific__)

For a while now, my Neosnippet configuration has been going for a toss when working on our fork based off of this repo. I see a message similar to the one reported [here](https://github.com/Shougo/neocomplcache.vim/issues/468), but my vimrc configuration is as per the documentation available in the plugin docs. I finally spent enough time to debug this today, and it turns out this issue was happening *only* in this repo and nowhere else. So I went through the files that might've to do anything with folder-specific configuration (think dotenv, editorconfig etc.), and turned out `.gitignore` was the only such file; I use [this plugin](https://github.com/vim-scripts/gitignore) to load the gitignore rules into the `wildmenu` completion and the `*,` part basically (from what I understand) removes most of the load path configuration from vim 😄. I'll probably have to go make a change in that plugin as well though.
2019-06-11 23:39:12 -07:00
Burak Yiğit Kaya
9f8c89a5f7
fix(email): Add SENTRY_EMAIL_LIST_NAMESPACE env setting (#192)
Port of getsentry/docker-sentry#170
2019-06-11 23:21:39 +03:00