Page MenuHomePhabricator

Include MITK-ProjectTemplate in MITK Differential builds
Open, NormalPublic

Description

Continuous and nightly builds include the MITK-ProjectTemplate from now on. I did not yet add it to the Differential builds as it requires to completely clear the workspace in these cases and we have currently Diffentials in the pipeline.

Event Timeline

kislinsk triaged this task as Normal priority.Jan 18 2021, 3:07 PM
kislinsk created this task.

Started with Ubuntu 18.04 and 20.04 clients by adding the following script before the actual build. This is roughly what we are doing already in the Dashboard script.

#!/usr/bin/env bash
if [ ! -d src/MITK-ProjectTemplate ]; then
  git -C src clone --branch=develop https://phabricator.mitk.org/source/mitk-projecttemplate.git MITK-ProjectTemplate
else
  git -C src/MITK-ProjectTemplate fetch --tags origin develop
  git -C src/MITK-ProjectTemplate diff --quiet HEAD FETCH_HEAD || git -C src/MITK-ProjectTemplate reset --hard FETCH_HEAD
fi