Modifié : automate.sh
Modifié : sisr1/README.md
This commit is contained in:
parent
3279125ac8
commit
c678d27175
@ -15,9 +15,11 @@ echo "Quelle branche est concernée ? [1 = main, 2 = tests]"
|
|||||||
read branch
|
read branch
|
||||||
if [ $branch == 1 ] ; then
|
if [ $branch == 1 ] ; then
|
||||||
if [ $answer == 1 ] ; then
|
if [ $answer == 1 ] ; then
|
||||||
|
git checkout main
|
||||||
echo "Récupération des fichiers à jour, branche main..."
|
echo "Récupération des fichiers à jour, branche main..."
|
||||||
git pull origin main
|
git pull origin main
|
||||||
else
|
else
|
||||||
|
git checkout main
|
||||||
echo "Ajout des fichiers au Gitea..."
|
echo "Ajout des fichiers au Gitea..."
|
||||||
sleep 2
|
sleep 2
|
||||||
git add .
|
git add .
|
||||||
@ -30,9 +32,11 @@ if [ $branch == 1 ] ; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $answer == 1 ] ; then
|
if [ $answer == 1 ] ; then
|
||||||
|
git checkout tests
|
||||||
echo "Récupération des fichiers à jour dans la branche tests..."
|
echo "Récupération des fichiers à jour dans la branche tests..."
|
||||||
git pull origin tests
|
git pull origin tests
|
||||||
else
|
else
|
||||||
|
git checkout tests
|
||||||
echo "Ajout des fichiers au Gitea, branche tests..."
|
echo "Ajout des fichiers au Gitea, branche tests..."
|
||||||
sleep 2
|
sleep 2
|
||||||
git add .
|
git add .
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
Chaque dossier porte le numéro du TP associé.
|
Chaque dossier porte le numéro du TP associé.
|
||||||
|
|
||||||
01: Mise en oeuvre d'une infrastructure DHCP et routage.
|
01: Mise en oeuvre d'une infrastructure DHCP et routage.
|
||||||
|
|
||||||
02: Paramétrage d'un serveur DNS.
|
02: Paramétrage d'un serveur DNS.
|
||||||
|
|
||||||
03: Création d'un réseau privé à administrer.
|
03: Création d'un réseau privé à administrer.
|
||||||
|
|
||||||
04: Administration d'un réseau privé.
|
04: Administration d'un réseau privé.
|
||||||
|
|
||||||
05: Création d'un partage de fichiers Samba.
|
05: Création d'un partage de fichiers Samba.
|
||||||
|
|
||||||
06: Paramétrage d'un serveur proxy.
|
06: Paramétrage d'un serveur proxy.
|
||||||
|
|
||||||
07: Firewall avec netfilter et nftables.
|
07: Firewall avec netfilter et nftables.
|
||||||
|
|
||||||
08: Modification d'une infrastructure.
|
08: Modification d'une infrastructure.
|
Loading…
x
Reference in New Issue
Block a user