Commit Graph

6 Commits

Author SHA1 Message Date
Caelan Sayler
1d5c984c14 Fix azure folder uploading and align with s3 implementation 2025-09-24 23:56:49 +01:00
azegallo
095567789a Add folder support to Azure blob storage commands
This change adds a --folder parameter to both 'vpk upload az' and 'vpk download az' commands, allowing users to organize releases in subdirectories within their Azure blob containers.

Key changes:
- Added Folder property to AzureUploadOptions and AzureDownloadOptions
- Modified AzureRepository to prepend folder paths to all blob operations
- Updated upload, download, and delete operations to work with folder paths
- Retention policy (--keepMaxReleases) correctly handles files in folders
- Release index and legacy release files are stored in the specified folder

This enables multiple applications or environments to share a single Azure container by using folders as isolated namespaces. For example:
- vpk upload az --folder "releases/v1" ...
- vpk download az --folder "releases/v1" ...

The implementation is backward compatible - existing deployments without folders continue to work as before.
2025-09-24 23:56:49 +01:00
Caelan Sayler
f16bfe5349 Remove ObjectRepository container concept 2024-03-28 09:44:26 +00:00
Caelan Sayler
2acfab1e8c Re-organise vpk commands to sub folders 2024-03-27 20:50:53 +00:00
Caelan Sayler
d098cc5a7f Refactor S3 and Azure common code into ObjectRepository 2024-03-27 20:39:01 +00:00
Bruce Horn
bfb834b5da Added Azure Blob Container support. 2024-03-27 17:40:02 +00:00