Commit Graph

320 Commits

Author SHA1 Message Date
eslopfer 9025836ce8 test(joker-num): add provisional tests 2023-01-18 10:44:03 +00:00
eslopfer 1cdf6cb27c fix(joker-num): remove unnecessary flag 2023-01-18 10:44:03 +00:00
eslopfer ed02670e16 feat(joker-num): add solution to exercise 2023-01-18 10:44:03 +00:00
miguel 107d7ac4ad fix(in-back-ground): add check for the nohup command 2023-01-17 18:34:15 +00:00
miguel 9d0f9d4506 fix(): fixing the test
adding info in the readme
2023-01-17 18:34:15 +00:00
miguel da685d8b85 fix(in-back-ground): fixing the test ang improving subject 2023-01-17 18:34:15 +00:00
miguel a97ca4ed40 fix(in-back-ground): remove echos 2023-01-17 18:34:15 +00:00
miguel ab2fea635f fix(in-back-ground):fixing test and adding info to the readme 2023-01-17 18:34:15 +00:00
miguel f66634c212 feat(in-back-ground): add subject, test and solution for the exercise 2023-01-17 18:34:15 +00:00
nprimo 9bdb8f1217 feat(remake): clarify exercise
- specify what happens when directory passed as argument does not
exist
- add hints in subjects
- update solution and tests accordingly
2023-01-17 18:24:34 +00:00
nprimo 48993bb471 docs(remake): improve subject
- run prettier to fix formatting
- make example generic with `user`
- improve clarity on exercise objective
- remove created files after tests are run to allow consecutive
tests executions without errors
2023-01-17 18:24:34 +00:00
nprimo f1a7dd0d2b feat(remake): add subject, tests and solution 2023-01-17 18:24:34 +00:00
miguel 5f517ea08f fix(left): fixing test 2023-01-17 18:17:11 +00:00
miguel 8995643d53 feat(left): add subject, test and solution for the exercise 2023-01-17 18:17:11 +00:00
miguel 6ce50f2bde feat(burial): add subject, test and solution for the exercise 2023-01-17 16:37:00 +00:00
miguel 74c7460405 fix(hard-conditions): creating the files in the test and removing unnecessary folder
adding details in the readme
2023-01-17 16:36:12 +00:00
miguel 9eb5d849d5 fix(hard-conditions): adding test case for nos executable 2023-01-17 16:36:12 +00:00
miguel 737ec808b1 feat(hard-conditions): add subject, test and solution for the exercise 2023-01-17 16:36:12 +00:00
Michele Sessa ed054578b9 docs(input-redirection): fix naming inconsistencies 2023-01-17 14:04:23 +00:00
Michele Sessa 0549bcf421 feat(input-redirection): add new exercise to scripting piscine 2023-01-17 14:04:23 +00:00
miguel 5ffb2348f5 fix(right) fixing the test, readme and solution 2023-01-17 13:36:22 +00:00
miguel 5245101b91 feat(right): add subject, test and solution for the exercise 2023-01-17 13:36:22 +00:00
miguel 15a88f5137 feat(in-the-dark): add subject, test and solution for the exercise 2023-01-16 18:34:18 +00:00
miguel 5f8365c19c fix(easy-conditions): Fixing exercise due to misunderstanding of the objective 2023-01-16 18:33:08 +00:00
miguel 9becc5396a feat(easy-conditions): add subject, test and solution for the exercise 2023-01-16 18:33:08 +00:00
Zouhair AMAZZAL 2b77c87031
DEV-3919-my-ls (#1660)
* DEV-3919 feat(my-ls) add subject and tests for my-ls project

* DEV-3919 fix(custom-ls) change the name of the exercise from my-ls to custom-ls

* DEV-3919 docs(custom-ls) fix grammar errors

* DEV-3919 test(custom-ls) fix unalias in tests

* DEV-3919 docs(custom-ls) add permanently alias teaching

* test(custom-ls): fix test not able to run aliases

Co-authored-by: Zouhair AMAZZAL <zouhair.amazzal@01talent.com>
Co-authored-by: Michele Sessa <mikysett@gmail.com>
2023-01-16 11:56:59 +00:00
nprimo ce6ef6d186 refactor(array-selector): refactor test
- make challenge a variadic function
- simplify test using challenge for all the test cases
2023-01-13 17:26:17 +00:00
nprimo c231898bca fix(array-selector): remove exit command from solution 2023-01-13 17:26:17 +00:00
nprimo c9f0245673 fix(array-selector): add execute mode to test script 2023-01-13 17:26:17 +00:00
nprimo 595c044136 feat(array-selector): add test 2023-01-13 17:26:17 +00:00
nprimo 9038c5b3dd feat(array-selector): add solution 2023-01-13 17:26:17 +00:00
miguel 04e90aa8be fix(comparator):fixing the test
improving error message in the solution
add readme info about error message
2023-01-13 15:21:24 +00:00
miguel fb239fd7d2 fix(comparator):fixing test and adding info to the readme 2023-01-13 15:21:24 +00:00
miguel d07a43ebe8 feat(comparator): add subject, test and solution for the exercise 2023-01-13 15:21:24 +00:00
miguel eb6e281da0 feat(file-details): add subject, test and solution for the exercise 2023-01-13 13:34:04 +00:00
nprimo ad0ea7ea91 fix(auto-exec-bin): fix test bug
- replace bash command with source to update current bash PATH
and not a sub-bash one
- replace binary with simple bash script - image has no access to
internet
- update subject accordingly
2023-01-13 09:17:04 +00:00
Zouhair AMAZZAL 60deacdbb2 DEV-3918 test(auto-exec-bin) fix the test, uncorrect condition to check if bin already exists 2023-01-13 09:17:04 +00:00
Zouhair AMAZZAL d1295b02a8 DEV-3918 feat(auto-exec-bin) add new subject and tests for auto-exec-bin exercise 2023-01-13 09:17:04 +00:00
Michele Sessa 3d0e7cb960 test(bin-status): fix tests always returning success 2023-01-12 16:59:34 +00:00
Zouhair AMAZZAL 95509fae9a DEV-3916 feat(bin-status) add subject and tests for bin-status exercise 2023-01-12 16:59:34 +00:00
miguel ab5b82d1bd docs(greatest-of-all): correct typos 2023-01-12 16:45:09 +00:00
miguel 447de57f08 fix(): correcting typos in readme
fixing the test work with a range of numbers and add error checking
fixing the solution according to the test
2023-01-12 16:45:09 +00:00
miguel 962b6217b4 feat(greatest-of-all): add subject, test and solution for the exercise 2023-01-12 16:45:09 +00:00
Michele Sessa ebc79e5a13 chore(check-user): make the solution executable 2023-01-11 18:01:28 +00:00
Michele Sessa fd80d337d2 style(check-user): apply autoformat to tests 2023-01-11 18:01:28 +00:00
Michele Sessa b7197ba49c feat(check-user): add new exercise for scripting piscine 2023-01-11 18:01:28 +00:00
eslopfer 8bf61c6a45 refactor(division): modify solution to avoid having to exit 2023-01-09 16:21:06 +00:00
eslopfer 596e6bc683 fix(division): refactor to exit with 0 2023-01-09 16:21:06 +00:00
eslopfer 82751669c2 test(division: add check for test command) 2023-01-09 16:21:06 +00:00
eslopfer cf304b85d4 fix(division): remove wrong file pushed 2023-01-09 16:21:06 +00:00
eslopfer 08c8ce153b test(division): add condition to work with one argument 2023-01-09 16:21:06 +00:00
eslopfer 981ebfd3d4 test(division): add test case 2023-01-09 16:21:06 +00:00
eslopfer 46ab89401a fix(division): output numbers in the short version 2023-01-09 16:21:06 +00:00
eslopfer 820ae81915 fix(division): make file executable 2023-01-09 16:21:06 +00:00
eslopfer 238aee7edc fix(division): make file executable 2023-01-09 16:21:06 +00:00
eslopfer d50afde56a test(division): fix tests 2023-01-09 16:21:06 +00:00
eslopfer 4575754057 test(division): add tests for exercise 2023-01-09 16:21:06 +00:00
eslopfer 52e77c4e57 feat(division): add solution for exercise 2023-01-09 16:21:06 +00:00
eslopfer 19abec613b fix(plus): change permissions of file 2023-01-05 11:04:28 +00:00
eslopfer 37a411afa9 fix(plus_test): change permissions of file 2023-01-05 11:04:28 +00:00
eslopfer f848501332 fix(plus): wrong shebang 2023-01-05 11:04:28 +00:00
eslopfer 8316ebd171 test(plus): add tests 2023-01-05 11:04:28 +00:00
eslopfer cf4815901f feat(plus): add solution 2023-01-05 11:04:28 +00:00
Zouhair AMAZZAL 75d318f5d9 DEV-3920 fix(auto-jobs) fix solution for task3 2022-12-29 10:50:43 +01:00
Zouhair AMAZZAL 944e43772c DEV-3920 feat(auto-jobs) add subject and tests for auto-jobs exercise 2022-12-29 10:50:43 +01:00
miguel df1b00c454 fix(easy-perms): fix test to check only the perms 2022-12-27 10:03:52 +00:00
miguel bbee4a7248 fix(easy-perm): fixing the test 2022-12-27 10:03:52 +00:00
miguel 88eee63db2 feat(easy-perms): add subject, test and solution for the exercise 2022-12-27 10:03:52 +00:00
miguel 526f60501c fix(hard-perms): fix test to check only the perms 2022-12-27 10:03:14 +00:00
miguel 1d78af2f7a fix(hard-perm): fixing the test 2022-12-27 10:03:14 +00:00
miguel 9b975fdf0f feat(hard-perms): add subject, test and solution for the exercise 2022-12-27 10:03:14 +00:00
miguel 9a75202406 feat(set-internal-vars): add subject, test and solution for the exercise 2022-12-27 10:01:31 +00:00
miguel 497b331f9d docs(set-env-vars): add hints, fixx the test to block echo and fix solution 2022-12-27 09:45:22 +00:00
miguel 13435eb8f1 docs(set-env-vars): add hints, fixx the test to block echo and fix solution 2022-12-27 09:45:22 +00:00
miguel b2c81baa39 feat(set-env-vars): add subject, test and solution for the exercise 2022-12-27 09:45:22 +00:00
miguel 2e6747da72 feat(env-format): add subject, test and solution for the exercise 2022-12-19 10:00:06 +00:00
miguel fc197de5fd docs(master-the-ls): fix readme and change to script instead of a file 2022-12-19 09:59:23 +00:00
miguel 3112b89373 fix(master-the-ls): fixing readme and test 2022-12-19 09:59:23 +00:00
miguel 9dbebae756 feat(master-the-ls): add subject, test and solution for the exercise master-the-ls 2022-12-19 09:59:23 +00:00
miguel 7849dc44fb feat(count-files): add subject, test and solution for the exercise count-files 2022-12-16 09:59:21 +00:00
miguel 18a21bfe6d docs(change struct): fixing test and removing folders 2022-12-16 09:59:04 +00:00
miguel fcf7432c49 Adding empty folders 2022-12-16 09:59:04 +00:00
miguel ae0847fbcd feat(change-struct): add subject, test and solution for new a exercise 2022-12-16 09:59:04 +00:00
miguel d8e7a606f0 docs(file-struct): fixing test and removing folders 2022-12-16 09:58:47 +00:00
miguel cc2dd1c36e Adding empty folders 2022-12-16 09:58:47 +00:00
miguel e3d8cd9516 feat(file-struct): add subject, test and solution for new a exercise 2022-12-16 09:58:47 +00:00
miguel 3410c9ee5a docs(strange-files): moving the subject to the folder devops
fix readme and add more files
2022-12-16 09:52:21 +00:00
miguel e06b028697 feat(strange-files): add subject, test and solution for new a exercise 2022-12-16 09:52:21 +00:00
Zouhair AMAZZAL 23d56da262 fix(hello-devops) fix subject and tests name 2022-12-14 10:48:40 +01:00
Zouhair AMAZZAL 6cf269c441 DEV-3896 feat(hello_devops) add subject and tests for into exercise to teach student how to push in gitea repo 2022-12-14 10:48:40 +01:00
miguel 4b02c825b7 feat(skip-lines): add subject, test and solution for the exercise skip-line 2022-12-13 09:42:05 +00:00
miguel 5d6875d0a8 feat(file-researcher): add subject, test and solution for the exercise file-researcher 2022-12-13 09:41:49 +00:00
Zouhair AMAZZAL abc65b2eb2 test(find-files): check if the submitted file is correct and check if echo is used 2022-12-09 11:32:46 +01:00
Zouhair AMAZZAL cabe2e248f feat(find-files): add subject, test and solution for new a exercise 2022-12-09 11:32:46 +01:00
Zouhair AMAZZAL 0dea7a8945 test(json-researcher): check echo is used 2022-12-09 10:07:23 +01:00
Zouhair AMAZZAL 3531d1b12f test(json-researcher): check if the submitted file name is correct 2022-12-09 10:07:23 +01:00
Zouhair AMAZZAL c2e80f1033 test(json-researcher): add shell type exec && fix permission to scripts 2022-12-09 10:07:23 +01:00
Zouhair AMAZZAL b1762c3aac feat(json-researcher): add subject, test and solution for new a exercise 2022-12-09 10:07:23 +01:00
Zouhair AMAZZAL 6467fd10fa test(head-and-tail): check if the submitted file is correct and check if echo is used 2022-12-09 10:05:05 +01:00
Zouhair AMAZZAL abf236eac3 test(head-and-tail): add shell type exec && fix permission to scripts 2022-12-09 10:05:05 +01:00
Zouhair AMAZZAL cbdc5c4a6f feat(head-and-tail): add subject, test and solution for new a exercise 2022-12-09 10:05:05 +01:00
Zouhair AMAZZAL 6712ad9dea test(find-files-extension): check if the submitted file is correct and check if echo is used 2022-12-09 10:04:32 +01:00
Zouhair AMAZZAL 1f284b5c43 feat(find-files-extention): add subject, test and solution for new a exercise 2022-12-09 10:04:32 +01:00
Harry 139270b565
fix(deploy): server directory path 2022-12-05 11:34:41 +00:00
Harry 406fe7f6b8
fix(preseed): use single ssh key 2022-11-09 15:18:59 +00:00
Harry Vasanth 43129a46ca fix(configure): add check for valid FQDN 2022-10-25 16:19:24 +01:00
Harry Vasanth 38666ae0c6 fix(configure): add more options to accomodate various prod/pre-prod environments 2022-10-25 16:19:24 +01:00
Harry Vasanth 8d9f1d2e89 fix(configure): add interactive options 2022-10-25 16:19:24 +01:00
Harry Vasanth 9cbae89ef5 fix(configure): add --deploy option and additional features 2022-10-25 16:19:24 +01:00
Harry Vasanth f4ce8ea0b8 fix(configure): add packages, perform check and enable passing arguments 2022-10-25 16:19:24 +01:00
Christopher Fremond 78e4da15db
Update preseed.cfg
Updating the authorized keys for the preseed to reflect current company policies
2022-09-15 17:49:58 +01:00
miguel f2f2d2e06c test(to-git-or-not-to-git):Adding the exit status to the test 2022-08-23 11:52:51 +01:00
miguel b30b47227e Fix(removing unnecessary code) 2022-08-23 11:52:51 +01:00
miguel 072f1b6b3c Fix(removing echos from the solution) 2022-08-23 11:52:51 +01:00
miguel a140e10bd7 Fix (to-git-or-not-to-git test, empty solutions)
Fix (change the solution of mastertheLS to atime instead of ctime)
Docs (change the request of the subject cl-camp1 to atime instead of ctime)
Docs (ascii-art small typo in the banner and the fs readme)
Docs (flags readme adding some information about the display message)
Docs (printStr adding instruction and fixing the output)
Docs (netfix project, adding explanation about the version of the project)
2022-08-23 11:52:51 +01:00
Harry a25112fabb fix(script): update debian configuration script 2022-08-09 13:18:18 +01:00
Harry 0dced086f3 fix(script): update debian configuration script 2022-08-09 13:14:25 +01:00
Christopher Fremond e221c91bd3
Update to-git-or-not-to-git_test.sh
Fixing the file empty hack. Howeve this does not fix the whole test yet. The curl still returs a \n.
2022-04-04 02:17:04 +01:00
Christopher Fremond 98ffba8694
Update to-git-or-not-to-git.sh 2022-03-29 16:44:45 +01:00
Christopher Fremond f9cfb8853f
Update to-git-or-not-to-git.sh 2022-03-29 16:43:39 +01:00
Christopher Fremond 401ccc4705
Update to-git-or-not-to-git.sh
testing
2022-03-29 16:41:59 +01:00
Christopher Fremond d22a97e513
Update to-git-or-not-to-git.sh 2022-03-29 16:36:29 +01:00
Christopher Fremond 21bbb5cb40
Update to-git-or-not-to-git_test.sh 2022-03-29 16:33:27 +01:00
Christopher Fremond ff0bcfbf7a
Update to-git-or-not-to-git_test.sh 2022-03-29 16:29:54 +01:00
Christopher Fremond 0a23d10025
Update to-git-or-not-to-git_test.sh
failing the exercise when the file exist but is empty
2022-03-29 16:22:58 +01:00
miguel 3969d79c84 issues on public 2022-03-25 14:08:32 +00:00
Christopher Fremond 32125d89e5
Update basic-install-and-configure.sh
updated the version of node
2022-02-01 21:36:33 +00:00
Christopher Fremond 569c5f792b
Create basic-install-and-configure.sh
Tentative to a basic script install for students doing a go piscine on ubuntu.
2022-01-30 21:33:19 +00:00
Chris 7d96fb89fd simplification of subject teacher, removal of loop and focus on environment variables 2021-12-09 13:51:17 +00:00
xpetit 2e3a5a5974
Use the right formatting tool 2021-08-16 11:34:41 +02:00
xpetit e838e4891c
Add gofumpt package 2021-08-16 11:27:49 +02:00
xpetit dd0b515691
Make it work with non-executable scripts 2021-06-30 19:26:59 +02:00
xpetit d7e724d52e
Make it work with non-executable scripts 2021-06-30 19:00:46 +02:00
xpetit 46be38140e
Fix subject 2021-06-30 18:56:49 +02:00
xpetit 2bc751a2cc
Debug 2021-06-30 18:50:40 +02:00
xpetit f5d3ef5698
Make it work with non-executable scripts 2021-06-30 18:46:31 +02:00
xpetit af2929ad8a
Make it work with non-executable scripts 2021-06-30 18:04:16 +02:00
xpetit 020433029d
Add rights to use the format tool 2021-06-19 07:18:01 +02:00
xpetit e9d4837d42
Fix bug & simplify 2021-06-17 22:38:29 +02:00
xpetit 35705cc03a
action => description 2021-06-17 19:24:58 +02:00
xpetit f515ec27f8
Simplify 2021-06-17 16:44:59 +02:00
xpetit 722845a25a
Remove useless space trimming 2021-06-17 16:39:20 +02:00
xpetit 01a4dbfc96
Accept any input for the first pause 2021-06-17 16:37:33 +02:00
xpetit 3b8a363263
Fix bug 2021-06-17 16:21:33 +02:00
xpetit cb3bb80eef
Fix mistake #2 2021-06-17 14:57:15 +02:00
xpetit 540be8fd06
Fix mistake 2021-06-17 14:31:00 +02:00
xpetit c93a23199c
Remove packages that break installation 2021-06-17 14:12:26 +02:00
xpetit 4704219c54
Add format tool 2021-06-17 12:50:51 +02:00
xpetit 5c534dc386
Give back to the user the right to manage network connections 2021-06-07 17:17:37 +02:00
xpetit be10aa0992
Remove useless lines 2021-06-02 16:56:15 +02:00