# test all branches by building the application # for master: build and deploy update/software-site and release archives # unfortunately build has to be run for each deployment since artifacts are too big for upload stages: - test - builddeploy testbuild: stage: test script: - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen - cd de.uniwue.mk.athen - mvn clean install - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen/de.uniwue.mk.athen/releng/de.uniwue.mk.athen.product/target/products deploy-updatesite: stage: builddeploy script: - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen/de.uniwue.mk.athen - mvn clean install - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen/de.uniwue.mk.athen/releng/de.uniwue.mk.athen.update/target/repository - rm -R /var/www/html/nappi/athen-update-site/* - cp -R * /var/www/html/nappi/athen-update-site/ only: - master deploy-release: stage: builddeploy script: - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen/de.uniwue.mk.athen - mvn clean install - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen/de.uniwue.mk.athen/releng/de.uniwue.mk.athen.product/target/products - cp *.zip /var/www/html/nappi/release/ only: - master deploy-softwaresite: stage: builddeploy script: - cd /home/gitlab-runner/builds/8d30a975/0/mak28ma/KallimachosTypesystemUtil - git checkout master - git pull - mvn clean install - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen/de.uniwue.mk.athen - mvn clean install - cd /home/gitlab-runner/builds/8d30a975/0/kallimachos/Athen/de.uniwue.mk.athen/releng/p2-maven-plugin - "mvn p2:site" - cd target/repository - cp -R * /var/www/html/nappi/athen-software-site/ only: - master