2
0
Commit Graph

29 Commits

Author SHA1 Message Date
Burak Yigit Kaya
ecccb211aa
fix(relay): Fix failed to write credentials (#450) 2020-04-27 20:54:59 +03:00
Radu Woinaroski
e97da7c56f
feat(relay): Add Relay to onpremise installation (#421)
Co-Authored-By: Burak Yigit Kaya <byk@sentry.io>
2020-04-24 15:31:59 +03:00
Burak Yigit Kaya
b2076eaeed
ref(install): Reduce noise on docker-compose pull (#442) 2020-04-24 15:13:38 +03:00
Rob Nieuwenhuizen
3e0ca482c2
Make secret key generation idempotent (#390)
Only generate secret key if not set
2020-02-25 16:08:13 +03:00
Vernon Hockney
ce5834b8cf
fix(install): Update exit status and fix premature exit (#375)
Update exit -1 to exit 1 in line with best practices
Fixes premature exit of the script when checking for sse42 support. The
script would exit before displaying the reason for failure to the user.
2020-02-03 21:01:12 +03:00
Amphaal
cd1f9e811e
Check SSE4.2 compatibility before installation (#361)
Fixes #358.
2020-01-29 16:29:38 +03:00
Burak Yigit Kaya
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
Burak Yigit Kaya
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
Burak Yigit Kaya
70674e252a
fix(data-migration): Make sure to chown the /data folder on sentry (#336)
Fixes #334.
2020-01-13 22:25:27 +03:00
Burak Yigit Kaya
a655b4799c
feat(build): Enable parallel builds for docker-compose (#343) 2020-01-12 18:53:54 +03:00
Burak Yigit Kaya
d6951a2c32
fix(install): Fix secret key gen on BSD (#338)
Fixes #330.
2020-01-10 12:34:36 +03:00
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
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
3dfc01ec2d
fix(upgrade): Fix upgrade instructions and script (#304) 2019-12-30 23:07:42 +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
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
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
Thomas Lutz
fc24bd4b82 fix(build): make version checker more robust in install (#260)
Resolves #246.
2019-10-24 01:14:53 +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
13b510fc14
fix(install): Fix invalid reference format again (#231)
Fix #230.
2019-07-26 09:50:46 +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
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