Skip to content
Snippets Groups Projects
Verified Commit 69808b94 authored by Martin Weise's avatar Martin Weise
Browse files

Use requirements.txt again

parent 644c0152
No related branches found
No related tags found
1 merge request!250Master
...@@ -624,13 +624,13 @@ docs-latest: ...@@ -624,13 +624,13 @@ docs-latest:
script: script:
- apt-get update && apt-get install -y git make sed - apt-get update && apt-get install -y git make sed
- git fetch && git checkout master - git fetch && git checkout master
- pip install pipenv && pipenv install --dev --deploy - pip install -r ./requirements.txt
- mkdir -p ./final - mkdir -p ./final
- sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" .docs/redirect.html - sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" .docs/redirect.html
- cp ./.docs/redirect.html ./final/index.html - cp ./.docs/redirect.html ./final/index.html
- find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \; - find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \;
- find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \; - find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \;
- source ./venv/bin/activate && mkdocs build && cp -r ./site ./final/latest - mkdocs build && cp -r ./site ./final/latest
- cp -r ./swagger/latest ./final/latest/swagger - cp -r ./swagger/latest ./final/latest/swagger
cache: cache:
paths: paths:
...@@ -684,12 +684,12 @@ docs-1.4: ...@@ -684,12 +684,12 @@ docs-1.4:
script: script:
- apt-get update && apt-get install -y git make sed wget - apt-get update && apt-get install -y git make sed wget
- git fetch && git checkout release-v1.4 - git fetch && git checkout release-v1.4
- pip install pipenv && pipenv install --dev --deploy - pip install -r ./.docs/requirements.txt
- wget https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/dev/.docs/overrides/main.html -O .docs/overrides/main.html -q - wget https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/dev/.docs/overrides/main.html -O .docs/overrides/main.html -q
- mkdir -p ./final - mkdir -p ./final
- find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \; - find .docs/ -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \;
- find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \; - find .docs/ -type f -exec sed -i -e "s/__CHARTVERSION__/${CHART_VERSION}/g" {} \;
- source ./venv/bin/activate && mkdocs build && cp -r ./site ./final/${APP_VERSION} - mkdocs build && cp -r ./site ./final/${APP_VERSION}
- cp -r ./swagger/${APP_VERSION} ./final/${APP_VERSION}/swagger - cp -r ./swagger/${APP_VERSION} ./final/${APP_VERSION}/swagger
cache: cache:
paths: paths:
......
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
mkdocs = "1.5.3"
mkdocs-material = "9.5.5"
mkdocs-with-pdf = "0.9.3"
mkdocs-material-extensions = "*"
requests = "*"
py-dotenv = "*"
python-dotenv = "*"
[dev-packages]
[requires]
python_version = "3.11"
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment