Remove youtrack. Clean up a bit.

This commit is contained in:
Pavel Balashou
2026-02-24 12:01:22 +01:00
parent 8139f0e179
commit ea40de726b
5 changed files with 13 additions and 50 deletions
+13 -3
View File
@@ -1,8 +1,18 @@
ActiveSupport::Notifications
.monotonic_subscribe("each_iteration.iteration") do |_, started, finished, _, tags|
# Possible events related to job-iteration.
# https://github.com/Shopify/job-iteration/blob/main/guides/best-practices.md#instrumentation
# build_enumerator.iteration
# throttled.iteration (when using ThrottleEnumerator)
# nil_enumerator.iteration
# resumed.iteration
# each_iteration.iteration
# not_found.iteration
# interrupted.iteration
# completed.iteration
ActiveSupport::Notifications.monotonic_subscribe("each_iteration.iteration") do |_, started, finished, _, tags|
elapsed = finished - started
max_iteration_runtime = 10.seconds
max_iteration_runtime = 3.minutes
if elapsed >= max_iteration_runtime
Rails.logger.warn "[Iteration] job_class=#{tags[:job_class]} " \
"each_iteration runtime exceeded limit of #{max_iteration_runtime}s"
-2
View File
@@ -102,8 +102,6 @@ services:
POSTGRES_DB: ${DB_DATABASE:-openproject}
networks:
- network
ports:
- "4444:5432"
cache:
image: memcached
-1
View File
@@ -1 +0,0 @@
OPENPROJECT_DOCKER_DEV_TLD=local
-24
View File
@@ -1,24 +0,0 @@
services:
youtrack:
image: jetbrains/youtrack:2025.2.98373
labels:
- "traefik.enable=true"
- "traefik.http.routers.youtrack.rule=Host(`youtrack.${OPENPROJECT_DOCKER_DEV_TLD}`)"
- "traefik.http.routers.youtrack.service=youtrack-service"
- "traefik.http.services.youtrack-service.loadbalancer.server.port=8080"
networks:
- gateway
volumes:
- youtrack-data:/opt/youtrack/data
- youtrack-conf:/opt/youtrack/conf
- youtrack-logs:/opt/youtrack/logs
- youtrack-backups:/opt/youtrack/backups
networks:
gateway:
external: true
name: gateway
volumes:
youtrack-data:
youtrack-conf:
youtrack-logs:
youtrack-backups:
-20
View File
@@ -1,20 +0,0 @@
# Possible events related to job-iteration.
# https://github.com/Shopify/job-iteration/blob/main/guides/best-practices.md#instrumentation
# build_enumerator.iteration
# throttled.iteration (when using ThrottleEnumerator)
# nil_enumerator.iteration
# resumed.iteration
# each_iteration.iteration
# not_found.iteration
# interrupted.iteration
# completed.iteration
ActiveSupport::Notifications.monotonic_subscribe("each_iteration.iteration") do |_, started, finished, _, tags|
elapsed = finished - started
max_iteration_runtime = 3.minutes
if elapsed >= max_iteration_runtime
Rails.logger.warn "[Iteration] job_class=#{tags[:job_class]} " \
"each_iteration runtime exceeded limit of #{max_iteration_runtime}s"
end
end