From 0750f064847eba9ac4b5fd9694b0bc4ffcea8e0e Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 16 Dec 2019 16:49:39 +0100 Subject: [PATCH] Remove mkdocs-git-revision-date-localized-plugin hack in CI And rebuild docker image with new version See https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/3 Signed-off-by: Thomas Citharel --- .gitlab-ci.yml | 2 -- docker/tests/Dockerfile | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 189ef2f98..aeff996b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,8 +107,6 @@ pages: stage: deploy script: - mkdir public - # We use Python 3.5 in the current Stretch-based image. See https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/3 - - sed -i "s+print(f\"WARNING - plugin locale setting '{plugin_locale}' will overwrite mkdocs locale '{mkdocs_locale}'\")+print(\"WARNING - plugin locale setting will overwrite mkdocs locale\")+g" /usr/local/lib/python3.5/dist-packages/mkdocs_git_revision_date_localized_plugin/plugin.py - mkdocs build - mv site/* public/ - mix deps.get diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index 767f5247c..f70520a41 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -1,7 +1,7 @@ FROM elixir:latest LABEL maintainer="Thomas Citharel " -ENV REFRESHED_AT=2019-12-15 +ENV REFRESHED_AT=2019-12-16 RUN apt-get update -yq && apt-get install -yq build-essential inotify-tools postgresql-client git curl gnupg xvfb libgtk-3-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 python3-pip RUN curl -sL https://deb.nodesource.com/setup_10.x | bash && apt-get install nodejs -yq RUN npm install -g yarn wait-on