diff --git a/ExerciceChecker/src/app.ts b/ExerciceChecker/src/app.ts index e74ded4d260e7759defe4b9d54aa76d56efc05c5..b1d8aa710a78caf58e323db71cea20b417472b58 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); }