Skip to content

fix: align custom image and build template OpenAPI - #4965

Open
huanghongbo-hhb wants to merge 8 commits into
koderover:mainfrom
huanghongbo-hhb:fix/custom-image-build-template-openapi
Open

fix: align custom image and build template OpenAPI#4965
huanghongbo-hhb wants to merge 8 commits into
koderover:mainfrom
huanghongbo-hhb:fix/custom-image-build-template-openapi

Conversation

@huanghongbo-hhb

@huanghongbo-hhb huanghongbo-hhb commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Align custom image and build template OpenAPI with CLI and MCP usage.

Main Changes

  • Remove image_type and exclude Sonar images from build image operations.
  • Prevent deleting images or Dockerfile templates referenced by build templates.
  • Preserve mutation error contracts and report missing Dockerfile reads as not found.
  • Add Dockerfile template CRUD and read-only build tool options.

Test

  • go test -vet=off ./pkg/microservice/aslan/core/common/repository/mongodb ./pkg/microservice/aslan/core/system/service ./pkg/microservice/aslan/core/templatestore/service ./pkg/microservice/aslan/core/templatestore/handler

Contact

Contact: huanghongbo@koderover.com


This change is Reviewable

Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant