GCrypt/.drone.yml

24 lines
584 B
YAML
Raw Normal View History

2022-10-25 20:10:42 +00:00
kind: pipeline
type: kubernetes
name: cicd-pipeline
steps:
- name: all-tmp
image: ubuntu
2022-10-25 20:13:47 +00:00
environment:
SSH_PRIV:
from_secret: ssh-priv
SSH_PUB:
from_secret: ssh-pub
2022-10-25 20:10:42 +00:00
commands:
2022-10-25 20:18:17 +00:00
# - cd "GCryptLib/doxygen"
- apt-get update
2022-10-25 20:19:45 +00:00
- apt-get install openssh-client -y
2022-10-25 20:10:42 +00:00
- eval "$(ssh-agent -s)"
2022-10-25 20:18:17 +00:00
- mkdir -p ~/.ssh
2022-10-25 20:29:50 +00:00
- echo $SSH_PRIV > ~/.ssh/id_rsa
- echo $SSH_PUB > ~/.ssh/id_rsa.pub
- chmod 600 ~/.ssh/id_rsa
- chmod 644 ~/.ssh/id_rsa.pub
- ssh-add ~/.ssh/id_rsa