Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

0.11.7 > 0.14.0 #16

Open
wants to merge 226 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
921ca0f
use titiler custom JSONResponse to handle NaN values (#659)
vincentsarago Jun 13, 2023
c85b18a
Added hostpath, imagepullsecret and termination grace priod support.
ofirmakmal Jun 20, 2023
df03cd6
Merge branch 'developmentseed:main' into add_additional_configuration…
ofirmakmal Jun 20, 2023
e30143a
Version bump
ofirmakmal Jun 20, 2023
d405395
Merge pull request #660 from edgybees/add_additional_configuration_fe…
ranchodeluxe Jun 22, 2023
047453f
Security contexts for k8s (#657)
holgerbach Jun 23, 2023
a180642
Fix pydantic to last working version (#663)
abhemanyus Jul 6, 2023
8d6776c
sketch use of Annotated types (#612)
vincentsarago Jul 10, 2023
437ef18
Fix errors in extension example docs (#665)
dvd3v Jul 12, 2023
9dc9d6b
fix expression case
vincentsarago Jul 17, 2023
bc3fd14
Merge branch 'main' of https://github.com/developmentseed/titiler
vincentsarago Jul 17, 2023
8940f29
update morecantile, rio-tiler and cogeo-mosaic versions (#664)
vincentsarago Jul 17, 2023
d33a41d
remove deleted docs
vincentsarago Jul 17, 2023
20abf13
release date
vincentsarago Jul 17, 2023
17cdff2
Bump version: 0.11.7 → 0.12.0
vincentsarago Jul 17, 2023
b44b519
change openapi/docs url and update landing page (#671)
vincentsarago Jul 19, 2023
aee5ece
fix landing page
vincentsarago Jul 19, 2023
8adac84
show benchmark results
vincentsarago Jul 26, 2023
e0803c4
add benchmark comparison (#676)
vincentsarago Jul 27, 2023
f23c5da
add benchmark doc
vincentsarago Jul 27, 2023
f5f9a4b
update to pydantic 2.0 and other dependencies (#675)
vincentsarago Jul 27, 2023
9e8b543
release date
vincentsarago Jul 27, 2023
ff66d5d
Bump version: 0.12.0 → 0.13.0
vincentsarago Jul 27, 2023
dc9e0c7
fix dep requirements
vincentsarago Jul 27, 2023
5023044
fix: `LowerCaseQueryStringMiddleware` should not truncate query param…
jthetzel Aug 21, 2023
5c65b89
Corse allow methods in env options. #683 (#684)
ubi15 Aug 21, 2023
473a5be
update changelog
vincentsarago Aug 21, 2023
e9a3002
Bump version: 0.13.0 → 0.13.1
vincentsarago Aug 21, 2023
84457ed
replace stamen basemap by osm (#691)
vincentsarago Aug 24, 2023
e3c6b25
Simplify band loading (#688)
tayden Aug 24, 2023
837f8a6
release date
vincentsarago Aug 24, 2023
e6f7e4c
Bump version: 0.13.1 → 0.13.2
vincentsarago Aug 24, 2023
0d5b433
do not change mutable (#693)
vincentsarago Aug 27, 2023
896e787
Bump version: 0.13.2 → 0.13.3
vincentsarago Aug 27, 2023
f894c88
Rename query parameters (#694)
vincentsarago Aug 29, 2023
7c9f899
replace ImageData.render with custom render function (#690)
vincentsarago Aug 30, 2023
3bdb78a
release date
vincentsarago Aug 30, 2023
e9ded40
Bump version: 0.13.3 → 0.14.0
vincentsarago Aug 30, 2023
e779166
update cdk for python 3.11
vincentsarago Sep 5, 2023
255fd49
update endpoint
vincentsarago Sep 7, 2023
448fc7a
WMS get feature (edits from 697) (#698)
vincentsarago Sep 14, 2023
56e057d
update changelog
vincentsarago Sep 14, 2023
108283f
Bump version: 0.14.0 → 0.14.1
vincentsarago Sep 14, 2023
c6b5468
rename /crop endpoints to /bbox or /feature (#704)
vincentsarago Sep 28, 2023
5f4c5d0
Take coverage weights in account when generating statistics from GeoJ…
vincentsarago Sep 28, 2023
75c0b58
release date
vincentsarago Sep 28, 2023
9c2005b
Bump version: 0.14.1 → 0.15.0
vincentsarago Sep 28, 2023
50934c9
Allow a default color_formula to be defined on the factory (#707)
samn Oct 3, 2023
19b3787
update notebooks
vincentsarago Oct 4, 2023
d60bc24
add create_colormap_dependency function (#710)
vincentsarago Oct 12, 2023
419228c
add py.typed file (#712)
vincentsarago Oct 17, 2023
95a80e6
Bump version: 0.15.0 → 0.15.1
vincentsarago Oct 17, 2023
5344686
Configure Mangum with root_path for API Gateway non-root routes (#716)
DanSchoppe Oct 19, 2023
8c079f9
Update errors.py (#713)
simouel Oct 19, 2023
e46c35c
update changelog
vincentsarago Oct 19, 2023
4008edb
add reproject method and padding options (#717)
vincentsarago Oct 23, 2023
58b63b1
release date
vincentsarago Oct 23, 2023
b46f7fe
Bump version: 0.15.1 → 0.15.2
vincentsarago Oct 23, 2023
5a37e6e
add dst-crs options for statistics and feature (#722)
vincentsarago Nov 2, 2023
03a1a35
Bump version: 0.15.2 → 0.15.3
vincentsarago Nov 2, 2023
75c94de
update docs
vincentsarago Nov 2, 2023
fa88732
allow bidx option in multibasetiler (#724)
vincentsarago Nov 6, 2023
c599c29
Bump version: 0.15.3 → 0.15.4
vincentsarago Nov 6, 2023
67999e4
Feat/algorithm in statistics (#726)
vincentsarago Nov 9, 2023
0975890
Bump version: 0.15.4 → 0.15.5
vincentsarago Nov 9, 2023
01968bb
add buffer to aoi (#729)
vincentsarago Nov 16, 2023
918d4e3
Bump version: 0.15.5 → 0.15.6
vincentsarago Nov 16, 2023
0b71b2f
Fix import in example code that doesn't run (#730)
DeflateAwning Nov 27, 2023
350da5f
Add global access token setting and validation (#735)
DeflateAwning Dec 12, 2023
0fddd7e
update changelog
vincentsarago Dec 12, 2023
fce7194
limit fastapi upper version to avoid starlette breaking change (#746)
vincentsarago Jan 8, 2024
28c0b51
release date
vincentsarago Jan 8, 2024
33914c7
Bump version: 0.15.6 → 0.15.7
vincentsarago Jan 8, 2024
27f8f6e
fix template loading for starlette >= 0.28 (#744)
jasongi Jan 8, 2024
691b13d
update changelog
vincentsarago Jan 8, 2024
936a0b9
release date
vincentsarago Jan 8, 2024
3c17f83
Bump version: 0.15.7 → 0.16.0
vincentsarago Jan 8, 2024
2bd0304
fix issue with deprecated morecantile method
vincentsarago Jan 8, 2024
81bea67
Bump version: 0.16.0 → 0.16.1
vincentsarago Jan 8, 2024
e396959
update changelog
vincentsarago Jan 8, 2024
ef5caf9
Fix leafletjs template maxZoom to great than 18 zoom (#749)
Firefishy Jan 10, 2024
b66f228
update changelog
vincentsarago Jan 10, 2024
9388311
update changelog
vincentsarago Jan 17, 2024
41fea96
Bump version: 0.16.1 → 0.16.2
vincentsarago Jan 17, 2024
993af6c
update rio-tiler version and use new options for better statistics (#…
vincentsarago Jan 17, 2024
a6af703
fix packaging
vincentsarago Jan 17, 2024
34ff283
Bump version: 0.16.2 → 0.17.0
vincentsarago Jan 17, 2024
70c18b3
better handle URL path when app if proxied
vincentsarago Jan 19, 2024
b43bb84
Update Checkout to v4 (#761)
chris-bateman Jan 30, 2024
4bbc753
add dependabot (#764)
chris-bateman Jan 31, 2024
c66dff2
group dependabots
vincentsarago Jan 31, 2024
db8af9d
Bump the all group with 11 updates (#770)
dependabot[bot] Jan 31, 2024
8adc1ce
Update custom tms code example (#771)
GeoWill Feb 1, 2024
60eabaa
Bump the all group with 1 update (#774)
dependabot[bot] Feb 8, 2024
391fac3
Update mosaic_from_urls.md (#779)
robert-werner Feb 15, 2024
cec144a
Bump the all group with 1 update (#778)
dependabot[bot] Feb 15, 2024
3e1832a
Bump the all group with 1 update (#789)
dependabot[bot] Mar 5, 2024
6aeedbd
Add `use_epsg` parameter to WMTS endpoint (#782)
gadomski Mar 6, 2024
6b43ea3
update changelog
vincentsarago Mar 6, 2024
49d5f8e
Update Azure deployment example (#680)
gassc Mar 6, 2024
247da5d
feat: added min and max value to algorithms (#783)
JinIgarashi Mar 6, 2024
02617ac
update rendering docs
vincentsarago Mar 6, 2024
316538b
add python 3.12 (#794)
vincentsarago Mar 13, 2024
21b8cb1
update changelog
vincentsarago Mar 13, 2024
cf43ceb
Bump version: 0.17.0 → 0.17.1
vincentsarago Mar 14, 2024
28e5d0f
fix: changed lt(exclusiveMaximum) to le(maximum) for DEM algorithms (…
JinIgarashi Mar 15, 2024
e89228a
update changelog
vincentsarago Mar 15, 2024
ffd67af
Bump version: 0.17.1 → 0.17.2
vincentsarago Mar 15, 2024
8f24f89
Adding extra="ignore" option to fix pydantic_settings.SettingsConfigD…
imanshafiei540 Mar 21, 2024
66f06ef
Bump version: 0.17.2 → 0.17.3
vincentsarago Mar 21, 2024
9df1731
add colormap endpoints (#796)
vincentsarago Mar 21, 2024
b24b6b5
deprecate default tilematrixset (#802)
vincentsarago Mar 22, 2024
68bb735
release date
vincentsarago Mar 22, 2024
8caf839
Bump version: 0.17.3 → 0.18.0
vincentsarago Mar 22, 2024
98defec
fix: fixed title of terrainrgb algorithm (#804)
JinIgarashi Mar 25, 2024
979b23d
update changelog
vincentsarago Mar 25, 2024
461b384
limit mkdocs jupyter
vincentsarago Apr 9, 2024
3c08c82
Patch/more dependencies tests (#809)
vincentsarago Apr 12, 2024
506afb7
make sure to return empty content for 204 (#808)
vincentsarago Apr 12, 2024
2442dea
update changelog
vincentsarago Apr 12, 2024
18692fc
release date
vincentsarago Apr 12, 2024
3ce3f63
Bump version: 0.18.0 → 0.18.1
vincentsarago Apr 12, 2024
e92e667
Add plausible analytics (#811)
kylebarron Apr 18, 2024
adf787b
update docs dependencies
vincentsarago Apr 23, 2024
11aa64c
fastapi-slim replaces fastapi (#815)
n8sty May 7, 2024
c71ead6
Bump helm/kind-action from 1.9.0 to 1.10.0 in the all group (#813)
dependabot[bot] May 7, 2024
3f55ea0
Add band index description to markdown cells (#814)
tylere May 7, 2024
1ca50b9
update changelog
vincentsarago May 7, 2024
c69a4d5
Add build support for arm64 (#740)
Firefishy May 7, 2024
481f664
Bump version: 0.18.1 → 0.18.2
vincentsarago May 7, 2024
3fb2e4f
fix WMTS document for ArcMap (#818)
vincentsarago May 20, 2024
77816bf
Bump version: 0.18.2 → 0.18.3
vincentsarago May 20, 2024
da7738d
Bump docker/build-push-action from 5 to 6 in the all group (#821)
dependabot[bot] Jun 25, 2024
3c73798
fix Tiles URL encoding in WMTS XML doc (#937)
vincentsarago Jun 26, 2024
f7e7be3
Bump version: 0.18.3 → 0.18.4
vincentsarago Jun 26, 2024
2056249
set fastapi limit to >=0.111.0 (#944)
vincentsarago Jul 3, 2024
b4fb96c
update config to use bump-my-version
vincentsarago Jul 4, 2024
7189c6d
Bump version: 0.18.4 → 0.18.5
vincentsarago Jul 4, 2024
a03de92
pin numpexr in lambda
vincentsarago Jul 4, 2024
bce7c75
remove defaults in deps and add `.as_dict` method to the `DefaultDepe…
vincentsarago Jul 9, 2024
c6b57a4
switch to mkdocstrings for API docs (#952)
vincentsarago Jul 9, 2024
44c5daa
fix
vincentsarago Jul 9, 2024
536b6a4
fix: Encode URL for cog_viewer and stac_viewer (#961)
guillemc23 Jul 31, 2024
dd77323
Improve XSS security (#953)
jcary741 Jul 31, 2024
af86a58
revert to fastapi and update version
vincentsarago Aug 27, 2024
2aecc87
docker compose
vincentsarago Aug 27, 2024
6baf52c
Bump version: 0.18.5 → 0.18.6
vincentsarago Aug 27, 2024
0b102f3
fix aws dockerfile
vincentsarago Aug 27, 2024
ebe8505
update from 0.18.6
vincentsarago Aug 27, 2024
4c7a957
Patch/update from maint 0.18 (#970)
vincentsarago Aug 27, 2024
725f857
Merge branch 'main' of https://github.com/developmentseed/titiler
vincentsarago Aug 27, 2024
1490022
fix hillsahde algorithm (#985)
vincentsarago Sep 19, 2024
4327ab8
update changelog
vincentsarago Sep 19, 2024
6e43eec
feature: add links for render parameters and /cog/map link to /cog/vi…
hrodmn Sep 23, 2024
c443d5f
update changelog
vincentsarago Sep 23, 2024
1825dce
simplify Factories (#943)
vincentsarago Sep 24, 2024
575cb72
update from 0.18.10
vincentsarago Oct 17, 2024
7eb47f0
update bump config
vincentsarago Oct 17, 2024
33eb757
update titiler version to 0.19.0.dev
vincentsarago Oct 17, 2024
ede9f60
update rio-tiler dependency (#1003)
vincentsarago Oct 22, 2024
2b31502
convert Numpy.Array/Generic for JSON encoding (#1008)
vincentsarago Oct 25, 2024
67f6b64
Update from deprecated path in benchmarks (#1011)
maxrjones Oct 29, 2024
642797c
update wmts (#1012)
vincentsarago Oct 29, 2024
dc56ddc
set min/maxNativeZoom in tileLayer instead of min/maxZoom (#1015)
hrodmn Oct 31, 2024
6bc1429
add OGC tileset list and tileset metadata endpoints (#1017)
vincentsarago Oct 31, 2024
cc607c3
add gif mediatype (#1018)
vincentsarago Nov 4, 2024
e137d67
update STAC reference (#1005)
emmanuel-ferdman Nov 5, 2024
40c4143
Point to return masked values (#1020)
vincentsarago Nov 5, 2024
d33d60a
Add Xarray sub-package (#1013)
vincentsarago Nov 7, 2024
e14e04e
update version bump configuration
vincentsarago Nov 7, 2024
ec593fd
add stac+xarray notebook
vincentsarago Nov 7, 2024
ba58957
fix format
vincentsarago Nov 7, 2024
0075d1c
Release/v0.19.0 (#1022)
vincentsarago Nov 7, 2024
2805ba8
Update README.md (#1028)
pablo-padua Nov 11, 2024
7a4b688
docs: add multidimensional data via xarray as supported on readme (#1…
ciaransweet Nov 14, 2024
5e0287c
add titiler in map attributions (#1030)
vincentsarago Nov 14, 2024
9efd113
update chart version
vincentsarago Nov 14, 2024
478818c
fix bump-to-version config
vincentsarago Nov 14, 2024
ceccaec
Bump version: 0.19.0 → 0.19.1
vincentsarago Nov 14, 2024
8718fa1
fix typo (#1032)
wakame1367 Nov 18, 2024
c4ff88c
Update README.md
kcarini Nov 22, 2024
a195570
Merge pull request #1036 from developmentseed/documentation-url-update
kcarini Nov 22, 2024
50cdfb4
Bump codecov/codecov-action from 4 to 5 in the all group (#1033)
dependabot[bot] Nov 28, 2024
820de8e
define variable outside endpoint code (#1040)
vincentsarago Nov 28, 2024
801494e
update build backend and others (#1042)
vincentsarago Nov 28, 2024
22e48f0
0.19.1 -> 0.19.2
vincentsarago Nov 28, 2024
4937dfa
update changelog
vincentsarago Dec 11, 2024
fb1bb1e
feature: add layer control to map viewer html template (#1051)
hrodmn Dec 12, 2024
35b3a0b
Include rasterio.show_versions() output in healthz endpoint (#1056)
scottyhq Dec 19, 2024
e54935e
Bump helm/kind-action from 1.10.0 to 1.11.0 in the all group (#1054)
dependabot[bot] Dec 19, 2024
9063d4c
improve query string handling in LowerCaseQueryStringMiddleware using…
pratapvardhan Dec 19, 2024
c905d71
Add python 3.13, remove 3.8 (#1058)
pratapvardhan Dec 19, 2024
0c1c454
update changelog
vincentsarago Dec 19, 2024
ae48c2b
cleanup: migrate bootstrap5, remove unused css, fix indent, reuse bs …
pratapvardhan Dec 19, 2024
c796d5b
style: use generator expression in CacheControlMiddleware.any() (#1049)
pratapvardhan Dec 19, 2024
3bc2465
remove duplicates in changelog
vincentsarago Dec 19, 2024
defc468
switch from black to ruff-format (#1059)
vincentsarago Dec 19, 2024
f978c3e
refactor: add core.utils.bounds_to_geometry to reuse in factories (#1…
pratapvardhan Dec 19, 2024
1846bde
refactor: simplify image format dtype validation (#1046)
pratapvardhan Dec 20, 2024
98a417d
WMTS BoundingBox fix and WMTS template adjustment (#1052)
AndrewAnnex Dec 20, 2024
5158f9d
refactor render dependencies (#1029)
vincentsarago Dec 20, 2024
72a8df9
feat: STAC Render Extension support (#1038)
alekzvik Dec 20, 2024
6fcd564
fix xarray readme typo (#1061)
pratapvardhan Dec 20, 2024
9c4c0e9
add cast, floor and ceil algorithm (#1065)
vincentsarago Jan 7, 2025
0f10988
Bump helm/kind-action from 1.11.0 to 1.12.0 in the all group (#1062)
dependabot[bot] Jan 7, 2025
a6e062f
update algo docs
vincentsarago Jan 7, 2025
a591648
update changelog and add `release info` in Contribution
vincentsarago Jan 7, 2025
b7e1bc4
0.19.2 -> 0.20.0 (#1066)
vincentsarago Jan 7, 2025
ef26bb1
pin zarr package to >2.0,<3.0 (#1069)
vincentsarago Jan 9, 2025
5fab604
create uniq docker image (#1067)
vincentsarago Jan 9, 2025
65c0cdb
[CI] avoid deprecation
vincentsarago Jan 17, 2025
f2afdd2
switch to URN style (#1077)
vincentsarago Jan 24, 2025
4f662d3
Bump helm/chart-testing-action from 2.6.1 to 2.7.0 in the all group (…
dependabot[bot] Jan 24, 2025
2a0267b
0.20.1 -> 0.21.0 (#1078)
vincentsarago Jan 24, 2025
c7c5426
Fix type used for group argument in xarray tests (#1081)
maxrjones Jan 27, 2025
ace7381
change reader to backend in docs reference to MosaicTiler (#1086)
hrodmn Jan 29, 2025
ea71607
Support Zarr-Python 3 (#1082)
maxrjones Jan 29, 2025
9f0c29f
Add slope algorithm (#1088)
tayden Jan 29, 2025
91a1f20
update changelog
vincentsarago Jan 29, 2025
05f39bf
0.21.0 -> 0.21.1
vincentsarago Jan 29, 2025
7e33fd7
Fix docker run example in README.md (#1090)
andrewharvey Jan 30, 2025
9dff048
link to output format from documented format parameters (#1091)
andrewharvey Jan 30, 2025
e1feb41
Add output min and max metadata to slope algorithm (#1089)
tayden Jan 31, 2025
f81435d
add titiler-gunicorn in docker-compose
vincentsarago Feb 16, 2025
28d33a6
edit nginx config
vincentsarago Feb 16, 2025
6d1519e
add point query on right-click to map viewer (#1100)
hrodmn Mar 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 0 additions & 75 deletions .bumpversion.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion .github/data/urls.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PROT=http
HOST=localhost
PORT=8000
PATH=cog/tiles/
PATH=cog/tiles/WebMercatorQuad/
EXT=.png
QUERYSTRING=?url=/data/world.tif
$(PROT)://$(HOST):$(PORT)/$(PATH)0/0/0$(EXT)$(QUERYSTRING)
Expand Down
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
groups:
all:
patterns:
- "*"
42 changes: 36 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ on:

jobs:
benchmark:
if: github.repository == 'developmentseed/titiler'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: install siege
run: |
sudo apt update
sudo apt install --yes siege
sudo apt install --yes siege jq
siege -C

- name: Start containers
run: docker-compose -f "docker-compose.yml" up -d --build benchmark
run: docker compose -f "docker-compose.yml" up -d --build benchmark

# Let's wait a bit to make sure the docker are up
- name: Sleep for 10 seconds
Expand All @@ -30,12 +33,39 @@ jobs:

- name: Run siege (WebMercator TMS)
run: |
siege --file .github/data/urls.txt -b -c 1 -r 100 > /dev/null
siege --file .github/data/urls.txt -b -c 1 -r 100 --json-output 2>&1 | jq -c > results.json
echo "Benchmark Results"
cat results.json | jq
echo "Parse Results"
cat results.json | jq '{"name": "WebMercator elapsed_time", "unit": "s", "value": .elapsed_time}, {"name": "WebMercator data_transferred", "unit": "Megabytes", "value": .data_transferred}, {"name": "WebMercator response_time", "unit": "s", "value": .response_time}, {"name": "WebMercator longest_transaction", "unit": "s", "value": .longest_transaction}' > output.json

- name: Run siege (WGS1984Quad TMS)
run: |
siege --file .github/data/urls_wgs84.txt -b -c 1 -r 100 > /dev/null
siege --file .github/data/urls_wgs84.txt -b -c 1 -r 100 --json-output 2>&1 | jq -c > results.json
echo "Benchmark Results"
cat results.json | jq
echo "Parse Results"
cat results.json | jq '{"name": "WGS1984Quad elapsed_time", "unit": "s", "value": .elapsed_time}, {"name": "WGS1984Quad data_transferred", "unit": "Megabytes", "value": .data_transferred}, {"name": "WGS1984Quad response_time", "unit": "s", "value": .response_time}, {"name": "WGS1984Quad longest_transaction", "unit": "s", "value": .longest_transaction}' >> output.json

- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.yml" down
run: docker compose -f "docker-compose.yml" down

- name: Merge Outputs
run: |
cat output.json | jq '[inputs]' > benchmark.json

- name: Check and Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
name: TiTiler performance Benchmarks
tool: 'customSmallerIsBetter'
output-file-path: benchmark.json
alert-threshold: '130%'
comment-on-alert: true
fail-on-alert: false
# GitHub API token to make a commit comment
github-token: ${{ secrets.GITHUB_TOKEN }}
gh-pages-branch: 'gh-benchmarks'
# Make a commit only if main
auto-push: ${{ github.ref == 'refs/heads/main' }}
18 changes: 9 additions & 9 deletions .github/workflows/check_charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check Version
run: |
current_version=$(grep 'version=' pyproject.toml | cut -f2 -d= | tr -d ' ' | tr -d '"')
current_version=$(grep '^version=' pyproject.toml | cut -f2 -d= | tr -d ' ' | tr -d '"')
app_version=$(grep 'appVersion:' deployment/k8s/charts/Chart.yaml | cut -f2 -d: | tr -d ' ')
if [[ "$current_version" != "$app_version" ]]; then
echo "❌ current version from pyproject.toml ($current_version) and appVersion from Chart.yaml ($app_version) differs";
exit 1;
fi

- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: v3.9.2

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.x'

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
uses: helm/chart-testing-action@v2.7.0

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -56,18 +56,18 @@ jobs:
run: ct lint --chart-dirs deployment/k8s --target-branch ${{ github.event.repository.default_branch }}

- name: Build container
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
if: steps.list-changed.outputs.changed == 'true'
with:
# See https://github.com/developmentseed/titiler/discussions/387
platforms: linux/amd64
context: .
file: dockerfiles/Dockerfile.uvicorn
file: dockerfiles/Dockerfile
push: false
tags: "titiler:dev"

- name: Create kind cluster
uses: helm/kind-action@v1.2.0
uses: helm/kind-action@v1.12.0
if: steps.list-changed.outputs.changed == 'true'

- name: Load container image in kind cluster
Expand Down
Loading