Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ build-python37:
- source $VERSION_FILE
- pip install -U -r requirements.txt
script:
- twine upload --repository=$PYPI_REPO dist/* --config-file=/root/pypi/.pypirc
- export CURL_CA_BUNDLE="" && twine upload --repository=$PYPI_REPO dist/* --config-file=/root/pypi/.pypirc
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ominięcie starego certyfikatu

tags: [ docker ]


Expand Down Expand Up @@ -172,8 +172,8 @@ doc-build:
- source /opt/conda/etc/profile.d/conda.sh
- conda activate /tmp/jovyan/venv/$VENV_NAME/
- source "/tmp/jovyan/.sdkman/bin/sdkman-init.sh"
- pip install -U sphinx==$SPHINX_VERSION nbsphinx sphinx_rtd_theme rst2pdf sphinxcontrib-github_ribbon "sphinxcontrib-bibtex<2.0.0" pysequila==$VERSION --extra-index-url=$PIP_SNAPSHOT_REPO
- export PYSPARK_SUBMIT_ARGS="--packages org.biodatageeks:sequila_${SCALA_VERSION}:${SEQUILA_VERSION} --driver-memory 4g pyspark-shell"
- pip install -U sphinx==$SPHINX_VERSION nbsphinx sphinx_rtd_theme rst2pdf sphinxcontrib-github_ribbon "sphinxcontrib-bibtex<2.0.0" pysequila==0.2.1+geeb03ba.snapshot --extra-index-url=$PIP_SNAPSHOT_REPO
- export PYSPARK_SUBMIT_ARGS="--packages org.biodatageeks:sequila_${SCALA_VERSION}:0.2.1+geeb03ba.snapshot --driver-memory 4g pyspark-shell"
Copy link
Author

@patrykgromek patrykgromek Nov 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tutaj chyba będę musiał wrócić do $VERSION ? jednak bez podania wersji bezpośrednio build PR się wywalał

script:
- cd docs && ./docs.sh html
artifacts:
Expand Down
3 changes: 2 additions & 1 deletion build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ else
docker build --no-cache -t biodatageeks/$CI_PROJECT_NAME-$CONTAINER_SUFIX .
if [ $(docker ps | grep $CI_PROJECT_NAME-$CONTAINER_SUFIX | wc -l) -gt 0 ]; then docker stop $CI_PROJECT_NAME-$CONTAINER_SUFIX && docker rm $CI_PROJECT_NAME-$CONTAINER_SUFIX; fi
docker run --restart unless-stopped -d -p ${DOC_PORT_PREFIX}$PORT_PROD:80 --name $CI_PROJECT_NAME-$CONTAINER_SUFIX biodatageeks/$CI_PROJECT_NAME-$CONTAINER_SUFIX
fi
fi

1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,5 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']


# -- Extension configuration -------------------------------------------------

2 changes: 1 addition & 1 deletion docs/source/notebooks
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pyspark==3.0.1
pyspark==3.1.2
findspark
setuptools
wheel
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def read_content(filepath):
read_content("README.rst") +
read_content(os.path.join("docs/source", "CHANGELOG.rst")))

requires = ['setuptools', 'typeguard==2.5.0', 'pyspark==3.0.1', 'findspark']
requires = ['setuptools', 'typeguard==2.9.1', 'pyspark==3.1.2', 'findspark']

extras_require = {
'reST': ['Sphinx'],
Expand Down