Use strategy release in admin dashboard

This commit is contained in:
Sebastian Serth
2021-10-24 13:00:35 +02:00
parent ada438b230
commit af93603ba3
3 changed files with 9 additions and 8 deletions

View File

@ -13,14 +13,15 @@ div.mb-4
= "CodeOcean Release:" = "CodeOcean Release:"
pre = Sentry.configuration.release pre = Sentry.configuration.release
- if DockerContainerPool.active? - if Runner.management_active?
div.mb-4 div.mb-4
= "DockerContainerPool Release:" = Runner.strategy_class.name.demodulize
pre = DockerContainerPool.dump_info['release'] =< "Release:"
pre = Runner.strategy_class.release
h2 Docker h2 Docker
- if DockerContainerPool.active? - if Runner.management_active?
h3 = t('.current') h3 = t('.current')
.table-responsive .table-responsive
table.table table.table

View File

@ -19,7 +19,7 @@ de:
network_enabled: Netzwerkzugriff network_enabled: Netzwerkzugriff
name: Name name: Name
permitted_execution_time: Erlaubte Ausführungszeit (in Sekunden) permitted_execution_time: Erlaubte Ausführungszeit (in Sekunden)
pool_size: Docker-Container-Pool-Größe pool_size: Prewarming-Pool-Größe
run_command: Ausführungsbefehl run_command: Ausführungsbefehl
test_command: Testbefehl test_command: Testbefehl
testing_framework: Testing-Framework testing_framework: Testing-Framework
@ -240,7 +240,7 @@ de:
show: show:
current: Aktuelle Verfügbarkeit current: Aktuelle Verfügbarkeit
history: Verfügbarkeitsverlauf history: Verfügbarkeitsverlauf
inactive: Der Container-Pool ist nicht aktiv. inactive: Es ist kein Runner Management aktiv.
quantity: Verfügbare Container quantity: Verfügbare Container
application: application:
not_authorized: Sie Sind nicht berechtigt, diese Aktion auszuführen. not_authorized: Sie Sind nicht berechtigt, diese Aktion auszuführen.

View File

@ -19,7 +19,7 @@ en:
name: Name name: Name
network_enabled: Network Enabled network_enabled: Network Enabled
permitted_execution_time: Permitted Execution Time (in Seconds) permitted_execution_time: Permitted Execution Time (in Seconds)
pool_size: Docker Container Pool Size pool_size: Prewarming Pool Size
run_command: Run Command run_command: Run Command
test_command: Test Command test_command: Test Command
testing_framework: Testing Framework testing_framework: Testing Framework
@ -240,7 +240,7 @@ en:
show: show:
current: Current Availability current: Current Availability
history: Availability History history: Availability History
inactive: Container pooling is not enabled. inactive: No runner management is currently enabled.
quantity: Available Containers quantity: Available Containers
application: application:
not_authorized: You are not authorized to perform this action. not_authorized: You are not authorized to perform this action.