GCrypt/.drone.yml

22 lines
524 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
- echo $SSH_PRIV > ~/.ssh/id_ed25519
- echo $SSH_PUB > ~/.ssh/id_ed25519.pub
- ssh-add ~/.ssh/id_ed25519