Update .gitlab-ci.yml

This commit is contained in:
Daven Savoie 2021-09-15 15:50:16 +00:00
parent 8eecde255d
commit 299312eb2f

View File

@ -11,7 +11,7 @@ build_and_push:
CIC_PACKAGE_REGISTRY_PROJECT_ID: 27624814 CIC_PACKAGE_REGISTRY_PROJECT_ID: 27624814
script: script:
#- python -m pip install --upgrade setuptools wheel pip twine semver #- python -m pip install --upgrade setuptools wheel pip twine semver
- python -m pip install --extra-index-url https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple --extra-index-url https://pip.grassrootseconomics.net:8433 install -r requirements.txt -r test_requirements.txt -r sql_requirements.txt - python -m pip install --extra-index-url https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple --extra-index-url https://pip.grassrootseconomics.net:8433 install -r requirements.txt
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --skip-existing --repository-url ${CI_API_V4_URL}/projects/${CIC_PACKAGE_REGISTRY_PROJECT_ID}/packages/pypi dist/* - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --skip-existing --repository-url ${CI_API_V4_URL}/projects/${CIC_PACKAGE_REGISTRY_PROJECT_ID}/packages/pypi dist/*
# Below are the built dependencies # Below are the built dependencies