4bd07a4fae
Add modules/<name>/examples/ directories with simple.yaml + complex.yaml (+ mysql.yaml for RDS) for every primitive and module pattern. All 25 example contracts validate against schemas/contract.schema.json. Update the contract schema to allow object/array input values (for env vars). Fix the platform-test schema-validation glob to modules/*/*/examples/*.yaml to match the nested l1/l2 path structure. Update the microservice sample contract note (env objects now permitted by the schema). ---ci--- project: acdl phase: 27 milestone: v1.7 status: execute ---/ci---
13 lines
463 B
YAML
13 lines
463 B
YAML
# ACDL sample consumer contract — microservice module (dev)
|
|
#
|
|
# Reference example for an ECS Fargate microservice deployment.
|
|
# This contract declares only the inputs the composition wires reference
|
|
# (bucket_name, region) plus a representative image/port.
|
|
uses: acdl/pipelines/deploy.yaml@v1.6
|
|
module: microservice
|
|
environment: dev
|
|
inputs:
|
|
bucket_name: acdl-microservice-demo
|
|
region: us-east-1
|
|
image: public.ecr.aws/docker/library/nginx:latest
|
|
port: 80 |