feat: modernize application — source, platform artifacts, CI/CD
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 55s
Build and Push to ACR / Build and Push (push) Successful in 4m34s

- chore: ingest source code

111 files from https://github.com/spring-projects/spring-petclinic
- feat: add platform deployment artifacts
- feat: add CI/CD workflow automation
This commit is contained in:
2026-07-20 14:32:23 +00:00
parent 24fa3550bb
commit e50d219d82
14 changed files with 868 additions and 457 deletions

View File

@@ -1,31 +1,32 @@
apiVersion: score.dev/v1b1
metadata:
name: demo-cta-02
labels:
app: demo-cta-02
containers:
main:
demo-cta-02:
image: .
variables:
DATABASE_URL: "postgresql://${resources.db.username}:${resources.db.password}@${resources.db.host}:${resources.db.port}/${resources.db.name}"
STORAGE_CONTAINER_NAME: "${resources.storage.container_name}"
STORAGE_ACCOUNT_NAME: "${resources.storage.storage_account_name}"
BLOB_ENDPOINT: "${resources.storage.blob_endpoint}"
APP_SECRET_ID: "${resources.secret.secret_id}"
service:
ports:
web:
port: 80
targetPort: 8080
SPRING_DATASOURCE_PASSWORD: ${resources.db.password}
SPRING_DATASOURCE_URL: jdbc:postgresql://${resources.db.host}:${resources.db.port}/${resources.db.name}
SPRING_DATASOURCE_USERNAME: ${resources.db.username}
OTEL_SERVICE_NAME: demo-cta-02
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
OTEL_RESOURCE_ATTRIBUTES: app=demo-cta-02
metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: '8080'
prometheus.io/scrape: 'true'
labels:
app: demo-cta-02
backstage.io/kubernetes-id: demo-cta-02
name: demo-cta-02
resources:
env:
type: environment
db:
type: postgres
storage:
type: azure-blob
secret:
type: azure-keyvault-secret
dns:
type: dns
env:
type: environment
service:
ports:
http:
port: 8080
targetPort: 8080