You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme-fr.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1703,22 +1703,21 @@ En pratique, certains fournisseurs de CI (Exemple: [CircleCI local CLI](https://
1703
1703
1704
1704
<br/><br/>
1705
1705
1706
-
## ⚪ ️5.3 Perform e2e testing over a true production-mirror
1706
+
## ⚪ ️5.3 Effectue des tests e2e sur un vrai mirroir de production
1707
1707
1708
-
:white_check_mark:**Do:**End to end (e2e) testing are the main challenge of every CI pipeline — creating an identical ephemeral production mirror on the fly with all the related cloud services can be tedious and expensive. Finding the best compromise is your game: [Docker-compose](https://serverless.com/)allows crafting isolated dockerized environment with identical containers using a single plain text file but the backing technology (e.g. networking, deployment model) is different from real-world productions. You may combine it with [‘AWS Local’](https://github.com/localstack/localstack)to work with a stub of the real AWS services. If you went[serverless](https://serverless.com/) multiple frameworks like serverless and[AWS SAM](https://docs.aws.amazon.com/lambda/latest/dg/serverless_app.html)allows the local invocation of FaaS code.
1708
+
:white_check_mark:**À faire:**Les tests end to end (E2E) sont le défi principal de chaque pipeline CI - créer un mirroir éphémère de la production à la volée avec toute les services clouds lié peut être fastidieux et couteux. Le jeu est de trouver le meilleur compromis: [Docker-compose](https://serverless.com/)permet de créer des environnement dockerisés isolés avec des containers identiques en utilisant un simple fichier text mais la technologie backend (e.g réseau, modèle de deploiement) est différents de la vrai production. Tu peux l'associer à [‘AWS Local’](https://github.com/localstack/localstack)pour travailler avec un stub des services AWS. Si tu es[serverless](https://serverless.com/), plusieurs frameworks comme serverless et[AWS SAM](https://docs.aws.amazon.com/lambda/latest/dg/serverless_app.html)permettent l'invocation locale de code FaaS.
1709
1709
1710
-
The huge Kubernetes ecosystem is yet to formalize a standard convenient tool for local and CI-mirroring though many new tools are launched frequently. One approach is running a ‘minimized-Kubernetes’ using tools like [Minikube](https://kubernetes.io/docs/setup/minikube/)and[MicroK8s](https://microk8s.io/) which resemble the real thing only come with less overhead. Another approach is testing over a remote ‘real-Kubernetes’, some CI providers (e.g. [Codefresh](https://codefresh.io/)) has native integration with Kubernetes environment and make it easy to run the CI pipeline over the real thing, others allow custom scripting against a remote Kubernetes.
1710
+
Le large écosystème de Kubernetes doit encore formaliser un outils standard pour la mise en mirroir locale et CI, bien que de nombreux nouveaux outils soient lancés fréquemment. Une des approche est de lancer un 'minimized-Kubernetes' en utilisant des outils comme [Minikube](https://kubernetes.io/docs/setup/minikube/)et[MicroK8s](https://microk8s.io/). Une autre approche est de testé avec un 'vrai-Kebernetes' distant, certains fournisseurs CI (e.g. [Codefresh](https://codefresh.io/)) ont une intégration native avec l'environnement Kubernetes et rendent simple le lancement d'une pipeline CI sur le vrai environnement, d'autres permettent d'executer des scripts custom sur le Kubernetes distant.
1711
1711
<br/>
1712
1712
1713
-
❌ **Otherwise:** Using different technologies for production and testing demands maintaining two deployment models and keeps the developers and the ops team separated
1714
-
1713
+
❌ **Autrement:** Utiliser des technologies différentes pour la production et pour les tests demande de maintenir deux modèles de déploiement et créer une séparation entre l'équipe dév et l'équipe ops.
<details><summary>✏ <b>Exemple de code</b></summary>
1718
1717
1719
1718
<br/>
1720
1719
1721
-
### :clap:Example: a CI pipeline that generates Kubernetes cluster on the fly <ahref="https://container-solutions.com/dynamic-environments-kubernetes/"data-href="https://container-solutions.com/dynamic-environments-kubernetes/"class="markup--anchor markup--p-anchor"rel="noopener nofollow"target="_blank">([Credit: Dynamic-environments Kubernetes](https://container-solutions.com/dynamic-environments-kubernetes/))</a>
1720
+
### :clap:Exemple: Une pipeline CI qui génère un cluster Kubernetes à la volée <ahref="https://container-solutions.com/dynamic-environments-kubernetes/"data-href="https://container-solutions.com/dynamic-environments-kubernetes/"class="markup--anchor markup--p-anchor"rel="noopener nofollow"target="_blank">([Credit: Dynamic-environments Kubernetes](https://container-solutions.com/dynamic-environments-kubernetes/))</a>
0 commit comments