ci: fix validate pipeline
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-05-26 23:41:24 +02:00
parent e6ae06dbbe
commit 4ba9e693fc

View File

@@ -43,26 +43,21 @@ environment:
TF_IN_AUTOMATION: "1"
steps:
- name: get terraform
- name: validate
image: hashicorp/terraform:1.1.8
commands:
- mv /bin/terraform .
- name: validate
image: ubuntu:22.04
commands:
- apk add bash
- mkdir -p ~/.ssh
- chmod 755 ~/.ssh
- echo "$${CI_SSH_KEY}" | base64 -d > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- mv terraform /bin/terraform
- scripts/validate.sh
- ./bash scripts/validate.sh
environment:
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
CI_SSH_KEY:
from_secret: ci-ssh-key
---
kind: signature
hmac: fe3dd25a32f51ba75f0e1aac4e8d4708fdac266a06ec4b3dbb4b8656f42a84ec
hmac: 862a935eac67195b05d210a174fa470fcb8e68542aa3610118b18e22af193c5d
...