Add option to sync single execution environment

This commit is contained in:
Sebastian Serth
2021-12-09 16:44:05 +01:00
parent 8faa35e629
commit 8535cd9a9c
6 changed files with 33 additions and 4 deletions

View File

@ -303,6 +303,10 @@ de:
not_synced_to_runner_management: Die Ausführungsumgebung wurde erstellt, aber aufgrund eines Fehlers nicht zum Runnermanagement synchronisiert.
index:
shell: Shell
synchronize:
button: Synchronisieren
success: Die Ausführungsumgebung wurde erfolgreich synchronisiert.
failure: "Beim Synchronisieren der Ausführungsumgebung ist folgender Fehler aufgetreten: %{error}"
synchronize_all:
button: Alle synchronisieren
success: Alle Ausführungsumgebungen wurden erfolgreich synchronisiert.

View File

@ -303,6 +303,10 @@ en:
not_synced_to_runner_management: The execution environment was created but not synced to the runner management due to an error.
index:
shell: Shell
synchronize:
button: Synchronize
success: The execution environemnt was synchronized successfully.
failure: "The execution environment could not be synchronised due to the following error: %{error}"
synchronize_all:
button: Synchronize all
success: All execution environemnts were synchronized successfully.

View File

@ -66,6 +66,7 @@ Rails.application.routes.draw do
get :shell
post 'shell', as: :execute_command, action: :execute_command
get :statistics
post :sync_to_runner_management
end
post :sync_all_to_runner_management, on: :collection