From 3dcec0fc7cc849e9301a70d1a9d08224e2d00eef Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sat, 5 Jun 2021 08:11:56 +0200 Subject: [PATCH] First stab at a CI setup --- .drone.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..660f2a2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,27 @@ +--- +kind: pipeline +name: publish new apps.json +steps: + - name: publish new json + image: decentral1se/abra + commands: + - mkdir -p /root/.ssh + - ssh-keyscan -p 2222 git.autonomic.zone > "/root/.ssh/known_hosts" + - /root/.local/bin/app-json.py + + # - name: notify on failure + # image: plugins/matrix + # settings: + # homeserver: https://matrix.autonomic.zone + # roomid: "IFazIpLtxiScqbHqoa:autonomic.zone" + # userid: "@autono-bot:autonomic.zone" + # accesstoken: + # from_secret: autono_bot_access_token + # depends_on: + # - publish new json + # when: + # status: + # - failure +trigger: + branch: + - main