ynput / ayon-aquarium

AYON addon for Aquarium integration
https://ayon.ynput.io/features?addons=aquarium
Apache License 2.0
1 stars 1 forks source link

Contrib/create package versioning #5

Closed tweak-wtf closed 4 months ago

tweak-wtf commented 5 months ago

Description

This Draft changes the way services are built. It follows the approach used in ayon-shotgrid.

Testing Notes

+++ Warning +++ This branch has the changes from develop/production-ready already merged in. That's why there are so many changed files.

The new Makefile will query the current package version and update the respective service pyproject.toml using sed. Currently this is only supported on Linux and would need a port to manage.ps1. docker-compose.yml files have been removed in favor for make dev and make bash commands to quickly test the built images. ASH will create single containers from an image but no stack from a compose file.

It replaces the version.py approach in favor of new package.py approach. This would need to be reviewed by AYON tho. Tried my best to remove any code references to deprecated approach but not sure if there is more code that can be safely removed.

Testing Steps

ymoriaud commented 5 months ago

Thanks ! FYI, I will review it later this week.