= ({onNodeClick, handleS
// Démarrez le timer au montage du composant
const intervalId = setInterval(() => {
setElapsedTime((prevElapsedTime) => prevElapsedTime + 0.5);
- settempsData(elapsedTime)
+ settempsData(testTemps)
testTemps += 0.5
cptBug ++
diff --git a/cryptide_project/src/Pages/Lobbies.tsx b/cryptide_project/src/Pages/Lobbies.tsx
index f334eff..355bb61 100644
--- a/cryptide_project/src/Pages/Lobbies.tsx
+++ b/cryptide_project/src/Pages/Lobbies.tsx
@@ -136,25 +136,21 @@ function Lobbies() {
-
{filteredLobbiesToShow.length === 0 ? (
-
-
Il n'y a aucun lobby disponible
-
-
- ) : (
-
- {filteredLobbiesToShow.map((lobby, index) => (
-
- ))}
-
+
+ ) : (
+
+ {filteredLobbiesToShow.map((lobby, index) => (
+
+ ))}
+
)}
);
From ef0325cd93ac4df0854d3896ea2b2423bc66e1f8 Mon Sep 17 00:00:00 2001
From: Thomas CHAZOT
Date: Wed, 13 Dec 2023 10:10:25 +0100
Subject: [PATCH 2/5] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.drone.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/.drone.yml b/.drone.yml
index bb87f6f..16768b7 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -33,6 +33,25 @@ steps:
sonar_token:
from_secret: SECRET_SONAR_LOGIN_CRYPTIDE
+ - name: deploy-container-mysql
+ image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
+ build:
+ context: .
+ environment:
+ IMAGENAME: sqlite3:latest
+ CONTAINERNAME: sqlite3
+ COMMAND: create
+ OVERWRITE: true
+ PRIVATE: true
+ CODEFIRST_CLIENTDRONE_ENV_MYSQL_ROOT_PASSWORD:
+ from_secret: MYSQL_ROOT_PASSWORD
+ CODEFIRST_CLIENTDRONE_ENV_MYSQL_DATABASE:
+ from_secret: MYSQL_DATABASE
+ CODEFIRST_CLIENTDRONE_ENV_MYSQL_USER:
+ from_secret: MYSQL_USER
+ CODEFIRST_CLIENTDRONE_ENV_MYSQL_PASSWORD:
+ from_secret: MYSQL_PASSWORD
+ ADMINS: thomaschazot2,pierreferreira,baptistemarcel
- name: container-web
image: plugins/docker
From 6664096f9be7afd7af3613fb9791ef9dfc33de35 Mon Sep 17 00:00:00 2001
From: Thomas CHAZOT
Date: Wed, 13 Dec 2023 10:12:33 +0100
Subject: [PATCH 3/5] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.drone.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.drone.yml b/.drone.yml
index 16768b7..b8cf92b 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -38,8 +38,8 @@ steps:
build:
context: .
environment:
- IMAGENAME: sqlite3:latest
- CONTAINERNAME: sqlite3
+ IMAGENAME: mysql:latest
+ CONTAINERNAME: mysql
COMMAND: create
OVERWRITE: true
PRIVATE: true
From b6a41d23078bd78d2892623c82716a1376a98cea Mon Sep 17 00:00:00 2001
From: Thomas CHAZOT
Date: Wed, 13 Dec 2023 10:19:07 +0100
Subject: [PATCH 4/5] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.drone.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.drone.yml b/.drone.yml
index b8cf92b..3292dd3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -33,6 +33,7 @@ steps:
sonar_token:
from_secret: SECRET_SONAR_LOGIN_CRYPTIDE
+#
- name: deploy-container-mysql
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
build:
From de143642b25ea6ab8bcd2947d5fec115c7581f45 Mon Sep 17 00:00:00 2001
From: Thomas CHAZOT
Date: Wed, 13 Dec 2023 10:36:28 +0100
Subject: [PATCH 5/5] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.drone.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.drone.yml b/.drone.yml
index 3292dd3..37d3bff 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -43,7 +43,7 @@ steps:
CONTAINERNAME: mysql
COMMAND: create
OVERWRITE: true
- PRIVATE: true
+ PRIVATE: false
CODEFIRST_CLIENTDRONE_ENV_MYSQL_ROOT_PASSWORD:
from_secret: MYSQL_ROOT_PASSWORD
CODEFIRST_CLIENTDRONE_ENV_MYSQL_DATABASE: