-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #940 from gooddata/snapshot-master-5cbf4886-to-rel…
…/dev [bot] Merge master/5cbf4886 into rel/dev
- Loading branch information
Showing
17 changed files
with
22 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,15 @@ | ||
FROM python:3.13-slim AS python-stage | ||
|
||
COPY . data | ||
|
||
WORKDIR data | ||
|
||
RUN pip install --no-cache-dir -r scripts/script-requirements.txt | ||
|
||
WORKDIR docs | ||
|
||
RUN python3 ../scripts/docs/json_builder.py && \ | ||
mkdir versioned_docs/latest && \ | ||
mv -f data.json versioned_docs/latest && \ | ||
python3 ../scripts/docs/python_ref_builder.py api_spec.toml versioned_docs/latest/data.json latest versioned_docs | ||
|
||
FROM node:20.18.0-bookworm-slim | ||
|
||
COPY docs docs | ||
|
||
COPY --from=python-stage data/docs/versioned_docs/latest/api-reference docs/content/en/latest/api-reference | ||
COPY --from=python-stage data/docs/versioned_docs/latest/pandas docs/content/en/latest/pandas | ||
|
||
|
||
RUN apt-get update && \ | ||
apt-get install -y git make golang-go curl && \ | ||
npm install -g hugo-extended@0.117.0 && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \ | ||
mkdir -p docs/versioned_docs/latest | ||
|
||
COPY --from=python-stage data/docs/versioned_docs/latest/links.json docs/versioned_docs/latest | ||
COPY --from=python-stage data/docs/versioned_docs/latest/data.json docs/versioned_docs/latest | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
COPY docs/content/en/latest/ docs/versioned_docs/latest/ | ||
COPY docs docs | ||
|
||
WORKDIR docs | ||
RUN npm install && \ | ||
rm -rf node_modules | ||
RUN npm install | ||
|
||
# accessible on http://localhost:1313/latest/ | ||
ENTRYPOINT ["hugo", "server", "-e", "dev", "--bind", "0.0.0.0"] | ||
ENTRYPOINT ["hugo", "server", "--bind", "0.0.0.0"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ruff==0.6.5 | ||
ruff==0.8.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pyyaml>=5.1 | ||
pyyaml>=6.0 | ||
attrs>=21.4.0,<=24.2.0 | ||
cattrs>=22.1.0,<=24.1.1 | ||
requests~=2.32.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pytest~=8.3.3 | ||
pytest-cov~=5.0.0 | ||
pytest-cov~=6.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
pytest~=8.3.3 | ||
pytest-cov~=5.0.0 | ||
vcrpy~=6.0.1 | ||
pytest-cov~=6.0.0 | ||
vcrpy~=7.0.0 | ||
# TODO - Bump the version together with bumping the version of openapi generator | ||
urllib3==1.26.9 | ||
pyyaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
jsonschema~=4.23.0 | ||
pytest~=8.3.3 | ||
pytest-cov~=5.0.0 | ||
pytest-cov~=6.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pytest~=8.3.3 | ||
pytest-cov~=5.0.0 | ||
pytest-cov~=6.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
python-dateutil >= 2.5.3 | ||
pyyaml>=5.1 | ||
pyyaml>=6.0 | ||
attrs>=21.4.0,<=24.2.0 | ||
cattrs>=22.1.0,<=24.1.1 | ||
brotli==1.1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
from setuptools import find_packages, setup | ||
|
||
REQUIRES = [ | ||
"pyyaml>=5.1", | ||
"pyyaml>=6.0", | ||
] | ||
|
||
setup( | ||
|