Skip to content
Snippets Groups Projects
Commit 2ea010eb authored by Anton Joubert's avatar Anton Joubert
Browse files

SAR-54 Include git installation for katversion

The docker image used doesn't contain git, so install it for katversion
to use.
parent 00a6218f
Branches
Tags
No related merge requests found
...@@ -29,7 +29,10 @@ build wheel: ...@@ -29,7 +29,10 @@ build wheel:
tags: tags:
- docker-executor - docker-executor
script: script:
# note: katversion will include the git hash in the version for non-tagged commits # Note: katversion will include the git hash in the version for non-tagged commits, but need git
# TODO: consider moving git installation to ska-python-buildenv Dockerfile
- apt-get -y update
- apt-get install -y git --no-install-recommends
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
artifacts: artifacts:
paths: paths:
...@@ -85,7 +88,7 @@ publish to nexus: ...@@ -85,7 +88,7 @@ publish to nexus:
TWINE_USERNAME: $TWINE_USERNAME TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD TWINE_PASSWORD: $TWINE_PASSWORD
script: script:
# check metadata requirements # Check metadata requirements
- scripts/validate-metadata.sh - scripts/validate-metadata.sh
- pip install twine - pip install twine
- twine upload --repository-url $PYPI_REPOSITORY_URL dist/* - twine upload --repository-url $PYPI_REPOSITORY_URL dist/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment