From 1fb3a980f89c4c6481e04f9e195cf22e4e7f6b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 16 Jun 2021 15:30:04 +0200 Subject: [PATCH] use SYSTEM account for builds, pipe logs to build.log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- tasks/schedule.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tasks/schedule.yml b/tasks/schedule.yml index 4653620..46d0d0f 100644 --- a/tasks/schedule.yml +++ b/tasks/schedule.yml @@ -3,12 +3,11 @@ win_scheduled_task: description: 'Daily rebuild of Nimbus beacon node binaries' name: '{{ beacon_node_service_name }}-build' - username: '{{ beacon_node_service_user_name }}' - password: '{{ beacon_node_service_user_pass }}' - logon_type: 's4u' + username: SYSTEM actions: - path: 'C:/ProgramData/scoop/apps/git/current/bin/bash.exe' - arguments: '{{ beacon_node_build_script }}' + arguments: '-c "{{ beacon_node_build_script }} > ./build.log 2>&1' + working_directory: '{{ beacon_node_service_path }}' triggers: - type: 'daily' start_boundary: '2021-01-01T01:00:00'