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
376 commits
Select commit Hold shift + click to select a range
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
45e060b
fix nginx/proxy configuration
vincentsarago Mar 4, 2025
32941dc
Feature/multiple drop dim (#1111)
vincentsarago Apr 1, 2025
57b44d6
Merge branch 'main' of https://github.com/developmentseed/titiler
vincentsarago Apr 1, 2025
a82e297
fix links when app is behind proxy (#1120)
vincentsarago Apr 4, 2025
df1233c
Feature/refactor middlewares (#1115)
vincentsarago Apr 7, 2025
790fc97
Fix TerrainRGB algorithm and param user-controlled nodata-height (#1116)
jo-chemla Apr 7, 2025
d8e54e5
update changelog
vincentsarago Apr 7, 2025
1208a67
T (#1123)
j08lue Apr 8, 2025
cf37c6b
Issue 1122: Fixed mistake in "Working with STAC" documentation. (#1127)
jose-lpa Apr 9, 2025
78fb6d9
Added document on getting started with TiTiler (#1124)
jaiindimple Apr 9, 2025
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
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
  •  
  •  
  •  
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@v6

- 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@v6
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@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@v2.8.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.13.0
if: steps.list-changed.outputs.changed == 'true'

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