From f6ad102ce2db9783c71acdd5d7b155c6a9bb5ce5 Mon Sep 17 00:00:00 2001 From: Dmytro Serdiuk Date: Sat, 6 Jun 2020 22:00:13 +0300 Subject: [PATCH] Remove 0pdd 0pdd is removed as it is not used anymore in the project since all TODOs are tracked via issues. --- .workflows/ci-pipeline.bash | 6 ------ Dockerfile | 5 ++--- README.md | 5 +---- workflows | 2 +- 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.workflows/ci-pipeline.bash b/.workflows/ci-pipeline.bash index 4a6e484..973872a 100755 --- a/.workflows/ci-pipeline.bash +++ b/.workflows/ci-pipeline.bash @@ -26,10 +26,6 @@ pipeline() { git elegant --version || exit 1 ) || fail "Installation test is failed." mkdocs build --clean --strict || fail "Unable to build the documentation." - pdd --exclude=.idea/**/* \ - --exclude=site/**/* \ - --exclude=docs/*.png \ - --verbose --file=/dev/null || fail "Unreadable todo is identified." ( python .workflows/docs.py git update-index --really-refresh @@ -48,8 +44,6 @@ main() { case $1 in --version) say-version "bats --version" - say-version "ruby --version" - say-version "pdd --version" say-version "python --version" say-version "pip freeze" ;; diff --git a/Dockerfile b/Dockerfile index 06e7bde..ed579dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,10 @@ RUN apk update && \ apk upgrade && \ apk add --no-cache bats=0.4.0-r2 build-base libffi-dev ncurses git python3 && \ ln -sf $(which python3) /usr/bin/python && \ - ln -sf $(which pip3) /usr/bin/pip && pip install --upgrade pip && \ - gem install pdd + ln -sf $(which pip3) /usr/bin/pip && pip install --upgrade pip LABEL maintainer="Dmytro Serdiuk " \ description="Run the image without arguments to get the desciption." \ - version=3 + version=5 COPY docs/requirements.txt / RUN pip install --no-cache -r requirements.txt && rm -r requirements.txt WORKDIR /eg diff --git a/README.md b/README.md index 4f613b5..42d2e30 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,6 @@ [vb]: https://img.shields.io/github/v/tag/bees-hive/elegant-git?label=Last%20release [vl]: https://github.com/bees-hive/elegant-git/releases/latest [lb]: https://img.shields.io/github/license/bees-hive/elegant-git -[0b]: http://www.0pdd.com/svg?name=bees-hive/elegant-git -[0l]: http://www.0pdd.com/p?name=bees-hive/elegant-git [bb]: https://github.com/bees-hive/elegant-git/workflows/Quality%20pipeline/badge.svg [bl]: https://github.com/bees-hive/elegant-git/actions?workflow=Quality+pipeline [db]: https://readthedocs.org/projects/elegant-git/badge/?version=latest @@ -30,7 +28,7 @@ click on the picture :point_down::point_down::point_down: to see a demo. [![][sb]][sl] [![][ab]][al] -[![][bb]][bl] [![][db]][dl] [![][0b]][0l] [![][eb]][el] +[![][bb]][bl] [![][db]][dl] [![][eb]][el] --- @@ -108,7 +106,6 @@ A testing procedure consists of 3 steps: 1. unit testing using [bats](https://github.com/sstephenson/bats) 2. installation testing 3. validation of documentation correctness -4. validation of todo' correctness (for [0pdd](http://www.0pdd.com/p?name=bees-hive/elegant-git)) All these steps can be executed by `./workflows ci` which runs a Docker container (based on `beeshive/elegant-git-ci` image) and calls all described checks. The image is also used on CI. diff --git a/workflows b/workflows index 8371acd..cc62f5a 100755 --- a/workflows +++ b/workflows @@ -3,7 +3,7 @@ set -e source ./libexec/plugins/text -WORKER_IMAGE="beeshive/elegant-git-ci:4" +WORKER_IMAGE="beeshive/elegant-git-ci:5" testing() { docker run -it --rm -v $PWD:/eg ${WORKER_IMAGE} .workflows/bats-pipeline.bash "$@"