use SYSTEM account for builds, pipe logs to build.log

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-06-16 15:30:04 +02:00
parent 41bcc3139a
commit 1fb3a980f8
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 3 additions and 4 deletions

View File

@ -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'