sncf-connect-tech / hesperides

Configuration management tool providing universal text file templating and properties editing through a REST API or a webapp (backend part)
https://voyages-sncf-technologies.github.io/hesperides-gui/
GNU General Public License v3.0
36 stars 28 forks source link

Mise en place de GitHub Actions + Suppression de Travis #868

Closed thomaslhostis closed 3 years ago

Lucas-C commented 3 years ago

Il faudrait en profiter pour supprimer .travis.yml & .travis/

thomaslhostis commented 3 years ago

Il faudrait en profiter pour supprimer .travis.yml & .travis/

C'est prévu :)

J'ai créé un workflow via l'interface GitHub qui a créé cette Pull Request automatiquement. Je la clôture et j'en créerai une quand le code sera prêt :)

Lucas-C commented 3 years ago

Ok !

thomaslhostis commented 3 years ago

@Lucas-C Je rouvre la pull-request en sachant que c'est un travail en cours. Le reste à faire :

Lucas-C commented 3 years ago

@thomaslhostis j'ai fini le taf je crois, les tests d'intégration MongoDB passent et j'ai mis en place un cache pour Maven.

Il faut aussi qu'on réplique la possibilité de déployer une branche comme image sur Docker Hub. C'était auparavant possible avec Travis CI via le paramètre PUBLISH_BRANCH. Désormais j'ai implémenté ça avec workflow_dispatch: https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/manually-running-a-workflow D'après ce commentaire, il va falloir attendre que cette PR soit mergée sur master pour valider que ça fonctionne.

Pourras-tu te charger de mettre à jour notre doc interne (dans le README.md du repo tuyauterie) une fois cette PR mergée stp ?