From 2a5164fb8747c855fda864d684c412fc2b035188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Sat, 12 Aug 2023 00:55:55 +0200 Subject: [PATCH] Review steps numbers --- ExerciceChecker/src/app.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ExerciceChecker/src/app.ts b/ExerciceChecker/src/app.ts index e74ded4..b1d8aa7 100644 --- a/ExerciceChecker/src/app.ts +++ b/ExerciceChecker/src/app.ts @@ -35,7 +35,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS let exerciceResultsValidation: ExerciceResultsValidation; /* - //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 1 & 2: + //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 1: - Read the dojo enonce file from the enonce repository - Download immutables files (maybe throw or show an error if the files have been modified ?) */ @@ -56,7 +56,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS /* - //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 3 & 4 & 5: + //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 2: - Get override of docker-compose file (for override the volume by a bind mount to the results folder shared between dind and the host) - Run docker-compose file - Get logs from linked services @@ -99,7 +99,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS } - //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 6: Check content requirements and content size + //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 3: Check content requirements and content size { exerciceResultsValidation = new ExerciceResultsValidation(Config.folders.resultsDojo, Config.folders.resultsExercice); @@ -129,7 +129,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS } - //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 7: Upload and show the results + //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 4: Upload and show the results { try { console.log(Styles.INFO(`${ Icon.INFO } Uploading results to the dojo server`)); @@ -152,7 +152,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS } - //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 8: Exit with container exit code + //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 5: Exit with container exit code { ClientsSharedExerciceHelper.displayExecutionResults(exerciceResultsValidation.exerciceResults!, exerciceDockerCompose.exitCode, Styles); } -- GitLab