Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
fix missing modules and add release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Apr 13, 2020
1 parent 01ec497 commit e7c1e10
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ common: &common
docker stop lambda
docker rm lambda
if [[ "$CIRCLE_BRANCH" == "master" ]]; then
if [[ -z "${CIRCLE_TAG}" ]]; then
docker tag geolayer lambgeo/lambda:gdal${GDAL_VERSION}-py${PYTHON_VERSION}-geolayer
docker push lambgeo/lambda:gdal${GDAL_VERSION}-py${PYTHON_VERSION}-geolayer
fi
Expand Down Expand Up @@ -84,14 +84,24 @@ workflows:
build_and_deploy:
jobs:
- "gdal-3.1"
- "gdal-3.0"
- "gdal-2.4"
filters: # required since `deploy` has tag filters AND requires `build`
tags:
only: /.*/
- "gdal-3.0":
filters: # required since `deploy` has tag filters AND requires `build`
tags:
only: /.*/
- "gdal-2.4":
filters: # required since `deploy` has tag filters AND requires `build`
tags:
only: /.*/
- deploy:
requires:
- "gdal-3.1"
- "gdal-3.0"
- "gdal-2.4"
filters:
tags:
only: /^[0-9]+.*/
branches:
only:
- master
ignore: /.*/
4 changes: 4 additions & 0 deletions requirements-gdal2.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ rasterio>=1.1.3

mercantile
supermercado

# HACK, those package are in the docker image but not in the lambda env
requests
pyyaml
4 changes: 4 additions & 0 deletions requirements-gdal3.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ pyproj==2.4.1

mercantile
supermercado

# HACK, those package are in the docker image but not in the lambda env
requests
pyyaml
4 changes: 4 additions & 0 deletions requirements-gdal3.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ pyproj==2.4.1

mercantile
supermercado

# HACK, those package are in the docker image but not in the lambda env
requests
pyyaml

0 comments on commit e7c1e10

Please sign in to comment.