This repo contains a selection of App Studio Demos. The Demos consist of the Application and Components needed to bootstrap a demo as well as an "add-on" which adds content which may be missing from app-studio generated gitops repos. As these are fixed in app studio, the add-ons will be removed.
Run ./run.sh
to try it on a app studio cluster ...
Note: As per the infra-deployments examples, you need to set MY_QUAY_USER
and MY_QUAY_TOKEN
to enable push images to your registry.
"t" will trigger all builds on all application components via triggers.
Demos can be added in the subdirectory called demos in a structure like the following.
tree demos/nyc-transit/
demos/nyc-transit/
├── add-ons
│ ├── billing-service
│ │ ├── route.yaml
│ │ └── service.yaml
│ ├── kustomization.yaml
│ └── map-service
│ ├── route.yaml
│ └── service.yaml
├── app
│ └── application.yaml
└── components
├── billing-service.yaml
└── map-service.yaml
app
--- app studio application definition (optional- if missing, one will be created from the directory name, easy peasy)
devfiles
--- externally provided devfiles if original repo doesn't have one (optional)
components
--- component definitions
add-ons
--- extra yaml needed for the app. (optional)