From c342cf656ee228a4d28239c6cdfa244d7283496b Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Tue, 27 Aug 2024 21:28:09 +0200 Subject: [PATCH] Move documentation docker scripts to /ci/docker --- {doc/docker => ci/docker/doc}/Dockerfile | 0 {doc/docker => ci/docker/doc}/build.sh | 0 ci/docker/doc/test.sh | 8 ++++++++ {doc/docker => ci/docker/doc}/upload.sh | 0 doc/docker/test.sh | 8 -------- 5 files changed, 8 insertions(+), 8 deletions(-) rename {doc/docker => ci/docker/doc}/Dockerfile (100%) rename {doc/docker => ci/docker/doc}/build.sh (100%) create mode 100755 ci/docker/doc/test.sh rename {doc/docker => ci/docker/doc}/upload.sh (100%) delete mode 100755 doc/docker/test.sh diff --git a/doc/docker/Dockerfile b/ci/docker/doc/Dockerfile similarity index 100% rename from doc/docker/Dockerfile rename to ci/docker/doc/Dockerfile diff --git a/doc/docker/build.sh b/ci/docker/doc/build.sh similarity index 100% rename from doc/docker/build.sh rename to ci/docker/doc/build.sh diff --git a/ci/docker/doc/test.sh b/ci/docker/doc/test.sh new file mode 100755 index 0000000..c99822c --- /dev/null +++ b/ci/docker/doc/test.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ -z "$1" ]; then + echo "usage: $0 " + exit 1 +fi + +docker run -v $(realpath ../../../doc):/doc -it git.tkolb.de/amateurfunk/hamnet70/asciidoctor:$1 diff --git a/doc/docker/upload.sh b/ci/docker/doc/upload.sh similarity index 100% rename from doc/docker/upload.sh rename to ci/docker/doc/upload.sh diff --git a/doc/docker/test.sh b/doc/docker/test.sh deleted file mode 100755 index 1a22732..0000000 --- a/doc/docker/test.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -if [ -z "$1" ]; then - echo "usage: $0 " - exit 1 -fi - -docker run -v $(realpath ..):/doc -it git.tkolb.de/amateurfunk/hamnet70/asciidoctor:$1