SIOS-Technology-Inc / dacrane

"Dacrane" is a Delivery as Code (DaC) tool for deploying cloud infrastructures and applications anywhere.
Apache License 2.0
61 stars 1 forks source link

Fix broken App Service sample code #54

Closed t-ikeda-sti closed 9 months ago

t-ikeda-sti commented 10 months ago

User Story

I would like a fully working sample code.

Acceptance Criteria

https://github.com/SIOS-Technology-Inc/dacrane/blob/main/example/app-services/dacrane.yaml#L31-L36

parameter:
  type: object
  required: ["image", "tag"]
  properties:
    image: 
      type: object
      properties:
        image: { type: string }
        tag: { type: string }
$ dacrane apply local-dokcer local -a '{ image: ${{ instances.api-v1.modules.api-local-image }} }'

It will take time to fix #52, so fix it to work in a workaround first.