Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
486 commits
Select commit Hold shift + click to select a range
0f3e3c7
move getting-started page
vincentsarago Apr 11, 2025
a15dc8f
add xarray DatasetMetadataExtension (#1118)
vincentsarago Apr 22, 2025
f125436
rename /map to /map.html (#1136)
vincentsarago Apr 24, 2025
9c86278
add `min`, `max`, `mean`, `median`, `std` and `var` algorithms (#1138)
vincentsarago Apr 24, 2025
6aeb6d6
update docs (#1140)
vincentsarago Apr 24, 2025
df97771
refactor xarray dimension selection (#1134)
vincentsarago Apr 24, 2025
0a6e9b4
remove defaults examples in openAPI
vincentsarago Apr 24, 2025
dc9209a
remove deprecated dependencies and fixes (#1141)
vincentsarago Apr 25, 2025
6078e54
add operationIds (#1145)
vincentsarago Apr 29, 2025
7b50a43
use operation_prefix in extensions
vincentsarago Apr 29, 2025
391d5d0
add support for OGC common and Tiles (#1146)
vincentsarago Apr 30, 2025
c680c5c
update rio-tiler to allow optional output size (#1149)
vincentsarago May 5, 2025
47c7fb1
Feature/mosaic asset accessor (#1151)
vincentsarago May 6, 2025
592a8ea
fix: use minZoom instead of minNativeZoom (#1150)
hrodmn May 6, 2025
997dd06
update geojson-pydantic (#1152)
vincentsarago May 6, 2025
b9fc206
update check_query_params function
vincentsarago May 6, 2025
1c64a9f
release date
vincentsarago May 6, 2025
5bd9aea
0.21.1 -> 0.22.0
vincentsarago May 6, 2025
e733562
add local xarray example
vincentsarago May 13, 2025
f055d72
[titiler.xarray] update type informations for reader and path_depende…
vincentsarago May 13, 2025
08868e5
0.22.0 -> 0.22.1
vincentsarago May 13, 2025
8a36783
fix description for image format (#1158)
vincentsarago May 16, 2025
cc29d69
remove unused templates
vincentsarago May 27, 2025
3e8d4c6
fix xarray_open_dataset for cloud hosted files (#1164)
vincentsarago Jun 2, 2025
7664578
add titiler-xarray docker
vincentsarago Jun 2, 2025
03f9148
0.22.1 -> 0.22.2
vincentsarago Jun 2, 2025
903c2b3
Add datetime to _cast_to_type
abarciauskas-bgse Jun 9, 2025
cfac52c
Fix linting
abarciauskas-bgse Jun 9, 2025
503c039
Stricter implementation of _cast_to_type
abarciauskas-bgse Jun 10, 2025
704503e
Use explicit type
abarciauskas-bgse Jun 11, 2025
b6c75ae
Remove _cast_to_type
abarciauskas-bgse Jun 11, 2025
80a26c1
fix typo
abarciauskas-bgse Jun 12, 2025
05a0183
update tests
vincentsarago Jun 16, 2025
0fed3c9
update changelog
vincentsarago Jun 16, 2025
c01062f
fix: rename variance algorithm (#1165)
Skaidus Jun 16, 2025
a5f2a3a
Merge pull request #1168 from developmentseed/ab/add-sel-by-datetime-…
abarciauskas-bgse Jun 17, 2025
60249da
add releasing doc (#1174)
vincentsarago Jun 17, 2025
23af601
update aws deployment
vincentsarago Jun 17, 2025
febec1a
Support dark mode in docs (#1176)
davidbrochart Jun 19, 2025
84077b0
add titiler-xarray lambda deployment and remove ecs (#1175)
vincentsarago Jun 20, 2025
4aa57c3
update xarray example app
vincentsarago Jun 22, 2025
5f04b4c
fix docs
vincentsarago Jun 23, 2025
995e833
add custom layers code
vincentsarago Jun 29, 2025
7d2e516
fix rel values for tiling-scheme links (#1185)
vincentsarago Jul 2, 2025
89bc6db
fix
vincentsarago Jul 2, 2025
8510858
0.22.3 -> 0.22.4
vincentsarago Jul 2, 2025
61549f2
add security doc (#1187)
vincentsarago Jul 3, 2025
bb4de6b
add OpenTelemetry instrumentation to titiler.core (#1171)
hrodmn Jul 8, 2025
c6af407
fix: install telemetry extras for titiler.core in titiler.application…
hrodmn Jul 8, 2025
b8cc304
fix: disable telemetry by default (#1195)
hrodmn Jul 14, 2025
db8d93e
[xarray] add preview endpoints (#1198)
vincentsarago Jul 22, 2025
ca34df0
add support for OGC Maps API (#1197)
vincentsarago Jul 22, 2025
ccb5c0e
Some grammar correction and text improvements in the docs (#1201)
willemarcel Aug 6, 2025
e4ca434
fix: azure deployment compatibility v0.22.4 (#1202)
pablo-padua Aug 6, 2025
42b3fab
adjust bounds in layers for wmts (#1208)
vincentsarago Aug 26, 2025
a94f695
remove aws test in CI
vincentsarago Aug 26, 2025
5d8faef
Bump actions/checkout from 4 to 5 in the all group (#1204)
dependabot[bot] Aug 26, 2025
ee5dfe9
update starlette-cramjam requirement
vincentsarago Aug 26, 2025
a616620
switch to official python docker image (#1210)
vincentsarago Aug 26, 2025
3253b18
Release/v0.23.0 (#1211)
vincentsarago Aug 26, 2025
98683e3
add sum algorithm (#1212)
vincentsarago Aug 27, 2025
ebc51e0
0.23.0 -> 0.23.1
vincentsarago Aug 27, 2025
4a510b9
update node version
vincentsarago Aug 28, 2025
b84dbc0
Bump the all group with 3 updates (#1213)
dependabot[bot] Sep 11, 2025
b45fc32
remove python 3.9 support (#1221)
vincentsarago Sep 15, 2025
cb65fed
set jinja2 autoescape for html/xml templates (#1219)
vincentsarago Sep 15, 2025
68d1264
add attribution (#1218)
vincentsarago Sep 15, 2025
80fdcdd
add description in settings (#1226)
vincentsarago Sep 19, 2025
4f7b8dd
refactor and add more templates (#1227)
vincentsarago Sep 20, 2025
42a89ad
move aws deploy in its own workflow (#1229)
vincentsarago Sep 21, 2025
0a21487
remove menus for default templates from factories (#1228)
vincentsarago Sep 21, 2025
3513740
fix name
vincentsarago Sep 21, 2025
7a3b907
fix name2
vincentsarago Sep 21, 2025
dc9af6a
refactor xarray application (#1231)
vincentsarago Sep 23, 2025
962ed05
0.23.1 -> 0.24.0 (#1232)
vincentsarago Sep 23, 2025
c0a5085
patch
vincentsarago Sep 23, 2025
577ff7e
add grayscale and bitonal algorithms (#1234)
vincentsarago Oct 2, 2025
7340642
add transform and crs for tiff outputs (#1238)
vincentsarago Oct 10, 2025
cdd151c
update changelog
vincentsarago Oct 10, 2025
1584af5
0.24.0 -> 0.24.1
vincentsarago Oct 10, 2025
4ecb0cf
update tilejson spec (#1241)
vincentsarago Oct 16, 2025
1676fa4
fix: OpenAPI examples (#1239)
guillemc23 Oct 16, 2025
00023fd
0.24.1 -> 0.24.2
vincentsarago Oct 16, 2025
6b6ed0d
switch to uv (#1244)
vincentsarago Oct 23, 2025
1e4bdd6
fix: add opener_options arg to titiler.xarray.io.Reader (#1248)
hrodmn Oct 23, 2025
e6389e6
Add a upstream workflow with a dispatch trigger; follow SPEC0 (#1245)
maxrjones Oct 24, 2025
dd0e0d1
Bump actions/setup-node from 5 to 6 in the all group (#1243)
dependabot[bot] Oct 24, 2025
b3ccb7b
use pyproject dependency-groups (#1251)
vincentsarago Oct 24, 2025
fff3608
Bump astral-sh/setup-uv from 6 to 7 in the all group (#1252)
dependabot[bot] Oct 27, 2025
899f104
Bump minimum supported python version to 3.11 (#1254)
maxrjones Oct 30, 2025
82fe18e
Bump helm/kind-action from 1.12.0 to 1.13.0 in the all group (#1255)
dependabot[bot] Nov 6, 2025
66f3055
add codecov token
vincentsarago Nov 6, 2025
affb458
switch titiler.xarray to obstore+zarr and add default application (#1…
vincentsarago Nov 6, 2025
9f7d81d
update changelog and docs
vincentsarago Nov 6, 2025
045961f
remove bounds endpoints (#1256)
vincentsarago Nov 7, 2025
ca2c818
create MosaicJSON extension for / and /validate (#1257)
vincentsarago Nov 7, 2025
cf0bf0b
0.24.2 -> 0.25.0 (#1258)
vincentsarago Nov 7, 2025
ca250f8
release date
vincentsarago Nov 7, 2025
1390588
update deployment to use UV
vincentsarago Nov 7, 2025
86e4bf9
fix deploy
vincentsarago Nov 7, 2025
38f884d
Bump astral-sh/setup-uv from 5 to 7 in the all group (#1261)
dependabot[bot] Nov 12, 2025
b7f0e61
Latitude and Longitude should be an option for dim names (#1268)
abarciauskas-bgse Nov 19, 2025
d1920a4
add `/validate` endpoint for md dataset (#1148)
vincentsarago Nov 19, 2025
d46a247
update changelog
vincentsarago Nov 19, 2025
c7eb1b1
do not rename the TIME dimension (#1269)
vincentsarago Nov 19, 2025
4df3d46
avoid usage of mosaic_def document (#1270)
vincentsarago Nov 20, 2025
4fe0ae4
use typing.Annotated (#1271)
vincentsarago Nov 21, 2025
b6cb94a
fix stac-spec links (#1276)
agoddard Nov 25, 2025
93e8c1c
Bump actions/checkout from 5 to 6 in the all group (#1275)
dependabot[bot] Nov 25, 2025
f44bb17
switch to `sel={dim}={method}::{value}` notation to specify selector …
vincentsarago Nov 25, 2025
820da86
0.25.0 -> 0.26.0 (#1277)
vincentsarago Nov 25, 2025
df255c2
update for rio-tiler 8.0 (#1272)
vincentsarago Nov 25, 2025
7d12a74
fix notebook
vincentsarago Nov 25, 2025
e6aeec6
remove cogeo-mosaic (#1279)
vincentsarago Dec 3, 2025
f59b041
update docs
vincentsarago Dec 3, 2025
26a4b45
telemetry docs
vincentsarago Dec 3, 2025
30046a9
use uint8 datatype for automatic output image format (#1281)
vincentsarago Dec 4, 2025
f657908
refactor wmts (#1282)
vincentsarago Dec 4, 2025
994203e
update docs
vincentsarago Dec 4, 2025
2821a9b
add OGC Maps for Mosaics (#1283)
vincentsarago Dec 8, 2025
97343ed
add migration guides
vincentsarago Dec 15, 2025
a5a48c0
add python 3.14 support (#1286)
vincentsarago Dec 15, 2025
ffe2105
update changelog
vincentsarago Dec 16, 2025
5bb78c2
update/fix type hints (#1287)
vincentsarago Dec 16, 2025
8669088
fix
vincentsarago Dec 16, 2025
9290613
publish titiler-xarray docker image
vincentsarago Dec 16, 2025
039ef50
0.26.0 -> 1.0.0 (#1288)
vincentsarago Dec 17, 2025
aff9592
release date
vincentsarago Dec 17, 2025
ee9a1a8
update readme
vincentsarago Dec 17, 2025
e17849a
add tms_limit utility function to avoid code duplication (#1291)
vincentsarago Dec 18, 2025
0f2e663
update lambda deployment to python 3.14
vincentsarago Dec 18, 2025
d488e60
1.0.0 -> 1.0.1
vincentsarago Dec 18, 2025
470e057
fix aws lambda handlers
vincentsarago Dec 18, 2025
ddaf071
add more tms utilities (#1293)
vincentsarago Dec 19, 2025
c35356f
1.0.1 -> 1.0.2
vincentsarago Dec 19, 2025
55e9a80
Enhc: Algo numpy improvements (#1294)
manand881 Jan 5, 2026
3f82bf5
update changelog
vincentsarago Jan 5, 2026
9eae98e
refactor WMTS to accept render metadata (#1296)
vincentsarago Jan 12, 2026
a3a62e0
1.0.2 -> 1.1.0
vincentsarago Jan 12, 2026
96cab00
fix datatype support in viewer
vincentsarago Jan 13, 2026
07aa12a
fix: make sure TMS have ids in WMTS response (#1299)
vincentsarago Jan 22, 2026
1b89edf
1.1.0 -> 1.1.1
vincentsarago Jan 22, 2026
b68398e
pin mangum to 0.19 to avoid 0.20 breaking changes
vincentsarago Jan 24, 2026
1cb5c84
prepare for rio-tiler 9.0
vincentsarago Feb 5, 2026
53e0d07
update ci
vincentsarago Feb 5, 2026
b3fd889
fix
vincentsarago Feb 5, 2026
b16de49
fix
vincentsarago Feb 5, 2026
4f69ae1
Bump protobuf from 6.33.4 to 6.33.5 (#1310)
dependabot[bot] Feb 6, 2026
4613128
Update docs for `uv` to use dependency groups, remove undocumented `-…
mfisher87 Feb 6, 2026
1000457
Add warning of deprecated metapackage to README and docs (#1316)
mfisher87 Feb 6, 2026
b260555
1308 input validation changes (#1313)
captaincoordinates Feb 9, 2026
2615f4c
added titiler with stac user_guide (#1306)
jaiindimple Feb 9, 2026
02a393e
1.1.1 -> 1.2.0
vincentsarago Feb 9, 2026
14cb452
update from main
vincentsarago Feb 9, 2026
ee9a867
fix lock
vincentsarago Feb 10, 2026
cae09c5
update documentation
vincentsarago Feb 10, 2026
b5bad58
update docs
vincentsarago Feb 10, 2026
bbfc0be
make assets option required and add assets=:all: notation (#1319)
vincentsarago Feb 10, 2026
0334d58
add xarray dependency in titiler.application (#1321)
vincentsarago Feb 11, 2026
e5003a2
remove deprecated and fix typing hints
vincentsarago Feb 11, 2026
9772a10
fix for python <3.12
vincentsarago Feb 11, 2026
60ef241
1.2.0 -> 2.0.0a1
vincentsarago Feb 11, 2026
4b95f06
adapt render extension for v2 (#1323)
vincentsarago Feb 12, 2026
5a79479
feat: set values.yaml tag to "" (#1322)
ciaransweet Feb 12, 2026
f660e55
make sure to default to 256px tilesize for map.html (#1325)
vincentsarago Feb 13, 2026
1f95af5
2.0.0a1 -> 2.0.0a2
vincentsarago Feb 13, 2026
765c1ea
update for rio-tiler 9.0.0b1 (#1328)
vincentsarago Feb 22, 2026
fdd1f43
2.0.0a2 -> 2.0.0b1
vincentsarago Feb 22, 2026
7166b2b
fix render expression compat
vincentsarago Feb 22, 2026
046fa40
2.0.0b1 -> 2.0.0b2
vincentsarago Feb 22, 2026
921ac8a
add: tests for STAC asset bands selection
vincentsarago Feb 27, 2026
c772541
chore: align plausible analytics domain
aboydnw Mar 3, 2026
fdb6d8b
chore: align plausible analytics domain (#1330)
aboydnw Mar 3, 2026
6829346
revert: restore titiler plausible domain (#1331)
aboydnw Mar 5, 2026
b6f3ea6
chore: update plausible script snippet
aboydnw Mar 5, 2026
11a7722
fix: restore titiler plausible domain value
aboydnw Mar 5, 2026
5e92d7f
Merge pull request #1332 from developmentseed/chore/plausible-develop…
aboydnw Mar 5, 2026
ffcbcad
update rio-tiler version (#1333)
vincentsarago Mar 6, 2026
7ccd945
fix coverage
vincentsarago Mar 6, 2026
13febaa
fix: reset pixel_selection per feature in statistics FeatureCollectio…
raster-blaster Mar 9, 2026
0b58b8b
update changelog
vincentsarago Mar 9, 2026
a935fd4
Fix: allow : characters in xarray reader's sel parameter (#1336)
hrodmn Mar 9, 2026
9df24cc
Bump the all group across 1 directory with 2 updates (#1329)
dependabot[bot] Mar 9, 2026
75c178c
update changelog
vincentsarago Mar 9, 2026
d1d68c6
Bump the all group with 5 updates (#1337)
dependabot[bot] Mar 10, 2026
02acb7d
Fix/map point query mosaic (#1338)
hrodmn Mar 11, 2026
e090057
2.0.0b2 -> 2.0.0 (#1343)
vincentsarago Mar 16, 2026
a51ab3d
Fix command syntax in AWS Lambda deployment guide (#1346)
hamishcampbell Mar 18, 2026
51e1578
update lock file
vincentsarago Mar 19, 2026
fa16bcb
fix tests
vincentsarago Mar 19, 2026
5a4698f
Bump azure/setup-helm from 4 to 5 in the all group (#1350)
dependabot[bot] Mar 23, 2026
8ca050a
add openapi parameters for tile dependencies in WMTS endpoints (#1349)
vincentsarago Mar 25, 2026
f9dfb3a
fix(algorithm): handle mask type compatibility in contours algorithm …
machov Mar 26, 2026
f822b47
update deployment workflow
vincentsarago Mar 26, 2026
4b5f858
ci: harden github actions workflows against zizmor findings (#1354)
lhoupert Mar 30, 2026
11ee490
ci: setup trusted publishing and update xarray upstream test (#1355)
vincentsarago Mar 30, 2026
319ab8b
ci: add conventional commit check and release please (#1356)
lhoupert Mar 31, 2026
bd50d55
ci: add security audtit and ossf scorecard (#1359)
lhoupert Mar 31, 2026
bd1002e
chore: release main (#1358)
github-actions[bot] Mar 31, 2026
6533a1e
fix(ci): fix docker publish action for helm tag (#1360)
lhoupert Mar 31, 2026
c5a4072
chore: fix mypy and update pre-commits
vincentsarago Apr 21, 2026
f081b6e
chore: fix mypy and update pre-commits (#1369)
vincentsarago Apr 21, 2026
62b3d25
Merge branch 'main' of https://github.com/developmentseed/titiler
vincentsarago Apr 21, 2026
a62f1eb
Bump the all group across 1 directory with 10 updates (#1367)
dependabot[bot] Apr 21, 2026
e959cb4
chore: add dependabot prefix
vincentsarago Apr 27, 2026
214cedc
fix: set CompressionMiddleware minimum_size=1 to prevent h11 crash on…
CrepuscularIRIS Apr 27, 2026
17c1787
chore: add dependabot config
vincentsarago Apr 27, 2026
8e2aab6
chore(deps): bump the all group with 12 updates (#1378)
dependabot[bot] Apr 27, 2026
6dd7ab0
fix: set include-v-in-tag false for helm to match existing tag format
lhoupert Apr 27, 2026
d6a5e31
chore: release main (#1380)
github-actions[bot] Apr 27, 2026
02534bd
update changelog
vincentsarago Apr 28, 2026
ed81bc6
docs(external-links): add ext-links stacapi, cmr, async-titiler (#1381)
jo-chemla Apr 28, 2026
2891aed
ci(deps): bump the all group with 4 updates (#1386)
dependabot[bot] May 5, 2026
f1e30c9
chore(deps): bump pillow from 12.1.1 to 12.2.0 (#1388)
dependabot[bot] May 5, 2026
88a56a1
chore(deps): bump the all group with 11 updates (#1387)
dependabot[bot] May 5, 2026
f22ea02
chore(deps): bump jupyterlab from 4.5.6 to 4.5.7 (#1385)
dependabot[bot] May 5, 2026
9fe6666
chore(deps): bump notebook from 7.5.5 to 7.5.6 (#1384)
dependabot[bot] May 5, 2026
f1faabc
chore(deps): bump jupyter-server from 2.17.0 to 2.18.0 (#1390)
dependabot[bot] May 7, 2026
03da080
chore(deps): bump the all group across 1 directory with 15 updates (#…
dependabot[bot] May 28, 2026
14abc27
ci(deps): bump the all group across 1 directory with 4 updates (#1401)
dependabot[bot] May 28, 2026
4606d1f
ci: update lock file
vincentsarago May 28, 2026
d64ede7
fix: starlette path security issue and update dependencies (#1404)
vincentsarago May 28, 2026
e9a55b2
ci: remove helm chart from release please automation (#1382)
lhoupert May 28, 2026
b5c02f6
chore: release 2.0.3 (#1405)
github-actions[bot] May 28, 2026
8a29668
chore(deps): bump gcsfs from 2026.4.0 to 2026.5.0 in the all group (#…
dependabot[bot] Jun 2, 2026
4376594
ci(deps): bump the all group with 6 updates (#1409)
dependabot[bot] Jun 2, 2026
69ee841
docs: add openapi in docs
vincentsarago Jun 2, 2026
3a30e8e
fix: doc path
vincentsarago Jun 2, 2026
7f8aa50
fix: trigger PyPI publish/deploy by authoring releases with the DS_RE…
lhoupert Jun 2, 2026
58e09df
chore: add cover-scale parameter to control shape coverage in statist…
vincentsarago Jun 3, 2026
07e269e
chore: release 2.0.4 (#1411)
github-actions[bot] Jun 4, 2026
3c87ba8
feat: add min/max zoom query-parameters to tileset endpoint (#1416)
vincentsarago Jun 4, 2026
b0bc459
chore(deps): bump aiohttp from 3.13.5 to 3.14.0 (#1415)
dependabot[bot] Jun 4, 2026
28e3d1b
feat: move from httpx to httpx2 (#1419)
vincentsarago Jun 5, 2026
a38c9fc
fix: update lock file
vincentsarago Jun 5, 2026
4f0a372
docs: fix link
vincentsarago Jun 6, 2026
70f8ace
chore(deps): bump the all group with 5 updates (#1421)
dependabot[bot] Jun 8, 2026
356276c
ci(deps): bump the all group with 3 updates (#1420)
dependabot[bot] Jun 8, 2026
df797d2
feat: add `zooms` query-parameter to WMTS endpoint to overwrite zoom …
vincentsarago Jun 9, 2026
f0c715c
chore(deps): bump the all group with 4 updates (#1428)
dependabot[bot] Jun 15, 2026
e7e47a7
chore(deps): bump tornado from 6.5.5 to 6.5.6 (#1426)
dependabot[bot] Jun 15, 2026
2c082f0
ci(deps): bump the all group with 5 updates (#1427)
dependabot[bot] Jun 15, 2026
f651ac1
feat: add error logging within error handler (#1429)
vincentsarago Jun 15, 2026
a7db752
chore: 2.0.4 -> 2.0.5 (#1434)
vincentsarago Jun 18, 2026
cb94114
chore: update lockfile
vincentsarago Jun 19, 2026
0d69a4a
chore(deps): bump the all group with 2 updates (#1439)
dependabot[bot] Jun 22, 2026
48735ad
fix: only log non-generic 500 errors (#1443)
vincentsarago Jul 2, 2026
16ea77c
ci(deps): bump actions/checkout from 6.0.3 to 7.0.0 in the all group …
dependabot[bot] Jul 2, 2026
ee3a0c2
chore(deps): update lockfile
vincentsarago Jul 2, 2026
3d39428
Merge branch 'main' of https://github.com/developmentseed/titiler
vincentsarago Jul 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Requirements to run notebooks in BinderHub

folium
httpx
httpx2

rasterio
boto3
Expand Down
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
31 changes: 31 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
cooldown:
default-days: 7
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
groups:
all:
patterns:
- "*"
commit-message:
prefix: "ci(deps):"

- package-ecosystem: uv
cooldown:
default-days: 7
directory: "/"
schedule:
interval: weekly
groups:
all:
patterns:
- "*"
commit-message:
prefix: "chore(deps):"
48 changes: 42 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,32 @@ on:
push:
branches:
- main
- dev
tags:
- '*'
pull_request:

jobs:
benchmark:
if: github.repository == 'developmentseed/titiler'
runs-on: ubuntu-latest
permissions:
contents: write # Push benchmark results to gh-benchmarks branch
pull-requests: write # Leave PR comments when benchmark regressions exceed alert threshold

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- 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 +39,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@52576c92bccf6ac60c8223ec7eb2565637cae9ba # 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' }}
33 changes: 20 additions & 13 deletions .github/workflows/check_charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,57 +17,64 @@ on:
jobs:
lint-test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false

- name: Check Version
run: |
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 ' ')
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 ' ' | tr -d '"' | cut -d'#' -f1)
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@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5
with:
version: v3.9.2

- uses: actions/setup-python@v2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
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@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0

- name: Run chart-testing (list-changed)
id: list-changed
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
run: |
changed=$(ct list-changed --chart-dirs deployment/k8s --target-branch ${{ github.event.repository.default_branch }})
changed=$(ct list-changed --chart-dirs deployment/k8s --target-branch "$DEFAULT_BRANCH")
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
echo "changed=true" >> "$GITHUB_OUTPUT"
fi

- name: Run chart-testing (lint)
run: ct lint --chart-dirs deployment/k8s --target-branch ${{ github.event.repository.default_branch }}
env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
run: ct lint --chart-dirs deployment/k8s --target-branch "$DEFAULT_BRANCH"

- name: Build container
uses: docker/build-push-action@v2
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7
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@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
if: steps.list-changed.outputs.changed == 'true'

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