Introduction à la CI/CD

Overview

Introduction à la CI/CD

Ce dépôt Git a pour objectif de servir d'introduction à la CI/CD (Intégration Continue / Déploiement Continue).

Il est composé d'une petite application javascript qui affiche un compteur avec la possibilité de l'incrémenter et le décrémenter. Quelques tests (unitaires et de bout en bout), ainsi qu'un pipeline CI/CD sont implémentés pour s'assurer du fonctionnement du code.

Utilisation de l'application localement

Prérequis :

Lancer l'application

Dans un terminal :

# Cloner ce dépôt localement sur votre ordinateur
git clone https://github.com/this-is-tobi/introduction-cicd.git

# Se rendre dans le dossier précédemment cloné
cd ./introduction-cicd

# Installer les dépendances
npm install

# Lancer l'application
npm start

Tester l'application

Dans un terminal :

# Cloner ce dépôt localement sur votre ordinateur (si pas déjà fait)
git clone https://github.com/this-is-tobi/introduction-cicd.git

# Se rendre dans le dossier précédemment cloné
cd ./introduction-cicd

# Installer les dépendances (si pas déjà fait)
npm install

# Lancer les tests unitaires
npm run test

# Lancer les tests de bout en bout (e2e) avec interface graphique
npm run test:e2e

# Lancer les tests de bout en bout (e2e) sans interface graphique
npm run test:e2e-ci

Utilisation de la CI/CD

Prérequis :

  • Créer un compte GitHub
  • Avoir accès au dépôt en tant que collaborateur

GitHub Actions

La liste des pipelines du dépôt est disponible ici.

Il est possible de déclencher un nouveau pipeline :

  • En le lançant manuellement en cliquant ici puis en sélectionnant run workflow.

  • En modifiant un fichier du dépôt (par exemple la documentation en cliquant ici).

Notes : Chaque modification d'un fichier dans le dépôt déclenchera automatiquement un nouveau pipeline.

You might also like...

:package: Introduction to CSS 3D transforms

Intro to CSS 3D transforms By David DeSandro 3dtransforms.desandro.com Tutorial, examples, and discussion all about CSS 3D transforms. Originally writ

Jan 2, 2023

Free Introduction to SQL eBook

Free Introduction to SQL eBook

This is an open-source introduction to SQL guide that will help you to learn the basics of SQL and start using relational databases for your SysOps, DevOps, and Dev projects. No matter if you are a DevOps/SysOps engineer, developer, or just a Linux enthusiast, you will most likely have to use SQL at some point in your career.

Jan 2, 2023

PLSC 21510/31510: Introduction to Text as Data for Social Science (Spring 2022)

PLSC 21510/31510: Introduction to Text as Data for Social Science Spring 2022 About Social scientists increasingly use large quantities of text-based

Oct 17, 2022

Elections in Russia, Saint Petersburg, 2021: results, turnout, and commission data. With image charts and brief introduction to election fraud methods used.

Elections in Russia, Saint Petersburg, 2021: results, turnout, and commission data. With image charts and brief introduction to election fraud methods used.

2021 Elections in Saint Petersburg, Russia 🇷🇺 Переключиться на русский 📈 Jump to charts 🤖 Telegram bot In Russia, Saint Petersburg from 17th to 19

Dec 26, 2022

Introduction to Metrics, Logs and Traces session companion code.

Introduction to Metrics, Logs and Traces in Grafana This is the companion repository to a series of presentations over the three pillars of observabil

Dec 24, 2022

For some realizations of the title and thinking of the book Introduction to Algorithms, if there is something wrong, please correct me.

Introduction-to-Algorithms Introduce Origin of this library Some implementations of the topics in Introduction to Algorithms and some reflections on t

Jun 9, 2022

Course material for a ~10 hours introductionary course for Julia. Topics: Introduction, Parallel Programming, Data Science

Development We use Franklin.jl to generate the lecture material. To do so, simply activate the environment, use Franklin and run the local server: act

Dec 15, 2022

Introduction to R for Clinical Data for the R/Medicine 2022 Virtual Conference

This is the GitHub repository for the R/Medicine 2022 pre-conference workshop R/Medicine 101: Intro to R for Clinical Data. There is a course website

Sep 23, 2022

Introduction à la CI/CD

Introduction à la CI/CD Ce dépôt Git a pour objectif de servir d'introduction à la CI/CD (Intégration Continue / Déploiement Continue). Il est composé

Sep 8, 2022

About Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University, Fall 2022

Introduction to Machine Learning for the Arts About Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University,

Nov 4, 2022

This repo is accompanying a tutorial that is meant to be a simple introduction to vector search JavaScript engineers who use MongoDB Atlas.

This repo is accompanying a tutorial that is meant to be a simple introduction to vector search JavaScript engineers who use MongoDB Atlas.

hello-vector-search A simple JavaScript program to run from your computer to vectorize the sample_mflix.movies collection: vectorize_collection.js. A

Oct 23, 2022

API for the Baby Food Introduction Application. Keep your baby's food introductions in check with this application and backtrack in case of allergies!

API for the Baby Food Introduction Application. Keep your baby's food introductions in check with this application and backtrack in case of allergies!

Baby food introduction API This API is part of the Baby Food Introduction application, which aims to help technological parents keep track of the food

Nov 25, 2022
Owner
Thibault
⚗️
Thibault
Elections in Russia, Saint Petersburg, 2021: results, turnout, and commission data. With image charts and brief introduction to election fraud methods used.

2021 Elections in Saint Petersburg, Russia ???? Переключиться на русский ?? Jump to charts ?? Telegram bot In Russia, Saint Petersburg from 17th to 19

Vyacheslav 11 Dec 26, 2022
Introduction to Metrics, Logs and Traces session companion code.

Introduction to Metrics, Logs and Traces in Grafana This is the companion repository to a series of presentations over the three pillars of observabil

Grafana Labs 35 Dec 24, 2022
For some realizations of the title and thinking of the book Introduction to Algorithms, if there is something wrong, please correct me.

Introduction-to-Algorithms Introduce Origin of this library Some implementations of the topics in Introduction to Algorithms and some reflections on t

biao 2 Jun 9, 2022
Course material for a ~10 hours introductionary course for Julia. Topics: Introduction, Parallel Programming, Data Science

Development We use Franklin.jl to generate the lecture material. To do so, simply activate the environment, use Franklin and run the local server: act

GregorE 3 Dec 15, 2022
Introduction to R for Clinical Data for the R/Medicine 2022 Virtual Conference

This is the GitHub repository for the R/Medicine 2022 pre-conference workshop R/Medicine 101: Intro to R for Clinical Data. There is a course website

Stephan Kadauke 10 Sep 23, 2022
Introduction à la CI/CD

Introduction à la CI/CD Ce dépôt Git a pour objectif de servir d'introduction à la CI/CD (Intégration Continue / Déploiement Continue). Il est composé

Thibault 3 Sep 8, 2022
About Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University, Fall 2022

Introduction to Machine Learning for the Arts About Introduction to Machine Learning for the Arts, IMA, Tisch School of the Arts, New York University,

ml5 9 Nov 4, 2022
This repo is accompanying a tutorial that is meant to be a simple introduction to vector search JavaScript engineers who use MongoDB Atlas.

hello-vector-search A simple JavaScript program to run from your computer to vectorize the sample_mflix.movies collection: vectorize_collection.js. A

Marcus 7 Oct 23, 2022
API for the Baby Food Introduction Application. Keep your baby's food introductions in check with this application and backtrack in case of allergies!

Baby food introduction API This API is part of the Baby Food Introduction application, which aims to help technological parents keep track of the food

David Alecrim 6 Nov 25, 2022
A better way for new feature introduction and step-by-step users guide for your website and project.

Intro.js v3 Lightweight, user-friendly onboarding tour library Where to get You can obtain your local copy of Intro.js from: 1) This github repository

usablica 21.7k Jan 2, 2023