mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 18:18:41 +00:00
Signed-off-by: Andrei Kvapil <kvapss@gmail.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a RESTful API for managing `Application` resources, enabling CRUD operations with HelmRelease integration. - Added validation functions for `Application` and `ApplicationSpec`, laying the groundwork for future validation rules. - Implemented configuration management for resources, allowing for structured application and release settings. - **Bug Fixes** - Addressed API rule violations related to naming conventions and missing types in the CozyStack API definitions. - **Tests** - Added comprehensive tests for round-trip functionality and version compatibility within the Apps API server. - **Documentation** - Introduced documentation for the `v1alpha1` API version, including licensing and code generation annotations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
21 lines
716 B
Makefile
21 lines
716 B
Makefile
NAME=cozystack-api
|
|
NAMESPACE=cozy-system
|
|
|
|
include ../../../scripts/common-envs.mk
|
|
include ../../../scripts/package.mk
|
|
|
|
image: image-cozystack-api
|
|
|
|
image-cozystack-api:
|
|
docker buildx build -f images/cozystack-api/Dockerfile ../../.. \
|
|
--provenance false \
|
|
--tag $(REGISTRY)/cozystack-api:$(call settag,$(TAG)) \
|
|
--cache-from type=registry,ref=$(REGISTRY)/cozystack-api:latest \
|
|
--cache-to type=inline \
|
|
--metadata-file images/cozystack-api.json \
|
|
--push=$(PUSH) \
|
|
--load=$(LOAD)
|
|
IMAGE="$(REGISTRY)/cozystack-api:$(call settag,$(TAG))@$$(yq e '."containerimage.digest"' images/cozystack-api.json -o json -r)" \
|
|
yq -i '.cozystackAPI.image = strenv(IMAGE)' values.yaml
|
|
rm -f images/cozystack-api.json
|