Skip to content
Snippets Groups Projects

Poetry

Merged Jeremy M Fee requested to merge ghsc/users/jmfee/geomag-algorithms:poetry into master
Files
4
+ 3
4
@@ -18,7 +18,7 @@ variables:
TRIVY_VERSION: "0.13.0"
# docker variables
DOCKER_DRIVER: overlay2
FROM_IMAGE: ${CODE_REGISTRY}/devops/images/usgs/obspy:3.8
FROM_IMAGE: ${CODE_REGISTRY}/devops/images/usgs/python:3.8-obspy
# environment variables
APP_NAME: geomag-algorithms
DATA_HOST: "cwbpub.cr.usgs.gov"
@@ -73,11 +73,10 @@ variables:
junit: junit.xml
before_script:
# install dependencies
- python -m pip install poetry wheel
- poetry config virtualenvs.create false
- poetry install
- which python
image: ${DEVOPS_REGISTRY}usgs/obspy:latest
image: ${DEVOPS_REGISTRY}usgs/python:3.8-build
script:
# run checks
- black --check .
@@ -174,7 +173,7 @@ variables:
Check Python 3.8:
extends:
- .check_code
image: ${DEVOPS_REGISTRY}usgs/obspy:3.8
image: ${DEVOPS_REGISTRY}usgs/python:3.8-build
## --------------------------------------------------
# Integration Stage
Loading