Loading .gitlab-ci.yml +1 −13 Original line number Diff line number Diff line image: python:3.10-bullseye image: $CI_REGISTRY_IMAGE/docs-builder:1.0 variables: GIT_SUBMODULE_STRATEGY: normal Loading @@ -6,7 +6,6 @@ variables: MAIN_BRANCH: "main" stages: - setup - build - deploy - copy_to_main Loading @@ -15,24 +14,13 @@ default: tags: - inject setup: stage: setup before_script: - apt-get update script: - echo "updating" build: stage: build script: - pip install poetry==1.8.2 - poetry install - poetry run mkdocs build --strict --verbose --site-dir public artifacts: paths: - public dependencies: - setup pages: stage: deploy Loading Dockerfile 0 → 100644 +13 −0 Original line number Diff line number Diff line FROM python:3.10-slim WORKDIR /app RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/* RUN pip install poetry==1.8.2 COPY pyproject.toml poetry.lock ./ RUN poetry config virtualenvs.create false RUN poetry install Loading
.gitlab-ci.yml +1 −13 Original line number Diff line number Diff line image: python:3.10-bullseye image: $CI_REGISTRY_IMAGE/docs-builder:1.0 variables: GIT_SUBMODULE_STRATEGY: normal Loading @@ -6,7 +6,6 @@ variables: MAIN_BRANCH: "main" stages: - setup - build - deploy - copy_to_main Loading @@ -15,24 +14,13 @@ default: tags: - inject setup: stage: setup before_script: - apt-get update script: - echo "updating" build: stage: build script: - pip install poetry==1.8.2 - poetry install - poetry run mkdocs build --strict --verbose --site-dir public artifacts: paths: - public dependencies: - setup pages: stage: deploy Loading
Dockerfile 0 → 100644 +13 −0 Original line number Diff line number Diff line FROM python:3.10-slim WORKDIR /app RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/* RUN pip install poetry==1.8.2 COPY pyproject.toml poetry.lock ./ RUN poetry config virtualenvs.create false RUN poetry install