Improve tests of constructs
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- aws, python
- Área
- cloud, infrastructure, testing
Línea de trabajo
Comienza revisando las pruebas de deployment existentes y su escenario actual de deploy-destroy. Compara ese enfoque con la documentación de AWS CDK sobre integ-tests-alpha y con el punto de entrada integ-runner enlazado, y determina después si permiten probar la accesibilidad de aplicaciones desplegadas y configuraciones adicionales de constructs. La tarea estará terminada cuando se haya decidido el alcance de las pruebas y se hayan documentado los casos o cambios del framework.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Now that we finally having deployment tests that work, here are ideas to improve them.
-
For now we're essentially just testing that we're writing proper CDK code that produces cloud formation templates that we can use to deploy-destroy without bugs. We're not testing any of the deployed applications (initially I had planned to include that, i.e ingest some test metadata and test usage of the STAC api, the raster API, etc, but other challenges piled up and I wanted to get something out of the door so I simplified the tests to just a deploy-destroy process). Should we add actual tests of the apps at some point ? Ideally it shouldn't contain too much application logic (these tests should live in the actual app repositories, titiler-pgstac, etc). Maybe simple checks that the APIs are reachable ?
-
We only have one test case that's quite specific : no STAC ingestor, STAC browser or bastion host, the DB is in a public subnet and allows connections from any IP (only barrier is the password), application lambdas are not placed in VPCs. Should we add different configuration cases in the test deployments ?
-
Now that I am writing about this, I am thinking there must be some framework we can reuse for doing real world testing of our constructs, since there are a lot of constructs being developed out there. Just stumbled upon this, not sure if it does what we want. I think it's meant to be use with this CLI tool https://github.com/aws/aws-cdk/tree/main/packages/%40aws-cdk/integ-runner developed by AWS for their own constructs repository, which essentially does what we're doing (try to synth, deploy and destroy templates resulting from constructs) but in a more fancy way.
- Lenguaje dominante
- Python
- Estrellas
- 29
- Forks
- 6
- Merge medio
- 10 h 50 min
- PR fusionados (30 d)
- 5
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de developmentseed/eoapi-cdk
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
developmentseed/eoapi-cdk#313 · 1 comentario · 2 reacciones ·
-
maintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
developmentseed/eoapi-cdk#273 ·
-
Dificultad 2/5 Medio día Aptitud para principiantes 68/100
developmentseed/eoapi-cdk#264 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
developmentseed/eoapi-cdk#308 · 1 comentario ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
developmentseed/eoapi-cdk#296 ·
Todos los issues de developmentseed/eoapi-cdk
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
521xueweihan/HelloGitHub#4150 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
aws-samples/sample-per-model-bedrock#595 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug connectors
Dificultad 1/5 Menos de una hora Aptitud para principiantes 67/100
pyinfra-dev/pyinfra#2036 ·
Los mantenedores suelen responder en 9 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día