21 Commits

Author SHA1 Message Date
Kamil Monicz
2b549baee7
fix(scripts): use env to find bash interpreter (#3861) 2025-08-10 07:48:47 +07:00
Reinaldy Rafli
abe68ba370
fix: uptime checker image should be bumped to the tagged release (#3858) 2025-08-06 08:56:47 -07:00
Nikita Korolev
66c057b4e2
enable shell linter for more scripts (#3748) 2025-06-14 06:50:26 +07:00
Mark Story
c8ee02de19
feat: Add taskbroker + worker + scheduler (#3738) 2025-06-11 21:57:24 +07:00
Michal Kuffa
534a874c0b
Remove cdc and wal2json and use the default postgres entrypoint (#3260)
* Remove cdc and wal2json and use the default postgres entrypoint

* Remove the last bits of wal2json install

* Remove read-only postgres volume bind
2024-08-12 09:12:37 -07:00
Chad Whitacre
bd1d1d822a
Relicense under FSL-1.0-Apache-2.0 (#2586) 2023-11-17 16:33:04 -05:00
Hubert Deng
5d838e120b
Fix bump version script (#2207)
add missing slash to script
2023-06-15 13:45:09 -07:00
Pierre Massat
e07be386ee
feat(profiling): Run profiling on self-hosted (#2154) 2023-06-02 13:58:49 +00: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
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
Ethan Smith
6b9306a17c
Add pre-commit config (#1738) 2022-10-21 13:46:35 -07: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
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