From dba7e9bb52ef93b5aa098e9114de441dc46c5aba Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 15 Feb 2025 13:25:28 +0000 Subject: [PATCH] use wget instead of curl as archive has license now [ci skip] --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 99cfe83a..78b1aaf0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -91,10 +91,11 @@ steps: TECHNITIUM_API_KEY: from_secret: TECHNITIUM_API_KEY commands: - - "apk update && apk add git certbot expect curl gzip" + - "apk update && apk add git certbot expect curl gzip wget gunzip" # Install terraform cli # - "curl https://releases.hashicorp.com/terraform/0.14.6/terraform_0.14.6_linux_amd64.zip | gzip -d > /usr/local/bin/terraform && chmod 775 /usr/local/bin/terraform" - - "curl https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip | gzip -d > /usr/local/bin/terraform && chmod 775 /usr/local/bin/terraform" + # - "curl https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip | gzip -d > /usr/local/bin/terraform && chmod 775 /usr/local/bin/terraform" + - "wget https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip && gunzip terraform_1.10.3_linux_amd64.zip && mv terraform /usr/local/bin/ && chmod 775 /usr/local/bin/terraform" - "/usr/local/bin/terraform init" - "./modules/kubernetes/setup_tls_secret/renew2.sh" - name: Commit updated certificates