Commit 44aaf5ca authored by Alexander David Hellwig's avatar Alexander David Hellwig

Update .gitlab-ci.yml

parent 70315ca1
Pipeline #106267 passed with stages
in 20 minutes and 54 seconds
stages:
- windows
- linux
- integration
masterJobLinux:
stage: linux
......@@ -22,8 +23,30 @@ masterJobWindows:
BranchJobLinux:
stage: linux
image: maven:3-jdk-8
artifacts:
paths:
- target/generated-sources-cmake/
script:
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings settings.xml
- cat target/site/jacoco/index.html
except:
- master
\ No newline at end of file
- master
IntegrationJob:
stage: integration
image: ros:kinetic
dependencies:
- BranchJobLinux
except:
- master
script:
- apt-get update
- apt-get install -y openjdk-8-jdk maven wget unzip
Please register or sign in to reply
- apt-get install -y g++
- apt-get install -y libopenblas-dev libhdf5-serial-dev
- export PATH="/usr/lib/x86_64-linux-gnu/:${PATH}"
- wget -O /root/armadillo.zip -q --show-progress "https://rwth-aachen.sciebo.de/s/igDWzLpdO5zYHBj/download?path=%2Fubuntu%2F18.10.24-armadillo-linux&files=armadillo-8.500.1-linux.zip"
- unzip /root/armadillo.zip -d /root/
- export Armadillo_HOME=/root/armadillo-8.500.1-linux
- source /opt/ros/kinetic/setup.bash
- ./src/test/resources/TargetCompilation.sh
\ No newline at end of file
  • @kusmenko What do you think of this way of integration-testing the generated middleware projects(checks if compilation passes)

  • that looks indeed like a good idea. I will have a closer look tomorrow.

  • Do you want to create an example app under applications?

  • Sure, I can work on that next week. Should we port the cooperative intersection or create a new component/system?

  • no need for a new one, the intersection is a good one.

    just tried to run the integration stage, but it had a problem pulling the docker image. is the name correct?

  • I just added the registery url to the image name, hopefully that will fix it

  • The image is now found, but i get ERROR: Job failed (system failure): timedout waiting for pod to start again. Any fixes/workarounds to that?

  • I have seen that one before which was fixed by just restarting the job.. seems to work here too

  • Jobs (re)started by you seem to use a different runner. Mine is SE Runner (#25), yours is MDSE Runner (#1436).

    => Restarting only fixes the issue with different rights(see https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMAM2Middleware/-/jobs/269082)

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment