Revision 9f4d5f85f8fa1d2bad440c94bc29851a5b95d33a authored by David Turner on 26 May 2021, 18:23:49 UTC, committed by GitHub on 26 May 2021, 18:23:49 UTC
Includes the full cluster allocation explain output in the assertion
failure message so we can see the state of the world on a failure.

Relates #72849
1 parent 9e52b29
Raw File
make-branch-config.sh
#!/bin/bash

if [ -z "$BRANCH" ] ; then
    echo "BRANCH is unset"
    exit 1
fi

folders=("jobs" "templates" "views")
for folder in "${folders[@]}"
do
  rm -Rf .ci/$folder;
  mkdir -p .ci/$folder
  cp -r .ci/${folder}.t/* .ci/$folder/
  sed -i "s/%BRANCH%/${BRANCH}/g" .ci/$folder/*.yml
done
back to top