OpenSearch/.ci/make-branch-config.sh
Alpar Torok fb685adc94 Move periodic job to ES repo (#48570)
* Move periodic job to ES repo

This change kickstarts the process of moving CI job definitions to this
repo.

* Added a minimal readme to provide pointers to the documentation

* Update .ci/README.md

Co-Authored-By: Rory Hunter <pugnascotia@users.noreply.github.com>

* Update .ci/README.md

Co-Authored-By: Rory Hunter <pugnascotia@users.noreply.github.com>

* point to main repo

* PR review

* Add link to JJBB
2019-11-13 17:12:42 +02:00

12 lines
175 B
Bash
Executable File

#!/bin/bash
if [ -z "$BRANCH" ] ; then
echo "BRANCH is unset"
exit 1
fi
rm -Rf .ci/jobs
cp -r .ci/jobs.t .ci/jobs
sed -i "s/%BRANCH%/${BRANCH}/g" .ci/jobs/*.yml