https://github.com/aserg-ufmg/Truck-Factor
Tip revision: 614600ed6b36bb8f452bc6eab7c9b95320f5d7be authored by Guilherme Avelino on 13 March 2024, 18:24:25 UTC
Merge pull request #22 from kevinah95/master
Merge pull request #22 from kevinah95/master
Tip revision: 614600e
compose.yml
services:
linguist:
build: ./.docker/linguist
command: sh -c "ruby repo/gittruckfactor/scripts/linguist.rb repo/$REPO_DIR > ./repo/$REPO_DIR/linguistfiles.log"
env_file: .env
volumes:
- .:/repo
commit_info:
image: bitnami/git
command:
- bin/sh
- -c
- |
echo "Hola"
cd repo/gittruckfactor/scripts
sh ./commit_log_script.sh /repo/$REPO_DIR repo/gittruckfactor/scripts
volumes:
- .:/repo
jar:
image: maven:3.3-jdk-8
command: sh -c "cd /repo && mvn package"
volumes:
- ./gittruckfactor:/repo
- ./maven-repo:/root/.m2
execute:
image: maven:3.3-jdk-8
command:
- bin/sh
- -c
- |
ls
echo "$JAVA_HOME"
java -Dlog4j.configuration=file:///repo/gittruckfactor/target/log4j.xml -jar ./repo/gittruckfactor/target/gittruckfactor-1.0.jar repo/git aserg-ufmg/Truck-Factor
volumes:
- .:/repo