diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e83c7d8..4bad712c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,4 @@ -image: registry.hub.docker.com/bitnami/minideb:bullseye - -before_script: - # following ones get updated, so they are not installed from Debian package repo: python3-sphinx python3-pybtex python3-pybtex-docutils -- install_packages pip jupyter-notebook python3-anyio python3-greenlet python3-click python3-jupyter-server python3-sqlalchemy python3-latexcodec python3-nbclient python3-nest-asyncio python3-smmap python3-soupsieve python3-toml - # limit to v0.14.0 until there is a fix for https://github.com/executablebooks/jupyter-book/issues/1964 -- pip install jupyter-book==0.14.0 && rm -r /root/.cache/pip +image: container.psi.ch/linux-infra/documentation pages: stage: deploy diff --git a/Readme.md b/Readme.md index 28541375..905648cc 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ # Overview -This is the collection of all linux related documentation. +This is the collection of all Linux related documentation. The documentation is build via a gitlab runner (git-pages) and the content is accessible at: https://linux.psi.ch > The content is actually served at: http://linux-infra.gitpages.psi.ch/documentation, however on linux.psi.ch there is a web server redirecting to this URL. @@ -8,4 +8,12 @@ The documentation is build via a gitlab runner (git-pages) and the content is ac To change stuff, simply edit the the Markdown and/or rst files and push to the git repository. The rendered page will update a few seconds (up to a minute) afterwards (Don't forget to refresh your browser cache for the page!). -> Ideally convert the .rst files you touch to Markdown! \ No newline at end of file +> Ideally convert the .rst files you touch to Markdown! + +# Administration + +Build required docker image: +```bash +docker build -t container.psi.ch:linux-infra/documentation . +docker push container.psi.ch/linux-infra/documentation +```