From e32e0b2ce9ab75b7a209a9a09832d57943d537dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Wed, 22 Jul 2020 14:51:13 +0200 Subject: [PATCH 1/4] useless volume --- docker-compose.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cad3529..7f5fb2e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,5 @@ version: "2" -volumes: - phyLinux-home: - services: autodoc: restart: "no" From e47e37de4e4e1ea3cd54b5965aec194e66e644b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Wed, 22 Sep 2021 23:45:45 +0200 Subject: [PATCH 2/4] Format --- src/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index c74c5d8..c9180e1 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,8 +1,9 @@ FROM ldericher/pandocker:latest -RUN apt-get update && apt-get -y install \ +RUN set -ex; \ + apt-get update && apt-get -y install \ inotify-tools \ -&& rm -rf /var/lib/apt/lists/* + ; rm -rf /var/lib/apt/lists/*; COPY usr /usr From d48fa8563e755a4bac1ab81b60c9948009309997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Wed, 22 Sep 2021 23:45:49 +0200 Subject: [PATCH 3/4] CI --- .drone.yml | 15 +++++++++++++++ README.md | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..11fe42a --- /dev/null +++ b/.drone.yml @@ -0,0 +1,15 @@ +--- +kind: pipeline +name: default + +steps: +- name: docker + image: plugins/docker + settings: + repo: ldericher/autodoc + dockerfile: src/Dockerfile + auto_tag: true + username: + from_secret: DOCKER_USERNAME + password: + from_secret: DOCKER_PASSWORD diff --git a/README.md b/README.md index 14cc6e3..cf32205 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # autodoc +[![Build Status](https://github.drone.yavook.de/api/badges/ldericher/autodoc/status.svg)](https://github.drone.yavook.de/ldericher/autodoc) + [`autodoc`](https://github.com/ldericher/autodoc) is a simple [CI](https://en.wikipedia.org/wiki/Continuous_integration) system optimized for document creation. In general, any file-sharing solution -- preferably on top of `docker-compose` -- can be made into an automatic document distribution system by adding an `autodoc` instance. From 1d6ee3bb7929df42353d2af86fe297ee89e907f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Wed, 22 Sep 2021 23:52:56 +0200 Subject: [PATCH 4/4] CI docker context --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 11fe42a..876d85d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,7 @@ steps: image: plugins/docker settings: repo: ldericher/autodoc + context: src dockerfile: src/Dockerfile auto_tag: true username: