Giter Club home page Giter Club logo

ci-cd-project's Introduction

Projet : CI-CD

Lancer le projet

Pour lancer le projet il faut d'abord créer un cluster minikube : minikube start -p ci-cd

Il suffit de lancer la commande suivante sur tout les fichiers de ce repository repository : kubectl apply -f "le fichier".

Il faut aussi lancer argo-cd en suivant ce tutoriel. image

Les services devraient être lancer. Pour y accéder il faut faire cette série de commandes :

  • kubectl get pods
  • kubectl port-forward <order-service-pod> 3002:3002
  • kubectl port-forward <front-end-service> 3000:3000

En allant ensuite sur http://localhost:3000 on peut voir que l'on accède au front et si l'on clique sur get orders, le message "Hello depuis le service Order" apparait bien ce qui signifie que le service front et order communiques.

Github action

A noter qu'il y a un github action qui build et déploie une nouvelle image des services sur docker-hub à chaque push sur une branche de version. Une version latest est mis à jour ainsi qu'un tag est ajouter avec la nouvel version de l'image. image

Les problèmes restants

De cette manière les services front et order communique mais pas le service user. J'ai commencé à mettre en place un service Ingress mais je n'ai pas réussi à l'intégrer.

ci-cd-project's People

Contributors

matteo-grellier avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.