From e5ac3794426fabc90c0c4bfe7dd07633d8c84455 Mon Sep 17 00:00:00 2001 From: Armin Friedl Date: Sun, 16 Aug 2020 23:19:36 +0200 Subject: [PATCH] Add drone build --- .drone.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e0a18e0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: build + image: gcc + commands: + - make + +- name: run + image: debian + commands: + - cp quark /usr/local/bin + - useradd web && su web && cd + - mkdir -p web && cd web && echo "hello from quark" > index.html + - quark -p 9130 -h run -l -u web -g web + detach: true + +- name: test + image: curlimages/curl + commands: + - sleep 15 + - curl http://run:9130