fix: remove automated conda forge

This commit is contained in:
Félix Voituret
2019-11-21 13:26:11 +01:00
parent bf0171fa37
commit f34ed08b03
2 changed files with 3 additions and 35 deletions

View File

@@ -66,16 +66,6 @@ jobs:
# - other => testing PyPi # - other => testing PyPi
command: make deploy command: make deploy
# ======================================================================================= # =======================================================================================
# Conda distribution.
# =======================================================================================
conda-forge-deploy:
docker:
- image: python:3
steps:
- checkout
- run: apt-get update && apt-get install -y git openssl hub
- run: make feedstock
# =======================================================================================
# Docker build. # Docker build.
# ======================================================================================= # =======================================================================================
docker-conda-cpu: docker-conda-cpu:
@@ -165,32 +155,24 @@ workflows:
- master - master
requires: requires:
- sdist - sdist
- conda-forge-deploy: - conda-forge-validation:
filters:
branches:
only:
- master
requires:
- pypi-deploy
- hold:
type: approval type: approval
requires: requires:
- pypi-deploy - pypi-deploy
- conda-forge-deploy
filters: filters:
branches: branches:
only: only:
- master - master
- docker-conda-cpu: - docker-conda-cpu:
requires: requires:
- hold - conda-forge-validation
filters: filters:
branches: branches:
only: only:
- master - master
- docker-conda-gpu: - docker-conda-gpu:
requires: requires:
- hold - conda-forge-validation
filters: filters:
branches: branches:
only: only:

View File

@@ -21,20 +21,6 @@ build:
test: test:
pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv --forked pytest -W ignore::FutureWarning -W ignore::DeprecationWarning -vv --forked
feedstock: build
$(eval VERSION = $(shell grep 'project_version = ' setup.py | cut -d' ' -f3 | sed "s/'//g"))
$(eval CHECKSUM = $(shell openssl sha256 dist/spleeter-$(VERSION).tar.gz | cut -d' ' -f2))
git clone $(FEEDSTOCK_REPOSITORY)
sed 's/{% set version = "[0-9]*\.[0-9]*\.[0-9]*" %}/{% set version = "$(VERSION)" %}/g' $(FEEDSTOCK_RECIPE)
sed 's/sha256: [0-9a-z]*/sha: $(CHECKSUM)/g' $(FEEDSTOCK_RECIPE)
git config credential.helper 'cache --timeout=120'
git config user.email "research@deezer.com"
git config user.name "spleeter-ci"
git add recipe/spleeter/meta.yaml
git commit --allow-empty -m "feat: update spleeter version from CI"
git push -q https://$$FEEDSTOCK_TOKEN@github.com/deezer/$(FEEDSTOCK)
hub pull-request -m "Update spleeter version to $(VERSION)"
deploy: deploy:
pip install twine pip install twine
twine upload --skip-existing dist/* twine upload --skip-existing dist/*