Skip to content
Snippets Groups Projects
Commit 2a5164fb authored by michael.minelli's avatar michael.minelli
Browse files

Review steps numbers

parent 6bd72c6e
No related branches found
No related tags found
No related merge requests found
Pipeline #25787 passed
...@@ -35,7 +35,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS ...@@ -35,7 +35,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS
let exerciceResultsValidation: ExerciceResultsValidation; let exerciceResultsValidation: ExerciceResultsValidation;
/* /*
//////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 1 & 2: //////////////////////////////////////////////////////////////////////////////////////////////////////////// Step 1:
- Read the dojo enonce file from the enonce repository - Read the dojo enonce file from the enonce repository
- Download immutables files (maybe throw or show an error if the files have been modified ?) - 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 ...@@ -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) - 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 - Run docker-compose file
- Get logs from linked services - Get logs from linked services
...@@ -99,7 +99,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS ...@@ -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); exerciceResultsValidation = new ExerciceResultsValidation(Config.folders.resultsDojo, Config.folders.resultsExercice);
...@@ -129,7 +129,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS ...@@ -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 { try {
console.log(Styles.INFO(`${ Icon.INFO } Uploading results to the dojo server`)); console.log(Styles.INFO(`${ Icon.INFO } Uploading results to the dojo server`));
...@@ -152,7 +152,7 @@ import ClientsSharedExerciceHelper from './sharedByClients/helpers/Dojo/ClientsS ...@@ -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); ClientsSharedExerciceHelper.displayExecutionResults(exerciceResultsValidation.exerciceResults!, exerciceDockerCompose.exitCode, Styles);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment