We should setup some CI/CD for this project
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
- github-actions, typescript
Línea de trabajo
Comienza revisando las comprobaciones de calidad existentes de GitHub Actions y el PR #16; después, compara las tres opciones de despliegue de Heroku y los permisos de organización o secretos que requieren. Se considerará completado cuando los maintainers hayan seleccionado un enfoque y los despliegues estén automatizados con la configuración necesaria documentada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
CI and Software Quality
@crondinini has done a great job getting us started with software quality checks, introducing a testing approac and linting with tsc and ESLint. These checks run on every PR using GitHub Actions and are reported as part of the PR which is really helpful.
CD
The application is currently deployed to a Heroku account that I setup for this project. The code has so far been deployed manually from a forked repo, to which Heroku has been granted access.
Issues
In the Heroku project setting it is possible to connect to a GitHub repository, after which manual or automatic deployments can be made. To enable this integration Heroku requests permissions at an organisation level.
By requesting this approval, you are asking owners of the Developer-DAO organization to allow this application to access private organization data and modify public organization data.
This feels like it might be too intrusive for integrating to this organisation, so we have not requested permission.
Options
1) Heroku -> GitHub integration
If the integration with Heroku and the permissions that it requests are deemed acceptable by the core maintainers of this organisation, then we could go ahead and setup automatic deployments this way.
2) GitHub Actions - Heroku API
It is possible to setup an Action that deploys to Heroku on every push to a specific branch.
#16 Is a PR that would add such an action.
Additionally we would need to configure some secrets in the project to support connecting to the Heroku API to perform the deployment.
secrets.HEROKU_API_KEY
secrets.HEROKU_APP_NAME
secrets.HEROKU_EMAIL
3) Git Push
It is possible to add a Heroku application as a remote on a git repo and push code to perform a deployment. This would require a process that could checkout the repository and push it to Heroku. I don't know if this is something that can be done in GitHub Actions, but is something I have configured previously in CI systems like Jenkins, Bamboo, etc.
Heroku has a document outlining 6 options for deploying where some other options are discussed. The only other one that might be of interest is dockerizing the application, but I don't know how well this would work with the heroku free plans.
- Lenguaje dominante
- TypeScript
- Estrellas
- 29
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 Developer-DAO/devie-bot
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
Developer-DAO/devie-bot#21 ·
-
enhancement help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Developer-DAO/devie-bot#20 ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Developer-DAO/devie-bot#15 ·
Todos los issues de Developer-DAO/devie-bot
Issues similares
-
Object parameters lose their structure when resources is enabledPosiblemente ocupada @asts-top la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
jaegertracing/jaeger-ui#4618 ·
Los mantenedores suelen responder en 1 día
-
pending close triaging
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
anomalyco/opencode#56765 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:plugins enhancement platform:vscode
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
anthropics/claude-code#103166 ·
Los mantenedores suelen responder en 1 día
-
Types: FlashListProps imports ViewabilityConfig from react-native, removed in RN 0.87+Posiblemente ocupada @efegokdemir la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Shopify/flash-list#2540 ·