-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration solution evaluation service (#6)
* static analysis works somehow (can't belive it) * . * can now clone repositories * now compilation works * added test execution * test execution uses tests from the official repo (no cheaters) * added cleanup * added tests * added Dockerfile * bash scripts wouldn't work in docker, I am very disappointed in what I had to do to make this thing work... * just moved the scripts folder... * made the same ugly fix for the scripts in unzipService, now everything is in strings * fixed small bugs * added integration test for solution-evaluation-service * test finally works * Modified the creation of the battle and added the unique constraint on repository link of the battle * refactored docker-comopse, added ContainerHandler methods in all integration tests * Removed the repository link for team --------- Co-authored-by: tommi <[email protected]>
- Loading branch information
Showing
54 changed files
with
1,734 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
code/battle-manager/src/main/java/ckb/BattleManager/dto/input/JoinRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
#!/usr/bin/bash | ||
|
||
# $1 -> zip directory name (on home dir) | ||
# $2 -> file path in the zip directory | ||
# $3 -> directory where the zip file was extracted | ||
# $1 -> file path in the zip directory | ||
# $2 -> directory where the zip file was extracted | ||
|
||
if [ $# -ne 3 ]; then | ||
echo "[ERROR] Usage: $0 <zip directory name i.e. random string> <path of the file to reade> <directory where the zip file was extracted>" | ||
if [ $# -ne 2 ]; then | ||
echo "[ERROR] Usage: $0 <path of the file to read> <directory where the zip file was extracted>" | ||
exit 1 | ||
fi | ||
|
||
cd || exit 1 | ||
|
||
cd "$3" || exit 1 | ||
cd "$2" || exit 1 | ||
|
||
cat "$2" | ||
cat "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.