forked from getsentry/self-hosted
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/HH-241239' into EXP-103876
- Loading branch information
Showing
18 changed files
with
110 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
## Testing | ||
|
||
Validate changes to the setup by running the integration test: | ||
### Running Tests with Pytest | ||
|
||
```shell | ||
./integration-test.sh | ||
We use pytest for running tests. To run the tests: | ||
|
||
1) Ensure that you are in the root directory of the project. | ||
2) Run the following command: | ||
```bash | ||
pytest | ||
``` | ||
|
||
This will automatically discover and run all test cases in the project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG SENTRY_VERSION=24.10.0 | ||
ARG SENTRY_VERSION=24.11.1 | ||
ARG RELAY_IMAGE=getsentry/relay:${SENTRY_VERSION} | ||
ARG APPLICATION=relay-hh=24.10.0-4-3-1-7-1 | ||
FROM ${RELAY_IMAGE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG SENTRY_VERSION=24.10.0 | ||
ARG SENTRY_VERSION=24.11.1 | ||
ARG SNUBA_IMAGE=getsentry/snuba:${SENTRY_VERSION} | ||
ARG APPLICATION=snuba-hh=24.10.0-4-3-1-7-1 | ||
FROM ${SNUBA_IMAGE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG SENTRY_VERSION=24.10.0 | ||
ARG SENTRY_VERSION=24.11.1 | ||
ARG SYMBOLICATOR_IMAGE=getsentry/symbolicator:${SENTRY_VERSION} | ||
ARG APPLICATION=symbolicator-hh=24.10.0-4-3-1-7-1 | ||
FROM ${SYMBOLICATOR_IMAGE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG SENTRY_VERSION=24.10.0 | ||
ARG SENTRY_VERSION=24.11.1 | ||
ARG VROOM_IMAGE=getsentry/vroom:${SENTRY_VERSION} | ||
ARG APPLICATION=vroom-hh=24.10.0-4-3-1-7-1 | ||
FROM ${VROOM_IMAGE} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# redis.conf | ||
|
||
# The 'maxmemory' directive controls the maximum amount of memory Redis is allowed to use. | ||
# Setting 'maxmemory 0' means there is no limit on memory usage, allowing Redis to use as much | ||
# memory as the operating system allows. This is suitable for environments where memory | ||
# constraints are not a concern. | ||
# | ||
# Alternatively, you can specify a limit, such as 'maxmemory 15gb', to restrict Redis to | ||
# using a maximum of 15 gigabytes of memory. | ||
# | ||
# Example: | ||
# maxmemory 0 # Unlimited memory usage | ||
# maxmemory 15gb # Limit memory usage to 15 GB | ||
|
||
maxmemory 0 | ||
|
||
# This setting determines how Redis evicts keys when it reaches the memory limit. | ||
# `allkeys-lru` evicts the least recently used keys from all keys stored in Redis, | ||
# allowing frequently accessed data to remain in memory while older data is removed. | ||
# That said we use `volatile-lru` as Redis is used both as a cache and processing | ||
# queue in self-hosted Sentry. | ||
# > The volatile-lru and volatile-random policies are mainly useful when you want to | ||
# > use a single Redis instance for both caching and for a set of persistent keys. | ||
# > However, you should consider running two separate Redis instances in a case like | ||
# > this, if possible. | ||
|
||
maxmemory-policy volatile-lru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ pytest-rerunfailures>=11.0 | |
pytest-sentry>=0.1.11 | ||
httpx>=0.25.2 | ||
beautifulsoup4>=4.7.1 | ||
cryptography>=43.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters