From 3304647974e98178d019bf535671632da7e322fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 17 May 2022 23:37:29 +0200 Subject: [PATCH] non-interactive apt --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0645ad2..53a102f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,9 @@ steps: - apt install -y wget - wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb - dpkg -i packages-microsoft-prod.deb - - apt install -y azure-cli npm + - echo 'tzdata tzdata/Areas select Europe' | debconf-set-selections + - echo 'tzdata tzdata/Zones/Europe select Budapest' | debconf-set-selections + - DEBIAN_FRONTEND="noninteractive" apt install -y azure-cli npm - npm i -g azure-functions-core-tools@4 --unsafe-perm true - az login --service-principal -u $AZURE_SP -p $AZURE_SP_PASSWORD --tenant $AZURE_SP_TENANT - func azure functionapp publish $FUNCTION_APP_NAME --python