13 Commits

Author SHA1 Message Date
Burak Yigit Kaya
920be6771d
build: Omit nightly bump commit from changelog (#1120) 2021-10-15 20:14:06 +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
4a8ca83956
fix(release): Fix post-release script so it operates on master (#887)
We've been leaving onpremise master with the latest release, instead of nightly builds for 2 releases now. Even if the post-release script runs, it bumped the versions to nightly on the release branch, making it effectively a no-op. This should be addressed in Craft via getsentry/craft#115 but until then, we need this extra line.
2021-03-16 18:33:30 +03:00
Burak Yigit Kaya
af7f50c883
ci(release): Make sure to pull before pushing in post-release (#820)
Fixes the issue we had over at getsentry/publish#60. This aligns the script with [the one at getsentry/sentry](https://github.com/getsentry/sentry/blob/master/scripts/post-release.sh#L6)
2021-01-19 17:56:13 +00:00
Burak Yigit Kaya
cab86ac60c
fix(release): Mark scripts/bump-version.sh as +x 2020-12-16 00:55:07 +03:00
Burak Yigit Kaya
500c02b28a
ci(release): Move to getsentry/publish for releases (#775)
A copy of getsentry/sentry#22657 with fixes included.

That said this one is a bit different. We used to use the extra option `no-merge` when publishing to keep the release branches and also keep master on nightly versions. If we want to keep this, we need to add per-project overrides to getsentry/publish which would increase complexity at this early stage for this fringe case. Instead, I opted to follow what getsentry/sentry does: merge but then immediately after that update the version.
2020-12-15 18:52:24 +03:00
Burak Yigit Kaya
9b3aee1b1f
ref(self-hosted): More on-premise -> self-hosted (#669) 2020-09-09 22:30:27 +03:00
Burak Yigit Kaya
59db1f2957
ref(symbolicator): Tag the latest symbolicator release for releases (#654) 2020-09-03 21:52:26 +03:00
Burak Yigit Kaya
86864d0edf
feat(compose): Add ability to use custom images for any Sentry service (#602)
This change allows one to override any Sentry service image, mostly for testing purposes. It also removes the SENTRY_VERSION variable as docker-compose makes it very hard to cascade default values for these. Next step is to have integration tests in getsentry/snuba and getsentry/relay (and possibly for getsentry/symbolicator) for getsentry/onpremise using this PR.

Also related: #596.
2020-07-17 15:02:45 +03:00
Burak Yigit Kaya
0a9f12404a
fix(license): License change date should be 3 years later, not now
Follow up to #584.
2020-07-14 22:19:47 +03:00
Burak Yigit Kaya
1a554ba61b
meta(release): Update BSL date on release (#584) 2020-07-14 22:12:30 +03:00
Burak Yigit Kaya
2fc9811c74
build(gha): Add automated CalVer releases (#539) 2020-06-16 12:44:13 +03:00
Burak Yigit Kaya
af502d0ba5
build(gha): Add Craft releases as a GitHub action (#538) 2020-06-14 17:27:41 +03:00