minor fixes
This commit is contained in:
parent
84c7d0e255
commit
4e98bf303f
|
@ -4,7 +4,6 @@ variables:
|
||||||
IMAGE_LATEST: $IMAGE_NAME:latest
|
IMAGE_LATEST: $IMAGE_NAME:latest
|
||||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip"
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip"
|
||||||
CARGO_HOME: "$CI_PROJECT_DIR/.cargo"
|
CARGO_HOME: "$CI_PROJECT_DIR/.cargo"
|
||||||
PYTHONDONTWRITEBYTECODE: "true"
|
|
||||||
REVIEW_DOMAIN: preview.funkwhale.audio
|
REVIEW_DOMAIN: preview.funkwhale.audio
|
||||||
REVIEW_INSTANCE_URL: https://funkwhale.juniorjpdj.pl
|
REVIEW_INSTANCE_URL: https://funkwhale.juniorjpdj.pl
|
||||||
DOCKER_HOST: tcp://docker:2375/
|
DOCKER_HOST: tcp://docker:2375/
|
||||||
|
@ -79,6 +78,8 @@ build_dep_wheels:
|
||||||
paths:
|
paths:
|
||||||
- .pip
|
- .pip
|
||||||
before_script:
|
before_script:
|
||||||
|
# show time stats
|
||||||
|
- *time_script
|
||||||
- >
|
- >
|
||||||
apk add
|
apk add
|
||||||
alpine-sdk
|
alpine-sdk
|
||||||
|
@ -95,17 +96,15 @@ build_dep_wheels:
|
||||||
py3-pip
|
py3-pip
|
||||||
patchelf
|
patchelf
|
||||||
- python -m venv tools
|
- python -m venv tools
|
||||||
- tools/bin/pip install --upgrade auditwheel twine poetry
|
- tools/bin/pip install --upgrade auditwheel twine poetry pip wheel
|
||||||
- cd api ; ../tools/bin/poetry export --with dev --without-hashes > ../requirements.txt ; cd ..
|
- cd api ; ../tools/bin/poetry export --with dev --without-hashes > ../requirements.txt ; cd ..
|
||||||
- python -m venv venv
|
- python -m venv venv
|
||||||
- venv/bin/pip install --upgrade pip wheel
|
- venv/bin/pip install --upgrade pip wheel
|
||||||
- venv/bin/pip debug --verbose
|
- venv/bin/pip debug --verbose
|
||||||
script:
|
script:
|
||||||
# show time stats
|
|
||||||
- *time_script
|
|
||||||
# build basic wheels
|
# build basic wheels
|
||||||
- venv/bin/pip wheel --check-build-dependencies -w wheelhouse auditwheel twine poetry
|
|
||||||
- venv/bin/pip wheel --check-build-dependencies -w wheelhouse -r requirements.txt
|
- venv/bin/pip wheel --check-build-dependencies -w wheelhouse -r requirements.txt
|
||||||
|
- venv/bin/pip wheel --check-build-dependencies -w wheelhouse auditwheel twine poetry pip wheel
|
||||||
# remove universal wheels (those are probably downloaded from pypi or our repo)
|
# remove universal wheels (those are probably downloaded from pypi or our repo)
|
||||||
- rm -f wheelhouse/*-none-any.whl wheelhouse/*-musllinux_*.whl
|
- rm -f wheelhouse/*-none-any.whl wheelhouse/*-musllinux_*.whl
|
||||||
- ls -l wheelhouse
|
- ls -l wheelhouse
|
||||||
|
|
Loading…
Reference in New Issue