summaryrefslogtreecommitdiffstats
path: root/StringTools
diff options
context:
space:
mode:
authorLeonetienne <leonetienne@hotmail.de>2022-10-27 08:57:41 +0200
committerLeonetienne <leonetienne@hotmail.de>2022-10-27 08:57:41 +0200
commit8f589d9063a60125c2cb5a898221ba2e8cc0fb90 (patch)
tree10b6fd2114eebff14814003129743a02ac7de6a0 /StringTools
parenta29fc03426e1af5a8b50647080c97be25eb8bce5 (diff)
Move .drone.yml in correct directory
Diffstat (limited to 'StringTools')
-rw-r--r--StringTools/.drone.yml56
1 files changed, 0 insertions, 56 deletions
diff --git a/StringTools/.drone.yml b/StringTools/.drone.yml
deleted file mode 100644
index 54fa7d8..0000000
--- a/StringTools/.drone.yml
+++ /dev/null
@@ -1,56 +0,0 @@
-kind: pipeline
-type: kubernetes
-name: cicd-pipeline
-
-steps:
- - name: Build docs
- image: ubuntu
- commands:
- - apt-get update
- - >-
- apt-get
- install
- make
- doxygen
- graphviz
- -y
- - cd "StringTools/doxygen"
- - make
-
- - name: Deploy docs to production
- image: ubuntu
- environment:
- SSH_PRIV:
- from_secret: ssh-priv
- SSH_PUB:
- from_secret: ssh-pub
- KNOWN_HOSTS:
- from_secret: known-hosts # this is just $(ssh-keyscan -p 2222 leonetienne.de)
- commands:
- - apt-get update
- - >-
- apt-get
- install
- openssh-client
- rsync
- -y
- - eval "$(ssh-agent -s)"
- - mkdir -p ~/.ssh
- - echo "$SSH_PRIV" > ~/.ssh/id_ed25519
- - echo "$SSH_PUB" > ~/.ssh/id_ed25519.pub
- - echo "$KNOWN_HOSTS" > ~/.ssh/known_hosts
- - chmod 600 ~/.ssh/id_ed25519
- - chmod 644 ~/.ssh/id_ed25519.pub
- - chmod 644 ~/.ssh/known_hosts
- - ssh-add
- - cd "StringTools/doxygen"
- - >-
- rsync
- -avz
- --recursive
- --delete
- --delete-excluded
- -e
- "ssh -o IdentitiesOnly=yes -p 2222"
- ./build/
- doxygen-stringtools@leonetienne.de:app \ No newline at end of file