From eb3ee1e12f1fa7ef623be85188f978de896346a9 Mon Sep 17 00:00:00 2001 From: Noah Knegt Date: Tue, 16 Apr 2024 20:07:01 +0200 Subject: [PATCH] Remove drone ci Signed-off-by: Noah Knegt --- .drone.yml | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index d9a3322..0000000 --- a/.drone.yml +++ /dev/null @@ -1,53 +0,0 @@ ---- -kind: pipeline -type: docker -name: ansible - -steps: - - name: yaml lint - image: cytopia/yamllint:alpine - commands: - - yamllint -c .yamllint.yml . - - - name: ansible lint - image: cytopia/ansible-lint:alpine - commands: - - ansible-lint . - - - name: setup ssh key - image: cytopia/ansible:latest-infra - commands: - - mkdir -p /root/.ssh - - echo "$SSH_KEY" > /root/.ssh/id_ed25519 - - chmod 600 /root/.ssh/id_ed25519 - - ssh-keyscan -p 4422 vps.noahknegt.com > /root/.ssh/known_hosts - environment: - SSH_KEY: - from_secret: ssh_key - volumes: - - name: ssh_key - path: /root/.ssh - when: - event: - - push - branch: - - master - - - name: ansible apply - image: cytopia/ansible:latest-infra - commands: - - eval `ssh-agent -s` - - ssh-add /root/.ssh/id_ed25519 - - ansible-playbook -i inventory/hosts.yml site.yml - volumes: - - name: ssh_key - path: /root/.ssh - when: - event: - - push - branch: - - master - -volumes: - - name: ssh_key - temp: {}