Skip to content
Snippets Groups Projects
Commit e4b7313b authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

remove conda build + topfarm git path in pyproject.toml

parent 227be365
No related branches found
No related tags found
3 merge requests!624Multi mirror,!607Cupy RANS NN Surrogate Inference Changes,!586remove conda build + topfarm git path in pyproject.toml
Pipeline #56675 passed
......@@ -165,57 +165,5 @@ pypi_linux:
- ci-ubuntu
build_conda:
stage: build
image: condaforge/mambaforge:latest
dependencies: []
script:
- export VERSION=`git describe --tags --always | sed 's/v//' | sed 's/-/.dev/' | sed 's/-/_/'`
- mamba install -c conda-forge --override-channels -y boa conda-verify
- conda mambabuild --no-anaconda-upload -c conda-forge --override-channels --output-folder ./conda_channel ./recipe
artifacts:
untracked: false
expire_in: "3 days"
paths: ["conda_channel/noarch/py_wake*.tar.bz2"]
rules:
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED
allow_failure: true
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: manual
allow_failure: true
changes:
- setup.py
- recipe/meta.yaml
- when: never
tags:
- ci-ubuntu
deploy_conda:
stage: deploy
image: docker:latest
dependencies: ["build_conda"]
needs: ["build_conda"]
script:
- CONDA_PKG=`basename ./conda_channel/noarch/py_wake*.tar.bz2`
- cp -p ./conda_channel/noarch/$CONDA_PKG /conda_channel_open/noarch/${CONDA_PKG}.tmp
- chown 1000:1000 /conda_channel_open/noarch/${CONDA_PKG}.tmp
- mv /conda_channel_open/noarch/${CONDA_PKG}.tmp /conda_channel_open/noarch/${CONDA_PKG}
rules:
- if: $CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED
tags:
- conda_channel
# current
# pypi_windows:
# stage:
# deploy
# only:
# - tags
# - test_pypi
# script:
# - c:/Anaconda3/envs/pyTopfarm/python.exe setup.py bdist_wheel
# - twine upload dist/* -u %TWINE_USERNAME% -p %TWINE_PASSWORD%
# #- twine upload --repository-url https://test.pypi.org/legacy/ dist/* -u %TWINE_USERNAME% -p %TWINE_PASSWORD% # for testing purposes
# tags:
# - CPAV_old_PC
......@@ -59,7 +59,7 @@ docs = [
"ipympl",
"ipykernel",
"pypandoc",
"topfarm @ git+https://gitlab.windenergy.dtu.dk/TOPFARM/TopFarm2.git",
"topfarm",
]
[tool.setuptools]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment