Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Leon Etienne 2022-10-25 21:35:39 +00:00
parent 8fc90d0783
commit 6319e8b0e6

View File

@ -3,7 +3,19 @@ type: kubernetes
name: cicd-pipeline name: cicd-pipeline
steps: steps:
- name: all-tmp - name: build
image: ubuntu
commands:
- apt-get update
- >-
apt-get
make
doxygen
-y
- cd "GCryptLib/doxygen"
- make
- name: deploy to production
image: ubuntu image: ubuntu
environment: environment:
SSH_PRIV: SSH_PRIV:
@ -19,11 +31,7 @@ steps:
install install
openssh-client openssh-client
rsync rsync
make
doxygen
-y -y
- cd "GCryptLib/doxygen"
- make
- eval "$(ssh-agent -s)" - eval "$(ssh-agent -s)"
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "$SSH_PRIV" > ~/.ssh/id_ed25519 - echo "$SSH_PRIV" > ~/.ssh/id_ed25519
@ -33,6 +41,7 @@ steps:
- chmod 644 ~/.ssh/id_ed25519.pub - chmod 644 ~/.ssh/id_ed25519.pub
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- ssh-add - ssh-add
- cd "GCryptLib/doxygen"
- >- - >-
rsync rsync
-avz -avz