Add integration testing infrastructure with Podman Compose
- Add docker/podman-compose.yml for Immich server (no ML) - Add test-data/sample-photos/ with 3 public domain images - Add scripts/start-immich.sh for container startup + admin/API key creation - Add scripts/seed-data.sh for uploading test photos and creating albums - Add scripts/stop-immich.sh for cleanup with volume destruction - Add scripts/run-example.sh wrapper (fixed env var export) - Update examples to use IMMICH_URL and IMMICH_API_KEY env vars - Add .github/workflows/integration-test.yml for CI - Update assets.list() to use /search/metadata endpoint - Update AGENTS.md with example running instructions - Add 5 new examples: search_metadata, album_management, timeline_browsing, delete_assets, server_info
This commit is contained in:
0
test-data/.gitkeep
Normal file
0
test-data/.gitkeep
Normal file
37
test-data/sample-photos/README.md
Normal file
37
test-data/sample-photos/README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# Sample Photos
|
||||
|
||||
This directory contains sample photos for testing the Immich SDK.
|
||||
|
||||
## Photos
|
||||
|
||||
### photo1.jpg
|
||||
- **Source**: Unsplash
|
||||
- **Photographer**: [Yannick Pulver](https://unsplash.com/@yanu)
|
||||
- **URL**: https://unsplash.com/photos/photo-1506905925346-21bda4d32df4
|
||||
- **License**: Unsplash License (Free to use)
|
||||
- **Description**: Swiss Alps mountain landscape
|
||||
|
||||
### photo2.jpg
|
||||
- **Source**: Unsplash
|
||||
- **Photographer**: [Manja Vitolic](https://unsplash.com/@madhatterzone)
|
||||
- **URL**: https://unsplash.com/photos/photo-1514888286974-6c03e2ca1dba
|
||||
- **License**: Unsplash License (Free to use)
|
||||
- **Description**: Cat portrait
|
||||
|
||||
### photo3.jpg
|
||||
- **Source**: Unsplash
|
||||
- **Photographer**: [Pedro Lastra](https://unsplash.com/@peterlaster)
|
||||
- **URL**: https://unsplash.com/photos/photo-1477959858617-67f85cf4f1df
|
||||
- **License**: Unsplash License (Free to use)
|
||||
- **Description**: Chicago cityscape aerial view
|
||||
|
||||
## License Information
|
||||
|
||||
All photos sourced from Unsplash are available under the [Unsplash License](https://unsplash.com/license):
|
||||
- Free to use for commercial and non-commercial purposes
|
||||
- No permission needed (though attribution is appreciated)
|
||||
- Cannot be sold without significant modification
|
||||
|
||||
## Usage
|
||||
|
||||
These photos are intended for development and testing purposes only.
|
||||
BIN
test-data/sample-photos/photo1.jpg
Normal file
BIN
test-data/sample-photos/photo1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
BIN
test-data/sample-photos/photo2.jpg
Normal file
BIN
test-data/sample-photos/photo2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
BIN
test-data/sample-photos/photo3.jpg
Normal file
BIN
test-data/sample-photos/photo3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
Reference in New Issue
Block a user