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 0768770120

View File

@@ -43,26 +43,25 @@ environment:
TF_IN_AUTOMATION: "1"
steps:
- name: get terraform
image: hashicorp/terraform:1.1.8
- name: get bash
image: ubuntu:22.04
commands:
- mv /bin/terraform .
- mv /usr/bin/bash ./bash
- name: validate
image: ubuntu:22.04
image: hashicorp/terraform:1.1.8
commands:
- 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: 67bb210e57f424c1fcb464b71bc479fd057206556bbc1835d61000706116b61a
...