Page MenuHomeVyOS Platform

Make the master branch a synonym of current for the purpose of running Jenkins jobs
Closed, ResolvedPublicBUG

Description

The reason we are using the "current" branch where git's default is master is that the master branch of the original codebase was messed up beyond any repair.
It was never intended to be permanent, and the plan is to move away from it to using master like everyone else as we get rid of the old packages.

However, we need a solution for correctly pushing packages built from the master branch to the repository of the "current" release.

Details

Difficulty level
Unknown (require assessment)
Version
1.0
Why the issue appeared?
Will be filled on close

Event Timeline

dmbaturin claimed this task.

Just tested it on hvinfo and it seems to work as expected. The change is in the jenkins script,

RELEASE=`echo $GIT_BRANCH | sed 's/origin\//* /g' |sed -n 's/^\* \(.*\)$/\1/p'`
if [ "$RELEASE" == "master" ]; then
    RELEASE="current"
fi

Why not "repairing" the master branch by first deleting its content in one commit and the merging current into master?

dmbaturin mentioned this in Unknown Object (Ponder Answer).May 8 2018, 10:57 AM