Commit 8280add0 authored by Lance Albertson's avatar Lance Albertson

Cinc 16

parent 0933ed15
Pipeline #129410666 passed with stages
in 67 minutes and 4 seconds
......@@ -9,7 +9,7 @@ stages:
variables:
ORIGIN: https://github.com/chef/chef.git
REF: chef-15
REF: master
CHANNEL: unstable
patch:
......
......@@ -20,8 +20,8 @@
git_patch() {
if [ -n "${2}" ] ; then
CINC_BRANCH="${2}"
elif [ "${REF}" == "master" -o "${REF}" == "chef-15" -o -z "${REF}" ] ; then
CINC_BRANCH="stable/cinc"
elif [ "${REF}" == "master" -o "${REF}" == "master" -o -z "${REF}" ] ; then
CINC_BRANCH="stable/cinc-16"
else
CINC_BRANCH="stable/cinc-${REF}"
fi
......@@ -36,8 +36,8 @@ set -ex
# remove any previous builds
rm -rf chef omnibus-software
git config --global user.email || git config --global user.email "[email protected]"
echo "Cloning ${REF:-chef-15} branch from ${ORIGIN:-https://github.com/chef/chef.git}"
git clone -q -b ${REF:-chef-15} ${ORIGIN:-https://github.com/chef/chef.git}
echo "Cloning ${REF:-master} branch from ${ORIGIN:-https://github.com/chef/chef.git}"
git clone -q -b ${REF:-master} ${ORIGIN:-https://github.com/chef/chef.git}
cd chef
git_patch chef
cd omnibus
......
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