generated from github-education-resources/codespaces-project-template-py
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Napptive OAM
- Components
- Traits
- Policies
- Workflows
Cloud
GitHub: https://github.com/oleksis/napptive-playground-py
Codespace: https://oleksis-glowing-engine-xvr447gpxq926jp9-8000.preview.app.github.dev/
Playground: https://fastapi-comp-8000-cbhuvb9jiht2pf0tc4pg.apps.playground.napptive.dev/
Notes
- Tutorial para crear FastAPI webapp
- Crear devcontainer-feature para playground-cli
- Use act feature
act -s PLAYGROUND_PAT="<CI_PAT>" -W .github/workflows/test.yml
Q&A
- Se podria definir los Metadatos de la APP en su YAML definicion
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
-
Crear devcontainer feature for playground-cli
- Se podria usar Devcontainer SPEC: https://containers.dev/implementors/spec/#devcontainerjson
- NAPPTIVE Playground CLI (playground-cli)
-
Usar imagen Base de Debian/Ubuntu
-
Components images from GitHub Container Registry GHCR
- Se puede usar Docker Compose files
-
Actualizar deploy-app.yml workflow Set Output Variable Environments
run: echo "::set-output name=version::$(cat version)"
-
Public catalog information
Links
https://github.com/napptive/cd-example
https://github.com/napptive/cd-example/blob/main/.github/workflows/deploy-app.yml
https://kubevela.net/blog/2022/11/24/napptive-kubevela
Metadata
Metadata
Assignees
Labels
No labels