move jenkins.bac.o to the new apache infrastructure

choice of tool framework:

  1. github triangle pull-from-github/push-to-apache with our tool in between to trigger it
  2. github pull request builder plugin in jenkins
    1. two different versions - closed source version is used at apache
  3. gerrit; great functionality and flexibility but a few heavy downsides - direct commits are dangerous - maintenance is serious work
  4. review board extending (not favoured in the workgroup)

a combination of 1 and 2 seems to be the best fit for the hospitality and quality principles

the committee will start using this as a proof of concept and next propose it on the list.

a first shot at the procedure for applying a git pull request admission worflow:

 

wip a tool for committers to use with git pull
# check pwd for .git contents
if git status 2>&1 >/dev/null
then
  git pull
else
  git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git
  cd cloudstack
fi
# check branch and pull params better checking and user friendliness required
PULL_URL=$1
SOURCE_BRANCH=$2
TARGET_BRANCH=$3
git checkout $TARGET_BRANCH
git pull $PULL_URL $SOURCE_BRANCH
git push origin $TARGET_BRANCH 
  • No labels